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: Eli Zaretskii
Subject: Re: 21.x feature request: windows shortcut support
Date: Thu, 11 Oct 2001 13:40:42 +0200

On Thu, 11 Oct 2001, Kai =?iso-8859-1?q?Gro=DFjohann?= wrote:

> It might be possible to write a filename handler which matches all
> filenames.  Given the string "foo", the handler could look if the file
> "foo.lnk" exists and then DTRT.  If "foo.lnk" does not exist, it could
> fall back to the default behavior.

Apart from the slow-down this would introduce into file-related 
operations, I'm afraid this could be tricky, because testing whether a 
file exists is done with another primitive that needs to be aware of 
shortcuts, and also because you could have a shortcut whose file name is 
foo.lnk.lnk.lnk.  You could easily infloop because of these problems.

Like I said: file-name handlers are not the suitable vehicle for solving 
filesystem problems.



reply via email to

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