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

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

Outline Mode regular expressions don't work quite right


From: Douglas Alan
Subject: Outline Mode regular expressions don't work quite right
Date: Tue, 23 Jan 2001 16:54:54 -0500

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
 of Tue Oct 10 2000 on porky.devel.redhat.com
configured using `configure  --mandir=/usr/share/man --infodir=/usr/share/info 
--prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop 
--with-x-toolkit i386-redhat-linux-gnu'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This mode line works okay:

   # -*- Mode: Outline; outline-regexp: "[ \t]*-" -*-

But then you have to prefix the beginning of the mode line with a
non-dash character so that the mode line itself won't match the regex.
Also, I really only want to match lines that have whitespace after the
dash.

In order to fix these problems, you might think that the following
mode line would be ideal:

   -*- Mode: Outline; outline-regexp: "[ \t]*-[ \t]" -*-

Alas, this causes a different problem.  For the most part it works
okay, but for some reason, when this mode line is used, there is no
top level to the outline.  I.e., the topmost level of the outline is
now colored in teal, rather than in red.  Usually red is the topmost
level of the outline and teal is the next level down.



reply via email to

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