bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modeline face under a tty


From: Ehud Karni
Subject: Re: modeline face under a tty
Date: Fri, 2 Nov 2001 12:18:26 +0200

On Thu, 01 Nov 2001 23:15:32 +0200, Eli Zaretskii <eliz@is.elta.co.il> wrote:
> 
> > From: "Edward O'Connor" <ted@oconnor.cx>
> > 
> > Hmm. It seems that, as an interim solution, I can explicitly tell
> > Emacs to do the right thing with :inverse-video nil, but this is
> > problematic because, if for one reason or another I find myself on a
> > TTY incapable of color, I'd like the inverse video stuff to kick in.
> 
> Yes, this is part of the issue, as I wrote earlier.

Well, my solution is to keep the inverse video attribute and define the
reversed colors. The problem of reversed color on X is solved by:

(set-face-foreground 'mode-line
           (if window-system "white"    "magenta"))
(set-face-background 'mode-line
           (if window-system "magenta"  "white"))

It may need a tweaking for MS-DOG, Eli what say you ?

Ehud.


BTW. Why was the mode line face name changed from "modeline" in Emacs
     19, 20 to "mode-line" ?


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.il    http://www.simonwiesel.co.il



reply via email to

[Prev in Thread] Current Thread [Next in Thread]