emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r116230: Fix bug #16558 with w32-shell-execute o


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r116230: Fix bug #16558 with w32-shell-execute on remote file names.
Date: Sun, 02 Feb 2014 10:06:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> >> > +       * w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
>> >> > +       DOCUMENT that is a "remote" file name, i.e. a file-handler 
>> >> > exists
>> >> > +       for it.  (Bug#16558)
>> >> That means we don't call Ffile_exists_p for .gz files :-(
>> >> It seems arbitrary.
>> > What do you suggest? bind handlers-alist to nil?
>> Could you describe the problem we're trying to solve?
> What is unclear in its description in this bug report?

I think the problem is in calling file-exists-p.  IIUC we use it to
decide whether to pass the file to expand-file-name, right?

And the reason we do that is because some file names are "normal" and
others refer to non-files according to some w32 feature which can map
them to some other tools.

I don't know that w32 feature at all, so it's hard for me to figure out
what should be done, but it seems like file-exists-p is not the right
thing to do anyway since the file name might be "normal" but refer to
a file that doesn't exist yet.

So, how does w32 decide whether a file name is "normal" or not?


        Stefan



reply via email to

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