[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 16:00:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> Yes, I mean that.  My version avoids compiler warnings for unknown
> symbol completion-styles, when Tramp runs outside GNU Emacs 23.

I know and I hate such code: fix the compiler, or live with the warning,
but don't botch your code to work around the "problem".

>> 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).

> 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?


reply via email to

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