From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ben Key Newsgroups: gmane.emacs.help Subject: RE: How to make reverse video the default behavior under Windows Date: Wed, 2 Oct 2002 08:52:30 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <762A7BB74D6AD51195EF00B0D0AA16602C37F5@STPETE> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: main.gmane.org 1033662029 2522 127.0.0.1 (3 Oct 2002 16:20:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 16:20:29 +0000 (UTC) Cc: "GNU Emacs Help (E-mail)" Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17x8iB-0000eX-00 for ; Thu, 03 Oct 2002 18:20:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17x8iX-0001Bp-00; Thu, 03 Oct 2002 12:20:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17wjBv-0004Y5-00 for help-gnu-emacs@gnu.org; Wed, 02 Oct 2002 09:05:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17wjBs-0004Xq-00 for help-gnu-emacs@gnu.org; Wed, 02 Oct 2002 09:05:26 -0400 Original-Received: from stpete.freedomscientific.com ([209.101.206.132] helo=stpete.FreedomScientific) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wjBs-0004Xm-00 for help-gnu-emacs@gnu.org; Wed, 02 Oct 2002 09:05:24 -0400 Original-Received: by STPETE with Internet Mail Service (5.5.2656.59) id <4BN0SG9X>; Wed, 2 Oct 2002 08:52:30 -0400 Original-To: "'kevinr@ihs.com'" , "'lektu@terra.es'" X-Mailer: Internet Mail Service (5.5.2656.59) Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2184 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2184 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)) -- Kevin Rodgers _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs