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 Röhler
Subject: bug#5627: 23.1.90; outline-regexp ignores customization
Date: Wed, 24 Feb 2010 21:20:20 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Stefan Monnier wrote:
>> customization of this var is the way adapting it at changing needs.
>> A defvar seems rather worst.
> 
> No, as you have noticed, this variable is major-mode dependent, so
> there's no point customizing it with Custom since Custom only knows how
> to manipulate default (aka global) settings.
> 

Probably I ignore something: should't a globally set variable work in a mode 
also?


> If/when Custom is improved to handle mode-dependent settings, we can
> revisit this, but for now it makes no sense to me to provide it as
> a defcustom.
> 
> 
>         Stefan
> 

A clean solution in my eyes would be to remove the mode-setting - rather retain 
the global variable here.
As it's name says, its mode-oriented anyway.

Andreas






reply via email to

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