help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Multiple versions of Emacs under Windows; How to specify which E


From: MBR
Subject: [h-e-w] Multiple versions of Emacs under Windows; How to specify which Emacs should run when file is double-clicked?
Date: Tue, 04 Jan 2011 11:43:18 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

I have both Emacs 21.3.1 and Emacs 23.1.1 installed under Windows XP.  When I double-click on a ".txt" file, it runs Emacs 21.3.1.  The usual way to change this under Windows XP is to:
  1. right-click on a file of the desired type (".txt" in this case),

  2. select "Properties",

  3. click the "Change" button next to "Opens With",

  4. in the "Open With" dialog box, if the program you want isn't listed under "Programs", click "Browse" and select the executable you want to handle that file type.  For Emacs, you have to select runemacs.exe rather than emacs.exe, or an MS-DOS command window will open every time you run Emacs.

Right now, if I double-click on a ".txt" file, it runs Emacs 21.3.1.  I've tried the procedure above, selecting runemacs.exe for Emacs 23.1.1, but double-clicking on a ".txt" file still opens it in the old version (21.3.1).

It used to be that to install Emacs, you had to run addpm.exe, and that executable is still provided.  So I tried running the version of addpm.exe in the 23.1.1 directory.  But that didn't change anything.

On a Windows XP machine with multiple versions of Emacs installed, how can I specify which version is to be run when I double-click on a ".txt" file?

--
Mark Rosenthal
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]