[Top][All Lists]

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

RE: [h-e-w] EmacsW32 renames buffers with old Windows shortened filename

From: Michael Hotchin
Subject: RE: [h-e-w] EmacsW32 renames buffers with old Windows shortened filenames.
Date: Thu, 21 May 2009 20:44:57 -0700

I suspect something like this might be the problem:
%L is long file names.  
%1 is long file names IF  
* Explorer can find the exe file (it does not look very hard)  
* The file header says it is Win 95 aware Win16 exe, or  
* It is a 32 bit program  
Else %1 will be a short name.  


So, this is probably not an EMACS problem, but rather a problem with the
file association, or with a helper problem used to invoke EMACS.

So, try replacing '%1' in 'ftype txtfile' with '%L'.

        Michael H.


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Gayard, Leonel
Sent: Thursday, May 21, 2009 7:10 AM
To: address@hidden
Subject: [h-e-w] EmacsW32 renames buffers with old Windows shortened

I've just installed the patched version of EmacsW32 from

I find it very nice that .txt files are associated wth Emacs, so that when
you click on one, emacsclient opens it in the running instance of Emacs.

Problem is, for some reason, the buffer is renamed with the old-style
shortened file names, so, for example, the buffer with file
"activities-2008.txt" is renamed to "ACTIV~1.TXT", which I don't like.

How do I get EmacsW32 not to rename the buffer, and use the whole file name
as the buffer name instead ?

BTW: I've asked this same exact question on, but I guess
that this mailing list might yield better results. Anyway, feel free to post
your answer there as well, I'll gladly vote it up.

Leonel Aguilar Gayard

GFT Iberia Solutions
Sorocaba, São Paulo - Brazil

reply via email to

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