From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: How to make reverse video the default behavior under Windows Date: Tue, 01 Oct 2002 17:31:52 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3D9A3068.3040204@ihs.com> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033515957 4391 127.0.0.1 (1 Oct 2002 23:45:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 23:45:57 +0000 (UTC) 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 17wWi9-00018G-00 for ; Wed, 02 Oct 2002 01:45:54 +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 17wWiL-0006yc-00; Tue, 01 Oct 2002 19:46:05 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1033515110 13800236 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!feed.ac-versailles.fr!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Xref: nntp.stanford.edu gnu.emacs.help:105617 Original-To: help-gnu-emacs@gnu.org 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:2164 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2164 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