GNU bug report logs -
#48710
Retaining code highlighting (for defun, defvar) in outline mode
Previous Next
Reported by: pauline-galea <at> gmx.com
Date: Fri, 28 May 2021 01:18:01 UTC
Severity: minor
Tags: notabug
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Currently outline mode changes the colour of headings and subheadings.
But I have noticed that elisp structures are also considered as headings.
This results in some code highlighting problems for things like "defun"
and "defvar" because the whole line gets a one colour highlighting in
a way that is similar to a heading face.
It would be better that elisp code structures retain the original code highlighting,
but keep the ... at the end of the line to show that the code body is hidden.
The ... could be highligted instead instead.
For more flexibility, it would be beneficial to have a separate keybinding that toggles
between showing the contents (body) of a code structure and hiding it, that is independent
of headings.
This bug report was last modified 3 years and 355 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.