bug-gnu-emacs
[Top][All Lists]
Advanced

[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: 10 Oct 2001 13:05:27 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> Jari Aalto+mail emacs writes:

> In Windows, it is possible to create shortcuts that refer to the
> original files.

But there's much more in a shortcut than there is in a symbolic link.

> The cygwin development team already uses windows shortcuts as
> substitute for native Unix symlinks.

Really?  I thought they used their own mechanism to simulate symbolic
links on Windows.  A Cygwin symlink file (created by "ln -s") even has
a magic number ("!<symlink>" IIRC) which is not Microsoft's style.

> But if I try to load the same file with Emacs 20.7, the link file
> (.mailcap.lnk) itself is loaded and displayed in binary format. The
> binary format is easily parseable and support in 21.x could be
> easily provided at C-level.

Do you know what the format is?  Or which MFC call is used to
determine that the file is a shortcut and read the referred to file?

Actually, if it can be parsed and because there is much more in a
shortcut than just a pointer to a file (type, location, where to
start, how to run, shortcut key, etc.), I think it would be better if
Emacs had a shortcut-mode which would parse the binary, display the
results in text, and allow (careful) editing of the information.

-- 
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]