[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4664: 23.1.50; local variables completions
From: |
Juri Linkov |
Subject: |
bug#4664: 23.1.50; local variables completions |
Date: |
Mon, 12 Oct 2009 23:31:38 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>>>> This is a wrong fix. It again removes valid local variables like
>>>> `generated-autoload-file' from completion. The right fix would be
>>>> just to avoid trying to provide their current value as the default
>>>> value:
>>>
>>> Agreed. Actually even if a symbol is not known to be safe and not
>>> completable, it should be possible for the user to use it, since it may
>>> simply not be loaded yet.
>>
>> Yes, this is already the case: the user is free to enter any variable.
>> It is only completion with require-match=nil that provides a list
>> of known variable names.
>
> The completion of 'mode' does not include modes like outline-minor-mode.
> Is this an oversight?
I've excluded minor modes from completion intentionally because the manual
says in (info "(emacs) Specifying File Variables"):
You can use the `mode' "variable" to set minor modes as well as the
major modes; in fact, you can use it more than once, first to set the
major mode and then to set minor modes which are specific to particular
buffers. But most minor modes should not be specified in the file at
all, because they represent user preferences.
I'm not sure about a list of minor modes that represent user preferences.
Where can I see a complete list of their names? Since this is too vague,
perhaps we should include minor modes to the completion of 'mode'.
--
Juri Linkov
http://www.jurta.org/emacs/
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/07
- bug#4664: 23.1.50; local variables completions, Stefan Monnier, 2009/10/07
- Message not available
- bug#4664: 23.1.50; local variables completions, Stefan Monnier, 2009/10/07
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/08
- bug#4664: 23.1.50; local variables completions, Juri Linkov, 2009/10/08
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/08
- bug#4664: 23.1.50; local variables completions, Stefan Monnier, 2009/10/09
- bug#4664: 23.1.50; local variables completions, Juri Linkov, 2009/10/11
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/12
- bug#4664: 23.1.50; local variables completions,
Juri Linkov <=
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/13
- bug#4664: 23.1.50; local variables completions, Stefan Monnier, 2009/10/13
- bug#4664: 23.1.50; local variables completions, Juri Linkov, 2009/10/13
- bug#4664: 23.1.50; local variables completions, Leo, 2009/10/13
bug#4664: marked as done (23.1.50; local variables completions), Emacs bug Tracking System, 2009/10/07