all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#48710: Retaining code highlighting (for defun, defvar) in outline mode
@ 2021-05-28  1:17 pauline-galea
  2021-05-29 21:55 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: pauline-galea @ 2021-05-28  1:17 UTC (permalink / raw)
  To: 48710


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.








^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-29 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-28  1:17 bug#48710: Retaining code highlighting (for defun, defvar) in outline mode pauline-galea
2021-05-29 21:55 ` Juri Linkov

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.