all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Key <BenK@FreedomScientific.com>
Cc: "GNU Emacs Help (E-mail)" <help-gnu-emacs@gnu.org>
Subject: RE: How to make reverse video the default behavior under Windows
Date: Wed, 2 Oct 2002 08:52:30 -0400	[thread overview]
Message-ID: <762A7BB74D6AD51195EF00B0D0AA16602C37F5@STPETE> (raw)

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:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2002-10-02 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 12:52 Ben Key [this message]
     [not found] <mailman.1033503318.27966.help-gnu-emacs@gnu.org>
2002-10-01 23:31 ` How to make reverse video the default behavior under Windows Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2002-10-01 20:00 Ben Key
2002-10-02  6:27 ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=762A7BB74D6AD51195EF00B0D0AA16602C37F5@STPETE \
    --to=benk@freedomscientific.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.