From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 5627@debbugs.gnu.org
Subject: bug#5627: 23.1.90; outline-regexp ignores customization
Date: Wed, 24 Feb 2010 21:20:20 +0100 [thread overview]
Message-ID: <4B858A04.5010408@easy-emacs.de> (raw)
In-Reply-To: <jwvaauyxzgm.fsf-monnier+emacs@gnu.org>
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
next prev parent reply other threads:[~2010-02-24 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 11:09 bug#5627: 23.1.90; outline-regexp ignores customization Andreas Roehler
2010-02-23 11:51 ` Andreas Roehler
2010-02-23 18:37 ` Glenn Morris
2010-02-23 19:53 ` Andreas Roehler
2010-02-23 22:33 ` Stefan Monnier
2010-02-24 7:36 ` Andreas Röhler
2010-02-24 18:31 ` Stefan Monnier
2010-02-24 20:20 ` Andreas Röhler [this message]
2010-02-24 21:37 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B858A04.5010408@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=5627@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.