From: pauline-galea@gmx.com
To: 48710@debbugs.gnu.org
Subject: bug#48710: Retaining code highlighting (for defun, defvar) in outline mode
Date: Fri, 28 May 2021 03:17:30 +0200 [thread overview]
Message-ID: <trinity-19fb89f7-eb64-462f-a98e-a6682174cdda-1622164650847@3c-app-mailcom-bs04> (raw)
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.
next reply other threads:[~2021-05-28 1:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 1:17 pauline-galea [this message]
2021-05-29 21:55 ` bug#48710: Retaining code highlighting (for defun, defvar) in outline mode Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-19fb89f7-eb64-462f-a98e-a6682174cdda-1622164650847@3c-app-mailcom-bs04 \
--to=pauline-galea@gmx.com \
--cc=48710@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).