bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5627: 23.1.90; outline-regexp ignores customization


From: Andreas Roehler
Subject: bug#5627: 23.1.90; outline-regexp ignores customization
Date: Tue, 23 Feb 2010 20:53:01 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Glenn Morris wrote:
> Andreas Röhler wrote (on Tue, 23 Feb 2010 at 12:51 +0100):
> 
>> C-h v outline-regexp:
>>
>> outline-regexp is a variable defined in `outline.el'.
>> Its value is
>> ";;;\\(;* [^         \n]\\|###autoload\\)\\|("
>> Local in buffer ar-thing-at-point-utils-intern.el; global value is 
>> "(\\|[A-Z]"
> 
> Yes, some modes such as emacs-lisp-mode make buffer-local settings of
> outline-regexp, since the value is likely to be very dependent on the
> type of file.
> 
> As it says in the documentation of that variable:
> 
>   The recommended way to set this is with a Local Variables: list
>   in the file it applies to.
> 
> Or use a mode-hook.
> 


Did see that recommendation.
However, from my point of view modes should not overwrite expressingly set 
customizations.

Local variables definitions set inside the file are nasty.

Anyway, thanks for your care.

Andreas










reply via email to

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