all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#48777: outline-minor-mode-highlight override and elisp code highlighting
@ 2021-06-01 11:46 Christopher Dimech
  2021-06-01 20:38 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Dimech @ 2021-06-01 11:46 UTC (permalink / raw)
  To: 48777

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/






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

* bug#48777: outline-minor-mode-highlight override and elisp code highlighting
  2021-06-01 11:46 bug#48777: outline-minor-mode-highlight override and elisp code highlighting Christopher Dimech
@ 2021-06-01 20:38 ` Juri Linkov
  2021-06-01 21:23   ` Christopher Dimech
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2021-06-01 20:38 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: 48777

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.





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

* bug#48777: outline-minor-mode-highlight override and elisp code highlighting
  2021-06-01 20:38 ` Juri Linkov
@ 2021-06-01 21:23   ` Christopher Dimech
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Dimech @ 2021-06-01 21:23 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 48777

> Sent: Wednesday, June 02, 2021 at 8:38 AM
> From: "Juri Linkov" <juri@linkov.net>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: 48777@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/






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

end of thread, other threads:[~2021-06-01 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-01 11:46 bug#48777: outline-minor-mode-highlight override and elisp code highlighting Christopher Dimech
2021-06-01 20:38 ` Juri Linkov
2021-06-01 21:23   ` Christopher Dimech

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.