I define an environment variable called EMACS, assign the variable part of the
installation path to it and then use it to set up PATH and various customised
shortcuts. For example, on this computer (which I haven't upgraded yet) I have
EMACS set to C:\NTEmacs\emacs-23.2 and PATH includes %EMACS%\bin. (Of course, if
you use backslashes in a quoted context you need to double them; what I have
shown is how they appear in the System Properties dialogue boxes.)

 

Using environment variables works OK in shortcuts but they don't seem to get
expanded in file associations, which is a pity. (Working out how to define file
associations so that they automatically pick up the right version of
emacsclientw without undesirable side effects is still work in progress!)

 

Francis

 

From: help-emacs-windows-bounces+f.j.wright=qmul.ac...@gnu.org
[mailto:help-emacs-windows-bounces+f.j.wright=qmul.ac...@gnu.org] On Behalf Of
Kraai, Matt
Sent: Monday, March 21, 2011 3:39 PM
To: help-emacs-windows@gnu.org
Cc: rampra...@gnu.org
Subject: [h-e-w] Instructions for upgrading GNU Emacs on Windows

 

Hi,

 

I install Emacs to C:\Program Files\emacs-VERSION.  When I upgrade to a new
version, I have to make some changes to correct paths that include the previous
version.  Would you please include instructions in the FAQ for how to upgrade?
Or is it better to install Emacs in a version-invariant directory?

 

Here are the steps that I performed in upgrading from 23.2 to 23.3:

 

 * Change the Emacs version number in the ALTERNATE_EDITOR system environment
variable.

 * Change the Emacs version number in the PATH user environment variable.

 * Run C:\Program Files\emacs-VERSION\bin\addpm.exe.

 * Change the "Start in" directory my My Documents folder.

 * Use regedit to delete "My
Computer\HKEY_CLASSES_ROOT\Applications\emacsclientw.exe".

 

Thanks for providing GNU Emacs for Windows,

 

Matt

 

  _____  


Matt Kraai
Program Engineer III
Software Engineering

Abbott Medical Optics Inc.
1700 E. St. Andrew Place
Santa Ana, CA 92705
United States

Ph: (714) 247 8848
Fax: (714) 247 8678
 <mailto:matt.kr...@amo.abbott.com> matt.kr...@amo.abbott.com
 <http://www.abbottmedicaloptics.com> www.abbottmedicaloptics.com



  _____  


This communication may contain information that is proprietary, confidential, or
exempt from disclosure. If you are not the intended recipient, please note that
any other dissemination, distribution, use or copying of this communication is
strictly prohibited. Anyone who receives this message in error should notify the
sender immediately by telephone or by return e-mail and delete it from his or
her computer.

 

<<image001.gif>>

Reply via email to