* bug#48707: outline not distinguishing between levels well enough
[not found] ` <87v974nfrm.fsf@icterid>
@ 2021-05-27 19:37 ` pauline-galea
2021-05-27 22:44 ` Juri Linkov
0 siblings, 1 reply; 5+ messages in thread
From: pauline-galea @ 2021-05-27 19:37 UTC (permalink / raw)
To: 48707; +Cc: Philip Kaludercic
outline is supposed to highlight the eight different heading levels in a way that
is easy to distinguish between them. I do not see such a capability at this time.
Settings up different colours is also quite complicated and confusing. I have originally
discussed this on "help-gnu-emacs@gnu.org", who encouraged me to send a bug report.
I do not get different heading colours for the three heading levels below.
Philip has mentioned the possibility that the wrong face is being applied.
--------- test.el --------
;;; * heading 1
;; comments
;;;; ** subheading 1.1
;; comments
;;;;; *** subsubheading 1.1.1
;; comments
Many Thanks
Paula
> Sent: Friday, May 28, 2021 at 7:22 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> >> > For instance, changing the
> >> > faces would also change
> >> > those heading highlighting. This does not seem to bother the
> >> > maintainers whilst expecting
> >> > other to be ok with it, terning down requests for improvements.
> >>
> >> I looked over it, and it does seem like a bug, as the wrong face is
> >> being applied. My guess is that outline-font-lock-face is returning the
> >> wrong face.
> >>
> >> Did you report this as a proper bug?
> >
> > You seem to understand what's wrong.
>
> Sure, just Cc me in the bug report.
>
> --
> Philip K.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#48707: outline not distinguishing between levels well enough
2021-05-27 19:37 ` bug#48707: outline not distinguishing between levels well enough pauline-galea
@ 2021-05-27 22:44 ` Juri Linkov
2021-05-27 23:33 ` pauline-galea
0 siblings, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2021-05-27 22:44 UTC (permalink / raw)
To: pauline-galea; +Cc: Philip Kaludercic, 48707
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
> outline is supposed to highlight the eight different heading levels in a way that
> is easy to distinguish between them. I do not see such a capability at this time.
>
> Settings up different colours is also quite complicated and confusing. I have originally
> discussed this on "help-gnu-emacs@gnu.org", who encouraged me to send a bug report.
>
> I do not get different heading colours for the three heading levels below.
> Philip has mentioned the possibility that the wrong face is being applied.
>
> --------- test.el --------
>
> ;;; * heading 1
> ;; comments
> ;;;; ** subheading 1.1
> ;; comments
> ;;;;; *** subsubheading 1.1.1
> ;; comments
Thank you very much for the bug report. This is really a bug
that should be fixed by the following patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: outline-font-lock-keywords.patch --]
[-- Type: text/x-diff, Size: 726 bytes --]
diff --git a/lisp/outline.el b/lisp/outline.el
index fa7c1a27d9..3eb3e21036 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -205,7 +205,8 @@ outline-font-lock-keywords
(list 'face (outline-font-lock-face)
'keymap outline-mode-cycle-map)
(list 'face nil
- 'keymap outline-mode-cycle-map)))
+ 'keymap outline-mode-cycle-map))
+ (list 'face (outline-font-lock-face)))
(outline-font-lock-face))
(when outline-minor-mode
(pcase outline-minor-mode-highlight
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#48707: outline not distinguishing between levels well enough
2021-05-27 22:44 ` Juri Linkov
@ 2021-05-27 23:33 ` pauline-galea
2021-05-28 18:59 ` Juri Linkov
0 siblings, 1 reply; 5+ messages in thread
From: pauline-galea @ 2021-05-27 23:33 UTC (permalink / raw)
To: Juri Linkov; +Cc: Philip Kaludercic, 48707
Thank you for the patch. I have updated outline.el and rebuilt emacs and I can see
changes. I am unsure though how to change the heading level colours for different
subheading levels, because the headings all look like comments.
Regards
> Sent: Friday, May 28, 2021 at 10:44 AM
> From: "Juri Linkov" <juri@linkov.net>
> To: pauline-galea@gmx.com
> Cc: 48707@debbugs.gnu.org, "Philip Kaludercic" <philipk@posteo.net>
> Subject: Re: bug#48707: outline not distinguishing between levels well enough
>
> > outline is supposed to highlight the eight different heading levels in a way that
> > is easy to distinguish between them. I do not see such a capability at this time.
> >
> > Settings up different colours is also quite complicated and confusing. I have originally
> > discussed this on "help-gnu-emacs@gnu.org", who encouraged me to send a bug report.
> >
> > I do not get different heading colours for the three heading levels below.
> > Philip has mentioned the possibility that the wrong face is being applied.
> >
> > --------- test.el --------
> >
> > ;;; * heading 1
> > ;; comments
> > ;;;; ** subheading 1.1
> > ;; comments
> > ;;;;; *** subsubheading 1.1.1
> > ;; comments
>
> Thank you very much for the bug report. This is really a bug
> that should be fixed by the following patch:
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#48707: outline not distinguishing between levels well enough
2021-05-27 23:33 ` pauline-galea
@ 2021-05-28 18:59 ` Juri Linkov
2021-05-28 19:23 ` pauline-galea
0 siblings, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2021-05-28 18:59 UTC (permalink / raw)
To: pauline-galea; +Cc: Philip Kaludercic, 48707
tags 48707 fixed
close 48707 28.0.50
thanks
> Thank you for the patch. I have updated outline.el and rebuilt emacs and I can see
> changes. I am unsure though how to change the heading level colours for different
> subheading levels, because the headings all look like comments.
Thanks for confirming. Now the fix is pushed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#48707: outline not distinguishing between levels well enough
2021-05-28 18:59 ` Juri Linkov
@ 2021-05-28 19:23 ` pauline-galea
0 siblings, 0 replies; 5+ messages in thread
From: pauline-galea @ 2021-05-28 19:23 UTC (permalink / raw)
To: Juri Linkov; +Cc: Philip Kaludercic, 48707
> Sent: Saturday, May 29, 2021 at 6:59 AM
> From: "Juri Linkov" <juri@linkov.net>
> To: pauline-galea@gmx.com
> Cc: 48707@debbugs.gnu.org, "Philip Kaludercic" <philipk@posteo.net>
> Subject: Re: bug#48707: outline not distinguishing between levels well enough
>
> tags 48707 fixed
> close 48707 28.0.50
> thanks
>
> > Thank you for the patch. I have updated outline.el and rebuilt emacs and I can see
> > changes. I am unsure though how to change the heading level colours for different
> > subheading levels, because the headings all look like comments.
>
> Thanks for confirming. Now the fix is pushed.
I have now been able to view different colours for the different heading levels.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-28 19:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <trinity-46969808-84f1-4235-8289-df9253171923-1622050507521@3c-app-mailcom-bs03>
[not found] ` <874keo4i4j.fsf@icterid>
[not found] ` <trinity-fa6539a0-9b38-43ee-ba76-672fe2ffa519-1622122733859@3c-app-mailcom-bs03>
[not found] ` <87v9742srs.fsf@icterid>
[not found] ` <trinity-5332e9f2-3f50-4479-a243-71c99938f701-1622135005475@3c-app-mailcom-bs04>
[not found] ` <877djkozc1.fsf@icterid>
[not found] ` <trinity-8f120450-9410-42d5-a519-9bc378a68baa-1622139205889@3c-app-mailcom-bs04>
[not found] ` <8735u8ov50.fsf@icterid>
[not found] ` <trinity-84d0be44-7429-484c-bdb6-d06366b6e177-1622143054269@3c-app-mailcom-bs04>
[not found] ` <87v974nfrm.fsf@icterid>
2021-05-27 19:37 ` bug#48707: outline not distinguishing between levels well enough pauline-galea
2021-05-27 22:44 ` Juri Linkov
2021-05-27 23:33 ` pauline-galea
2021-05-28 18:59 ` Juri Linkov
2021-05-28 19:23 ` pauline-galea
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).