[ESS] R: R: Xemacs icons are not shown on win2000
Kiermeier, Andreas (PIRSA - SARDI)
Kiermeier.Andreas at saugov.sa.gov.au
Tue Mar 27 01:24:41 CEST 2007
When you say Makefile, I assume that you mean an actual file called
"Makefile" without an extension? If so, then (I think) you won't be able
to make an association with that file as it doesn't really have a type,
only a name. (See the PS at the bottom for an extra comment)
However, a workable option is to put Xemacs in your send to list (right
click menu) - that way you can send any file to Xemacs. To do this, go
to the following folder, where <your profile name> needs to be replaced
with the actual name of your profile.
C:\Documents and Settings\<your profile name>\SendTo
* In this folder right click on some blank space on the right hand pane
of Windows Explorer. And select "New" and then "short cut".
* In the dialog box that comes up "Browse for the xemacs.exe file",
click OK and then give it some description, e.g. "Xemacs".
Now, when you right click on ANY file you can "send it" to Xemacs.
Note: Richard Heiberger's and my comment about gnuemacs / NTEmacs are
again valid here - use gnuclientw.exe or emacsclient to open the file in
an existing instance of Emacs. As noted previously, I don't know how
Xemacs deals with this.
Hope this helps.
PS: In my previous email I talked about associating the "Open" action
with Xemacs. You can add additional actions, such as "Run" and "Edit"
(and probably just about anything else) and use other commands. For
example, you could associate a "Run" command with a TEX file, which runs
LaTeX on the file.
From: David Scott [mailto:d.scott at auckland.ac.nz]
Sent: Monday, 26 March 2007 22:18
To: Kiermeier, Andreas (PIRSA - SARDI)
Cc: 8rino-Luca Pantani; ESS
Subject: RE: [ESS] R: R: Xemacs icons are not shown on win2000
Thanks. I had tried this but the icon being in the .exe and the clinking
on "Advanced" had eluded me.
I am now able to get the icons I want to show up for the various file
types, which is excellent.
Since you have been so helpful, maybe you can explain something else to
Suppose I have a file which I want to open with XEmacs. To be explicit,
suppose I have a Makefile. Being a text file, I want to edit it using
XEmacs. I double-click on it and am asked to choose a program to open
the file. Now first of all, XEmacs is not on the long list of programs
which I could use. Then if I try and browse for the program, I go to
xemacs.exe click on it and the box saying open. But xemacs.exe doesn't
get associated with my Makefile. It is like xemacs.exe is a non-program.
On Mon, 26 Mar 2007, Kiermeier, Andreas (PIRSA - SARDI) wrote:
> I'm not running Xemacs, but GNU or Ntemacs on Windows XP, but don't
> think this matters. You've probably done some of the following steps
> already, but I include them for completeness.
> * In Windows Explorer, click on the Tools menu, and "Folder
> * Click the "File Types" tab
> * If the "TEX" extension exists, then click once on it (see below if
> it doesn't).
> * In the options below the big list, click on "Advanced"
> * In the dialog box that opens, click on the "Change Icon" button.
> * In the dialog that pops up, click on "Browse".
> * The icon should be embedded in the Xemacs.exe executable file, so
> navigate to the folder where your Xemacs installation is (probably
> within the bin folder).
> If the TEX extension does not exist:
> * Click on the "New" button.
> * Enter TEX as the extension (leave the advanced options)
> * Now follow the steps above, but also perform the following steps
> * While in the "Edit File Type" dialog press the "New..." button
> * For Action type in "Open" (no quotes) and for the Application to use
> click on the "Browse" button and again find the Xemacs executable you
> want to use to open the file (Note, in Ntemacs/GNU Emacs on Windows I
> use "gnuclientw.exe" rather than "emacs.exe" or "runemacs.exe" so I
> can use gnuserver and have additional file opened in an existing emacs
> Hope this help.
> Dr Andreas Kiermeier
> Senior Statistician
> SARDI FOOD INNOVATION & SAFETY
> 33 Flemington Street, Glenside, SA, 5065
> Ph: +61 8 8207 7884
> Fax: +61 8 8207 7854
> Mob: 0423 028 565
> Email: Kiermeier.Andreas at saugov.sa.gov.au
> Web: http://www.sardi.sa.gov.au/
> If you would like to correspond with me in a secure way, using public
> key encryption, please contact me directly for details of my GPG
> public key or visit the SARDI website, where you can download my
> public key from my personal staff page.
> The information in this e-mail and attachments (if any) may be
> confidential and/or legally privileged. If you are not the intended
> recipient, any disclosure, copying, distribution or action taken is
> prohibited. SARDI, The South Australian Research and Development
> Institute, is the research division of Primary Industries and
> -----Original Message-----
> From: ess-help-bounces at stat.math.ethz.ch
> [mailto:ess-help-bounces at stat.math.ethz.ch] On Behalf Of David Scott
> Sent: Monday, 26 March 2007 15:10
> To: 8rino-Luca Pantani
> Cc: ESS
> Subject: Re: [ESS] R: R: Xemacs icons are not shown on win2000
> I have a lot of trouble with Windows XP trying to create file
> associations to XEmacs and having the icons show up. Just one problem
> I would like to fix would be to have the XEmacs icon show up when
> viewing the contents of a folder.
> I have the file association so that .txt and .tex files are associated
> with XEmacs, but the XEmacs icon doesn't display.
> The answer below doesn't really help me although it seems to be about
> much the same question, because I can't find the icon file for XEmacs
> I would appreciate any assistance on this admittedly small but
> nonetheless annoying problem.
> David Scott
> On Wed, 7 Mar 2007, 8rino-Luca Pantani wrote:
>> Surfing the net I found this
>> I did not have a .ico file under C:\Programs\XEmacs, that was present
>> in the old version.
>> Now it is working properly.
>> I already tried this, but for some reason the "advanced" button is
>> shown, and in its place thare's only a "resume" button.
>> All the other extensions show the "advanced" button, but .txt and .R
>> ones doesn't.
>>> On windows xp Start => Settings => Folder Options => File types tab
>>> then choose the R extension, Advanced button and then change icon
>>> button. I would assume Windows 2000 would be relatively similar.
>> 8rino-Luca Pantani wrote:
>>> Thanks, I already know, but unfortunately it do not works.
>>> The .R files are associated with xemacs, i.e. double clicking on
>> starts xemacs, mozilla > with the R help and all the rest and the
>> system is working as usual.
>>> Win 2000 do not let me to change the icons of .R files (as well as
>> files for example),
>>> even if the association is working.
>>>> Right-click one of the files, choose Properties, then click the
>>>> Change button and choose xemacs.
>> ESS-help at stat.math.ethz.ch mailing list
> David Scott Department of Statistics, Tamaki Campus
> The University of Auckland, PB 92019
> Auckland 1142, NEW ZEALAND
> Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
> Email: d.scott at auckland.ac.nz
> Graduate Officer, Department of Statistics Director of Consulting,
> Department of Statistics
> ESS-help at stat.math.ethz.ch mailing list
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland 1142, NEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
Email: d.scott at auckland.ac.nz
Graduate Officer, Department of Statistics Director of Consulting,
Department of Statistics
More information about the ESS-help