GNU bug report logs - #48724
Code collapsing and outline headings for elisp

Previous Next

Package: emacs;

Reported by: Christopher Dimech <dimech <at> gmx.com>

Date: Fri, 28 May 2021 21:00:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Christopher Dimech <dimech <at> gmx.com>
Cc: 48724 <at> debbugs.gnu.org
Subject: bug#48724: Code collapsing and outline headings for elisp
Date: Wed, 02 Jun 2021 23:54:04 +0300
[Message part 1 (text/plain, inline)]
> Have been discussing all this together with Protesilaos Stavrou.  Could you have a read
> to see if we actually got to something?

Thank you for sending this mail.

>> I suggest we bring this issue upstream.  Ask them whether the
>> defvar,defun etc. can retain their styles and only for explicit headings
>> to be fontified.

Like in bug#48777, the solution is to use

(setq outline-minor-mode-highlight 'append)

But what is important, to make outline headings readable
while retaining major-mode fontification is what I did
in the init file, and what I highly recommend to you is
to customize outline faces, and to turn their foreground
colors into background colors, so it looks nicely like this:

[screenshot-7.png (image/png, inline)]

This bug report was last modified 4 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.