GNU bug report logs - #48777
outline-minor-mode-highlight override and elisp code highlighting

Previous Next

Package: emacs;

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

Date: Tue, 1 Jun 2021 11:47:02 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 48777 in the body.
You can then email your comments to 48777 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48777; Package emacs. (Tue, 01 Jun 2021 11:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Dimech <dimech <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 01 Jun 2021 11:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Dimech <dimech <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Subject: outline-minor-mode-highlight override and elisp code highlighting
Date: Tue, 1 Jun 2021 13:46:48 +0200
Recently there was a bug fix in outline.el so that subheadings get highlighted
differently.  But, there remains the problem that when one uses

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

the headings with "(defmacro", "(defvar", "(defun" loose their code highlighting
feature.  In addition to all other elisp code type of headings starting with "(".


----- Christopher Dimech

Society has became too quick to pass judgement and declare someone Persona Non-Grata,
the most extreme form of censure a country can bestow.

In a new era of destructive authoritarianism, I support Richard Stallman.  Times of great
crisis are also times of great opportunity. I call upon you to make this struggle yours as well !

https://stallmansupport.org/     https://www.fsf.org/     https://www.gnu.org/





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48777; Package emacs. (Tue, 01 Jun 2021 20:59:03 GMT) Full text and rfc822 format available.

Message #8 received at 48777 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Christopher Dimech <dimech <at> gmx.com>
Cc: 48777 <at> debbugs.gnu.org
Subject: Re: bug#48777: outline-minor-mode-highlight override and elisp code
 highlighting
Date: Tue, 01 Jun 2021 23:38:49 +0300
tags 48777 notabug
close 48777 28.0.50
thanks

> Recently there was a bug fix in outline.el so that subheadings get highlighted
> differently.  But, there remains the problem that when one uses
>
> (setq outline-minor-mode-highlight 'override)
>
> the headings with "(defmacro", "(defvar", "(defun" loose their code highlighting
> feature.  In addition to all other elisp code type of headings starting with "(".

Please try

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

It does exactly what you want.




Added tag(s) notabug. Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Tue, 01 Jun 2021 20:59:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.0.50, send any further explanations to 48777 <at> debbugs.gnu.org and Christopher Dimech <dimech <at> gmx.com> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Tue, 01 Jun 2021 20:59:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48777; Package emacs. (Tue, 01 Jun 2021 21:24:02 GMT) Full text and rfc822 format available.

Message #15 received at 48777 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Dimech <dimech <at> gmx.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 48777 <at> debbugs.gnu.org
Subject: bug#48777: outline-minor-mode-highlight override and elisp code
 highlighting
Date: Tue, 1 Jun 2021 23:23:42 +0200
> Sent: Wednesday, June 02, 2021 at 8:38 AM
> From: "Juri Linkov" <juri <at> linkov.net>
> To: "Christopher Dimech" <dimech <at> gmx.com>
> Cc: 48777 <at> debbugs.gnu.org
> Subject: bug#48777: outline-minor-mode-highlight override and elisp code highlighting
>
> tags 48777 notabug
> close 48777 28.0.50
> thanks
>
> > Recently there was a bug fix in outline.el so that subheadings get highlighted
> > differently.  But, there remains the problem that when one uses
> >
> > (setq outline-minor-mode-highlight 'override)
> >
> > the headings with "(defmacro", "(defvar", "(defun" loose their code highlighting
> > feature.  In addition to all other elisp code type of headings starting with "(".
>
> Please try
>
> (setq outline-minor-mode-highlight 'append)
>
> It does exactly what you want.

I can see that it works.  Although all those options are quite confusing.
There is no advantage it removing code highlighting.  That was one reason
I suggested for code structures not to be considered as headlines, but as
code structures that can be hidden or shown.

----- Christopher Dimech

Society has became too quick to pass judgement and declare someone Persona Non-Grata,
the most extreme form of censure a country can bestow.

In a new era of destructive authoritarianism, I support Richard Stallman.  Times of great
crisis are also times of great opportunity. I call upon you to make this struggle yours as well !

https://stallmansupport.org/     https://www.fsf.org/     https://www.gnu.org/





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 30 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 301 days ago.

Previous Next


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