[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)
and
(setq default-frame-alist
(cons (cons 'reverse t) default-frame-alist))
to my .emacs and neither one works.
However, your mention of the
emacs.reverseVideo:true
line in .Xdefaults in conjunction with a suggestion given
in a message by Juanma Barranquero [lektu@terra.es]
"
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
HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Emacs and set it
equal to "true".
This worked perfectly.
I would like to thank you both.
-----Original Message-----
From: Kevin Rodgers [mailto:kevinr@ihs.com]
Sent: Tuesday, October 01, 2002 07:32 PM
To: help-gnu-emacs@gnu.org
Subject: Re: How to make reverse video the default behavior under
Windows
Ben Key wrote:
> I love to use Emacs in the reverse-video mode. It makes it much easier
for
> 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
in
> 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
that
> 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
default.
> 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
emacs.reverseVideo:true
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
simply
does this:
(setq default-frame-alist
(cons (cons 'reverse t) default-frame-alist))
--
<a href="mailto:<kevinr@ihs.com>">Kevin Rodgers</a>
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs