* DOS-style filename in emacs 21.1 mode-line
@ 2003-03-23 21:07 John Woodruff
2003-03-24 4:28 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: John Woodruff @ 2003-03-23 21:07 UTC (permalink / raw)
On one occasion only -- when I drag & drop a file onto the Icon of a
not-started emacs -- the file name is written in the mode-line in the
old DOS notation of all-caps with 8 chars.
Every other idiom for finding a file represents the name with full
charset.
I am running the manufactured emacs from emacs-21.1-fullbin-i386 on
windows 98.
Suggestion to resolve this very minor infelicity?
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DOS-style filename in emacs 21.1 mode-line
2003-03-23 21:07 DOS-style filename in emacs 21.1 mode-line John Woodruff
@ 2003-03-24 4:28 ` Eli Zaretskii
2003-03-24 13:05 ` Benjamin Riefenstahl
[not found] ` <mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2003-03-24 4:28 UTC (permalink / raw)
> From: jpwoodruff@irisinternet.net (John Woodruff)
> Newsgroups: gnu.emacs.help
> Date: 23 Mar 2003 13:07:57 -0800
>
> On one occasion only -- when I drag & drop a file onto the Icon of a
> not-started emacs -- the file name is written in the mode-line in the
> old DOS notation of all-caps with 8 chars.
>
> Every other idiom for finding a file represents the name with full
> charset.
>
> I am running the manufactured emacs from emacs-21.1-fullbin-i386 on
> windows 98.
>
> Suggestion to resolve this very minor infelicity?
I don't think you can do anything, short of upgrading your OS. This
is a misfeature of Windows.
What program does the icon have in its "command" window?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DOS-style filename in emacs 21.1 mode-line
2003-03-23 21:07 DOS-style filename in emacs 21.1 mode-line John Woodruff
2003-03-24 4:28 ` Eli Zaretskii
@ 2003-03-24 13:05 ` Benjamin Riefenstahl
[not found] ` <mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Benjamin Riefenstahl @ 2003-03-24 13:05 UTC (permalink / raw)
Hi John,
jpwoodruff@irisinternet.net (John Woodruff) writes:
> On one occasion only -- when I drag & drop a file onto the Icon of a
> not-started emacs -- the file name is written in the mode-line in
> the old DOS notation of all-caps with 8 chars.
> [...]
> I am running the manufactured emacs from emacs-21.1-fullbin-i386 on
> windows 98.
file-truename does convert from short names to long names, but
plugging it into Emacs in the right place is a problem. Reading the
source, there doesn't seem a convinient hook. I'd suggest patching
the appropriate routine by adding this to your ~/.emacs:
(defadvice command-line-normalize-file-name
(before benny-command-line-normalize-file-name (file) activate)
(setq file (file-truename file)))
This works with 21.2.1 and Win95, I hope it works with 21.1, too.
Hope this helps, benny
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>]
* Re: DOS-style filename in emacs 21.1 mode-line
[not found] ` <mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>
@ 2003-03-25 4:40 ` John Woodruff
0 siblings, 0 replies; 4+ messages in thread
From: John Woodruff @ 2003-03-25 4:40 UTC (permalink / raw)
"Eli Zaretskii" <eliz@elta.co.il> wrote in message news:<mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>...
> > From: jpwoodruff@irisinternet.net (John Woodruff)
> > Newsgroups: gnu.emacs.help
> > Date: 23 Mar 2003 13:07:57 -0800
> >
> > On one occasion only -- when I drag & drop a file onto the Icon of a
> > not-started emacs -- the file name is written in the mode-line in the
> > old DOS notation of all-caps with 8 chars.
> > ....
> > Suggestion to resolve this very minor infelicity?
>
> I don't think you can do anything, short of upgrading your OS. This
> is a misfeature of Windows.
OP here: I'm not at all sure which direction is "up". I'll learn to
live with it...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-25 4:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-23 21:07 DOS-style filename in emacs 21.1 mode-line John Woodruff
2003-03-24 4:28 ` Eli Zaretskii
2003-03-24 13:05 ` Benjamin Riefenstahl
[not found] ` <mailman.3547.1048480557.21513.help-gnu-emacs@gnu.org>
2003-03-25 4:40 ` John Woodruff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).