[Top][All Lists]

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

Re: bug#4004: filename completion

From: Stefan Monnier
Subject: Re: bug#4004: filename completion
Date: Mon, 17 Aug 2009 11:03:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>> There was a discussion about some years ago, when I did add Tramp's
>>> autoloads. People were annoyed, that even after typing something like
>>> "/a" in the minibuffer, Tramp was already loaded, which raised some
>>> delays. So it was suggested to make Tramp's autoloading optional. It was
>>> even requested that this "optionality" should not be something, which
>>> the user has to disnable herself; users should not be bashed by a new
>>> feature they are not interested in.
>> That's beginning to make more sense.
> Would it be OK to add the check 
>   (and (boundp 'completion-styles)
>        (member 'partial-completion (symbol-value 'completion-styles)))

You mean

   (and (boundp 'completion-styles)
        (member 'partial-completion completion-styles))


Yes, I guess it'd be OK, tho I think you might as well enable
it unconditionally, since AFAICT it doesn't impact the autoloading
behavior, only the completion behavior (i.e. after C-x C-f /s TAB you
don't get "ssh:" before Tramp is loaded, but you do after Tramp has
been loaded).


reply via email to

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