[Top][All Lists]

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

Re: 21.x feature request: windows shortcut support

From: David Masterson
Subject: Re: 21.x feature request: windows shortcut support
Date: 11 Oct 2001 10:03:19 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> Eli Zaretskii writes:

> Besides, you seem to be assuming that this will only be used in
> visiting files (otherwise I don't understand how can
> find-alternate-file help).  That assumption is probably wrong: Emacs
> has functions that deal with files but do not visit those files.
> For example, what about write-region?

Hmmm.  Good point.  I've never used write-region, so it didn't occur
to me.  I thought my idea would handle the _majority_ of cases for the
general Emacs user (Elisp programmers are another problem entirely).

> The shortcuts do indeed end in `.lnk', but the crucial detail you
> are missing is that they are not _referenced_ with that extension
> explicitly mentioned.  It's like program invocation: you type "foo
> RET", but expect `foo.exe' to be invoked.

> So I think any of the Emacs mechanisms which are based on file-name
> patterns will not be able to handle this.

Well, the issue of treating "file" as whichever of (file.lnk,
file.exe, file.bat, etc.) is appropriate is probably too much of a
change to the Emacs way.  Even Windows programs get confused if you
enter a filename without the extension and there are several to choose
from.  Some Windows programs will make assumptions (like Notepad will
assume .txt), but Emacs doesn't have to.

David Masterson                dmaster AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA

reply via email to

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