[Top][All Lists]

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


From: Andreas Roehler
Subject: outline-regexp
Date: Mon, 04 Dec 2006 14:38:49 +0100
User-agent: Thunderbird (X11/20060516)

Customizing `outline-regexp' in Emacs-Lisp-mode turned
out to be difficult:

Setting with `customize-variable' didn't have effect.

`describe-variable' told

| outline-regexp is a variable defined in `outline.el'.
| Its value is
| ";;;\\(;* [^     \n]\\|###autoload\\)\\|("
| Local in buffer eil.el; global value is "[*\f]+"

However, outline.el showed:

(defcustom outline-regexp "[*\^L]+"

whereas `customize-variable' displayed an entry

^[ \t]*(defun

(probably due to an earlier customization.)

AFAIS `outline-regexp' is set by a function
`lisp-mode-variables' in lisp-mode.el via `setq'

with the result, that's neither mentioned in
`load-history' nor listed in TAGS.

Given, I didn't oversee something important, it seems
worthwhile to re-consider this.

What about to drop setting in lisp-mode.el and let the
global value in effect instead? We would gain a
customization facility.


Andreas Roehler

GNU Emacs (i686-pc-linux-gnu, X toolkit,
Xaw3d scroll bars) of 2006-10-28

reply via email to

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