[Top][All Lists]

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

RE: How to make reverse video the default behavior under Windows

From: Ben Key
Subject: RE: How to make reverse video the default behavior under Windows
Date: Wed, 2 Oct 2002 08:52:30 -0400

As I said in my earlier reply, I had already tried adding 

        (setq inverse-video t)


        (setq default-frame-alist
              (cons (cons 'reverse t) default-frame-alist))

to my .emacs and neither one works.

However, your mention of the
line in .Xdefaults in conjunction with a suggestion given
in a message by Juanma Barranquero []

 You can always manually set the foreground color to
 white (or light grey) and the background to black in
 the registry.
 In HKEY_LOCAL_MACHINE\Software\Gnu\Emacs I have values:

 Emacs.Background = "black"
 Emacs.Foreground = "light grey"

lead me to the solution to my problem.

I added a REG_SZ value "emacs.reverseVideo" to
equal to "true".

This worked perfectly.

I would like to thank you both.

-----Original Message-----
From: Kevin Rodgers []
Sent: Tuesday, October 01, 2002 07:32 PM
Subject: Re: How to make reverse video the default behavior under

Ben Key wrote:

> I love to use Emacs in the reverse-video mode.  It makes it much easier
> me to see the Emacs display with my failing vision.
> I do have one problem though.  The only way I know to get Emacs to start
> this mode is to run it from the command line using the --reverse-video
> command line switch (or one of the various other command line switches
> cause Emacs to start in this mode).  This is fine except for when Emacs is
> launched via the VisEmacs Visual Studio add in.
> I cannot figure out how to make Emacs go into reverse-video mode by
> Is it possible to do this from my .emacs file or via an environment
> variable?  If it is not possible, how can I add this capability to Emacs?

The "Display Vars" node of the manual suggests putting
        (setq inverse-video t)
in your .emacs file.

The "Colors X" node suggests putting
in your .Xdefaults or .Xresources file, although I suspect Windows has some
other mechanism (the registry?).

Finally, startup.el and x-win.el indicate that the --reverse-video option
does this:
        (setq default-frame-alist
              (cons (cons 'reverse t) default-frame-alist))

<a href="mailto:&lt;kevinr&#64;;";>Kevin Rodgers</a>

Help-gnu-emacs mailing list

reply via email to

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