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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48710 in the body.
You can then email your comments to 48710 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48710
; Package
emacs
.
(Fri, 28 May 2021 01:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
pauline-galea <at> gmx.com
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 28 May 2021 01:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48710
; Package
emacs
.
(Sat, 29 May 2021 22:16:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 48710 <at> debbugs.gnu.org (full text, mbox):
tags 48710 notabug
close 48710 28.0.50
thanks
> 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.
It seems this is already implemented: when you customize
outline-minor-mode-highlight to a value 't' or 'append' (but not 'override'),
and also customize outline-minor-mode-cycle to t, then after
enabling outline-minor-mode, and typing S-TAB S-TAB on a heading
it keeps the ... at the end of lines, while
retaining the original code highlighting.
Please reopen this report, when you still see a problem
and can't get it working.
Added tag(s) notabug.
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Sat, 29 May 2021 22:16:03 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.0.50, send any further explanations to
48710 <at> debbugs.gnu.org and pauline-galea <at> gmx.com
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Sat, 29 May 2021 22:16:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 27 Jun 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.