[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Background mode (was: Diff mode faces)
From: |
Juri Linkov |
Subject: |
Background mode (was: Diff mode faces) |
Date: |
Tue, 21 Jun 2005 19:28:02 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> I see there is a bug not caused by my patch:
>>
>> emacs -q -nw -rv
>>
>> sets the background mode to light on xterm. But since -rv switches
>> foreground and background, it should switch the background mode too
>> from light to dark on xterm.
>
> I think this is a bug.
There are also other ways to reproduce this bug, for example, running
Emacs without -rv option on xterm and evaluating (invert-face 'default).
Every time it evaluated, it switches the background mode to a
reversed value: with real black background it sets the light
background mode; with white background - to dark mode. That's because
xterm presence is checked only once in startup.el (with setting the
mode to light), but any subsequent call of `frame-set-background-mode'
ignores the fact that Emacs runs on xterm. On rxvt (invert-face 'default)
doesn't change the background mode at all because rxvt.el sets the
value of `frame-background-mode' permanently.
--
Juri Linkov
http://www.jurta.org/emacs/
- Diff mode faces, Juri Linkov, 2005/06/17
- Re: Diff mode faces, Eli Zaretskii, 2005/06/17
- Re: Diff mode faces, Juri Linkov, 2005/06/18
- Re: Diff mode faces, Randal L. Schwartz, 2005/06/18
- Re: Diff mode faces, Eli Zaretskii, 2005/06/18
- Re: Diff mode faces, Juri Linkov, 2005/06/19
- Re: Diff mode faces, Eli Zaretskii, 2005/06/19
- Re: Diff mode faces, Juri Linkov, 2005/06/20
- Re: Diff mode faces, Eli Zaretskii, 2005/06/20
- Background mode (was: Diff mode faces),
Juri Linkov <=
- Re: Background mode, Juri Linkov, 2005/06/26
- Re: Background mode, Richard M. Stallman, 2005/06/27
- Re: Background mode, Juri Linkov, 2005/06/27
- Re: Background mode, Richard M. Stallman, 2005/06/28
- Re: Background mode, Stefan Monnier, 2005/06/29
- Re: Background mode, Miles Bader, 2005/06/29
- Re: Background mode, Stefan Monnier, 2005/06/30
- Re: Background mode, Juri Linkov, 2005/06/27
- Re: Diff mode faces, Juri Linkov, 2005/06/19
- Re: Diff mode faces, Luc Teirlinck, 2005/06/19