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: 17 Oct 2001 11:13:49 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> Raymond Zeitler writes:
> address@hidden (David Masterson) writes:
>> >>>>> Eli Zaretskii writes:

>> > You seem to assume that the shortcut's contents is static and,
>> > once recorded in the shortcut, never changes.  But that's not
>> > true: the shortcut's target and other attributes can change
>> > outside Emacs's control, in which case the info Emacs holds will
>> > be stale.
>> 
>> If you're editting the shortcut file, then this might be an issue
>> (in the same sense as any other file being changed under you).  If
>> you're simply reading thru the shortcut to the referred file, then,
>> after the resolution, who cares?

> One thing I've noticed about shortcuts to documents is that when you
> open the target using the shortcut, and then save the document, the
> Last Modified date on /both/ the shortcut /and/ the target are
> touched.  However, if you open and save the target without using the
> shortcut, only the date on the target is touched.  So in order to
> mimic this behavior, Emacs would need to touch the shortcut used to
> visit a file if that file's buffer were modified and then saved back
> to that file.

Hmmm.  8-(

A guess on why this might be is that Windows is attempting to make
sure that the shortcut continues to point to the file after it is
saved.  What else would it be modifying?

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