emacs-devel
[Top][All Lists]
Advanced

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

Re: rfn-eshadow


From: Juri Linkov
Subject: Re: rfn-eshadow
Date: Fri, 04 Jan 2008 23:52:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>>> For the record, URL entry works just fine with rfn-eshadow if you enable
>>> url-handler-mode.
>>
>> I don't think url-handler-mode should be enabled by ffap, but maybe a similar
>> handling of file-name-handler could be added to ffap.
>
> What's about this patch?
>
> *** /usr/local/src/emacs/lisp/ffap.el.~1~     Fri Nov 30 22:34:18 2007
> --- /usr/local/src/emacs/lisp/ffap.el Fri Jan  4 12:58:57 2008
> ***************
> *** 1262,1268 ****
>                   ))
>         (setq dir (file-name-directory guess))))
>       (let ((minibuffer-completing-file-name t)
> !       (completion-ignore-case read-file-name-completion-ignore-case))
>         (setq guess
>           (completing-read
>            prompt
> --- 1262,1270 ----
>                   ))
>         (setq dir (file-name-directory guess))))
>       (let ((minibuffer-completing-file-name t)
> !       (completion-ignore-case read-file-name-completion-ignore-case)
> !       (file-name-handler-alist (copy-tree file-name-handler-alist)))
> !       (url-handler-mode t)
>         (setq guess
>           (completing-read
>            prompt

Doesn't look like a right solution to me since url-handlers.el causes
loading two additional files from the url package and two files from gnus.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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