emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#4004: filename completion


From: Michael Albinus
Subject: Re: bug#4004: filename completion
Date: Tue, 18 Aug 2009 07:28:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I'll do so. Wrt autoloading: for some people it makes a difference,
>> whether Tramp is loaded after typing "/ssh:", or already after typing "/s".
>
> I know.  But AFAIK, the code you suggest wouldn't make any difference in
> this respect.  At least setting partial-completion-mode currently
> doesn't make any difference in this respect.
>
>> Since partial-completion is enabled by default in completion-styles,
>> Tramp will always be autoloaded after typing "/s".
>
> Would it?  If so, why isn't it when partial-completion-mode is set to
> t in Emacs-23.1?

See loaddefs.el:

(add-hook
 'after-init-hook
 'tramp-register-completion-file-name-handler)

So you must put (partial-completion-mode 1) in your .emacs. But now,
since `partial-completion' is set in `completion-styles' by default, you
don't need to do this anymore, you'll see early Tramp loading already
when starting emacs -Q.

>         Stefan

Best regards, Michael.




reply via email to

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