[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defadvice file-expand-wildcards ad-do-it value
From: |
Michael Albinus |
Subject: |
Re: defadvice file-expand-wildcards ad-do-it value |
Date: |
Tue, 24 Nov 2009 14:11:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> I suppose the right thing would be if find-file didn't look at the
> remote identifier part when considering whether there's wildcards, thus
> allowing any chars at all there. So where it has
>
> (string-match "[[*?]" filename)
>
> instead perhaps something like, completely untested,
>
> (defun file-name-wildcards-p (filename)
> (string-match "[[*?]" filename
> (length (or (file-remote-p filename)
> "")))))
>
> but probably with a check that the file-remote-p return is indeed a
> prefix of the filename, if that's not quite mandatory.
Maybe. But this special Tramp syntax is very uncommon in GNU Emacs; I
doubt that such a change will find its way into Emacs.
Best regards, Michael.
- Re: defadvice file-expand-wildcards ad-do-it value, Kevin Ryde, 2009/11/02
- Re: defadvice file-expand-wildcards ad-do-it value, Michael Albinus, 2009/11/08
- Re: defadvice file-expand-wildcards ad-do-it value, Kevin Ryde, 2009/11/08
- Re: defadvice file-expand-wildcards ad-do-it value, Michael Albinus, 2009/11/11
- Re: defadvice file-expand-wildcards ad-do-it value, Kevin Ryde, 2009/11/14
- Re: defadvice file-expand-wildcards ad-do-it value, Michael Albinus, 2009/11/17
- Re: defadvice file-expand-wildcards ad-do-it value, Kevin Ryde, 2009/11/23
- Re: defadvice file-expand-wildcards ad-do-it value,
Michael Albinus <=
- Re: defadvice file-expand-wildcards ad-do-it value, Kevin Ryde, 2009/11/26
- Re: defadvice file-expand-wildcards ad-do-it value, Michael Albinus, 2009/11/26