[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [h-e-w] EmacsW32 renames buffers with old Windows shortened filename
RE: [h-e-w] EmacsW32 renames buffers with old Windows shortened filenames.
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'.
[mailto:address@hidden On Behalf Of
Sent: Thursday, May 21, 2009 7:10 AM
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 stackoverflow.com, 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