unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
@ 2021-05-26 17:35 pauline-galea
  2021-05-27  9:54 ` Philip Kaludercic
  0 siblings, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-26 17:35 UTC (permalink / raw)
  To: Help Gnu Emacs

Have loaded emacs with "emacs-28.0.50 -q" and "emacs-28.0.50 -Q"

Loaded an elisp file with the following code

;;; * heading 1
;; brief
;;;; ** subheading 1.1
;; brief
;;;;; ***subsubheading 1.1.1
;; brief

Then used the command

M-x outline-minor-mode

Then executed

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

with C-x C-e

But the different highlight levels are not being highlighted with different colours.





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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-26 17:35 "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight pauline-galea
@ 2021-05-27  9:54 ` Philip Kaludercic
  2021-05-27 13:38   ` pauline-galea
  0 siblings, 1 reply; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27  9:54 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

pauline-galea@gmx.com writes:

> Have loaded emacs with "emacs-28.0.50 -q" and "emacs-28.0.50 -Q"
>
> Loaded an elisp file with the following code
>
> ;;; * heading 1
> ;; brief
> ;;;; ** subheading 1.1
> ;; brief
> ;;;;; ***subsubheading 1.1.1
> ;; brief
>
> Then used the command
>
> M-x outline-minor-mode
>
> Then executed
>
> (setq-default outline-minor-mode-highlight 'override)
>
> with C-x C-e
>
> But the different highlight levels are not being highlighted with different colours.

I am guessing that you should first set outline-minor-mode-highlight
then activate outline-minor-mode. Setting a variable directly usually
does not perform any changes.

-- 
	Philip K.



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27  9:54 ` Philip Kaludercic
@ 2021-05-27 13:38   ` pauline-galea
  2021-05-27 13:47     ` Philip Kaludercic
  0 siblings, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-27 13:38 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs



> Sent: Thursday, May 27, 2021 at 9:54 PM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> > Have loaded emacs with "emacs-28.0.50 -q" and "emacs-28.0.50 -Q"
> >
> > Loaded an elisp file with the following code
> >
> > ;;; * heading 1
> > ;; brief
> > ;;;; ** subheading 1.1
> > ;; brief
> > ;;;;; ***subsubheading 1.1.1
> > ;; brief
> >
> > Then used the command
> >
> > M-x outline-minor-mode
> >
> > Then executed
> >
> > (setq-default outline-minor-mode-highlight 'override)
> >
> > with C-x C-e
> >
> > But the different highlight levels are not being highlighted with different colours.
>
> I am guessing that you should first set outline-minor-mode-highlight
> then activate outline-minor-mode. Setting a variable directly usually
> does not perform any changes. - Philip

No, that does not work.





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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 13:38   ` pauline-galea
@ 2021-05-27 13:47     ` Philip Kaludercic
  2021-05-27 15:07       ` pauline-galea
  2021-05-27 17:03       ` pauline-galea
  0 siblings, 2 replies; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27 13:47 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

pauline-galea@gmx.com writes:

>> I am guessing that you should first set outline-minor-mode-highlight
>> then activate outline-minor-mode. Setting a variable directly usually
>> does not perform any changes. - Philip
>
> No, that does not work.

I just tried it using my local master checkout I just built this
morning, and it worked... Are you sure your major mode initializes
outline-minor-mode properly?

-- 
	Philip K.



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 13:47     ` Philip Kaludercic
@ 2021-05-27 15:07       ` pauline-galea
  2021-05-27 17:06         ` Philip Kaludercic
  2021-05-27 17:03       ` pauline-galea
  1 sibling, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-27 15:07 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs

> Sent: Friday, May 28, 2021 at 1:47 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> >> I am guessing that you should first set outline-minor-mode-highlight
> >> then activate outline-minor-mode. Setting a variable directly usually
> >> does not perform any changes. - Philip
> >
> > No, that does not work.
>
> I just tried it using my local master checkout I just built this
> morning, and it worked... Are you sure your major mode initializes
> outline-minor-mode properly?

It would be beneficial to help me set it up because you seem to have been successful,
or there wight be some problems lurking about.

What is wrong about

Load an elisp file

M-x emacs-lisp-mode

Execute the following

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

M-x outline-minor-mode



> --
> 	Philip K.
>



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 13:47     ` Philip Kaludercic
  2021-05-27 15:07       ` pauline-galea
@ 2021-05-27 17:03       ` pauline-galea
  2021-05-27 17:34         ` Philip Kaludercic
  1 sibling, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-27 17:03 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs

> Sent: Friday, May 28, 2021 at 1:47 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> >> I am guessing that you should first set outline-minor-mode-highlight
> >> then activate outline-minor-mode. Setting a variable directly usually
> >> does not perform any changes. - Philip
> >
> > No, that does not work.
>
> I just tried it using my local master checkout I just built this
> morning, and it worked... Are you sure your major mode initializes
> outline-minor-mode properly?

Do you get different heading colours for the three heading levels below?

;;; * heading 1
;; brief body
;;;; ** subheading 1.1
;; brief body
;;;;; *** subsubheading 1.1.1
;; brief body





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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 15:07       ` pauline-galea
@ 2021-05-27 17:06         ` Philip Kaludercic
  2021-05-27 17:13           ` pauline-galea
  0 siblings, 1 reply; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27 17:06 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

pauline-galea@gmx.com writes:

> What is wrong about
>
> Load an elisp file

I guess you mean open, not load as in (load "elisp-file.el")

> M-x emacs-lisp-mode
>
> Execute the following
>
> (setq-default outline-minor-mode-highlight 'override)

Is outline-minor-mode-highlight defined by default? What happens when
you do M-x customize-option outline-minor-mode-highlight?

> M-x outline-minor-mode

-- 
	Philip K.



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 17:06         ` Philip Kaludercic
@ 2021-05-27 17:13           ` pauline-galea
  0 siblings, 0 replies; 17+ messages in thread
From: pauline-galea @ 2021-05-27 17:13 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs



> Sent: Friday, May 28, 2021 at 5:06 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> > What is wrong about
> >
> > Load an elisp file
>
> I guess you mean open, not load as in (load "elisp-file.el")

Correct, I meant "open" or reading an existing file to an emacs buffer.

> > M-x emacs-lisp-mode
> >
> > Execute the following
> >
> > (setq-default outline-minor-mode-highlight 'override)
>
> Is outline-minor-mode-highlight defined by default? What happens when
> you do M-x customize-option outline-minor-mode-highlight?
>
> > M-x outline-minor-mode

Have tried that but there is no difference between the different subheading levels.

> --
> 	Philip K.
>



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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 17:03       ` pauline-galea
@ 2021-05-27 17:34         ` Philip Kaludercic
  2021-05-27 18:13           ` pauline-galea
  0 siblings, 1 reply; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27 17:34 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

pauline-galea@gmx.com writes:

>> Sent: Friday, May 28, 2021 at 1:47 AM
>> From: "Philip Kaludercic" <philipk@posteo.net>
>> To: pauline-galea@gmx.com
>> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
>> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
>> outline-minor-mode-highlight
>>
>> pauline-galea@gmx.com writes:
>>
>> >> I am guessing that you should first set outline-minor-mode-highlight
>> >> then activate outline-minor-mode. Setting a variable directly usually
>> >> does not perform any changes. - Philip
>> >
>> > No, that does not work.
>>
>> I just tried it using my local master checkout I just built this
>> morning, and it worked... Are you sure your major mode initializes
>> outline-minor-mode properly?
>
> Do you get different heading colours for the three heading levels below?
>
> ;;; * heading 1
> ;; brief body
> ;;;; ** subheading 1.1
> ;; brief body
> ;;;;; *** subsubheading 1.1.1
> ;; brief body

Yes, I'll attach a screenshot below. It's not pretty, but I notice a
difference.

-- 
	Philip K.


[-- Attachment #2: Screenshot_2021-05-27_19-33-38.png --]
[-- Type: image/png, Size: 49737 bytes --]

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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 17:34         ` Philip Kaludercic
@ 2021-05-27 18:13           ` pauline-galea
  2021-05-27 18:27             ` Stephen Berman
  2021-05-27 19:04             ` Philip Kaludercic
  0 siblings, 2 replies; 17+ messages in thread
From: pauline-galea @ 2021-05-27 18:13 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs



> Sent: Friday, May 28, 2021 at 5:34 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> >> Sent: Friday, May 28, 2021 at 1:47 AM
> >> From: "Philip Kaludercic" <philipk@posteo.net>
> >> To: pauline-galea@gmx.com
> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> >> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
> >> outline-minor-mode-highlight
> >>
> >> pauline-galea@gmx.com writes:
> >>
> >> >> I am guessing that you should first set outline-minor-mode-highlight
> >> >> then activate outline-minor-mode. Setting a variable directly usually
> >> >> does not perform any changes. - Philip
> >> >
> >> > No, that does not work.
> >>
> >> I just tried it using my local master checkout I just built this
> >> morning, and it worked... Are you sure your major mode initializes
> >> outline-minor-mode properly?
> >
> > Do you get different heading colours for the three heading levels below?
> >
> > ;;; * heading 1
> > ;; brief body
> > ;;;; ** subheading 1.1
> > ;; brief body
> > ;;;;; *** subsubheading 1.1.1
> > ;; brief body
>
> Yes, I'll attach a screenshot below. It's not pretty, but I notice a
> difference.

All three subheaditgs look the same to me.  That was my point, the result in not pretty
and the capability requires more work.   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.




> --
> 	Philip K.
>
>



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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 18:13           ` pauline-galea
@ 2021-05-27 18:27             ` Stephen Berman
  2021-05-27 18:36               ` pauline-galea
  2021-05-27 19:04             ` Philip Kaludercic
  1 sibling, 1 reply; 17+ messages in thread
From: Stephen Berman @ 2021-05-27 18:27 UTC (permalink / raw)
  To: pauline-galea; +Cc: Philip Kaludercic, Help Gnu Emacs

On Thu, 27 May 2021 20:13:25 +0200 pauline-galea@gmx.com wrote:

>> Sent: Friday, May 28, 2021 at 5:34 AM
>> From: "Philip Kaludercic" <philipk@posteo.net>
>> To: pauline-galea@gmx.com
>> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
>> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
>> outline-minor-mode-highlight
>>
>> pauline-galea@gmx.com writes:
>>
>> >> Sent: Friday, May 28, 2021 at 1:47 AM
>> >> From: "Philip Kaludercic" <philipk@posteo.net>
>> >> To: pauline-galea@gmx.com
>> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
>> >> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
>> >> outline-minor-mode-highlight
>> >>
>> >> pauline-galea@gmx.com writes:
>> >>
>> >> >> I am guessing that you should first set outline-minor-mode-highlight
>> >> >> then activate outline-minor-mode. Setting a variable directly usually
>> >> >> does not perform any changes. - Philip
>> >> >
>> >> > No, that does not work.
>> >>
>> >> I just tried it using my local master checkout I just built this
>> >> morning, and it worked... Are you sure your major mode initializes
>> >> outline-minor-mode properly?
>> >
>> > Do you get different heading colours for the three heading levels below?
>> >
>> > ;;; * heading 1
>> > ;; brief body
>> > ;;;; ** subheading 1.1
>> > ;; brief body
>> > ;;;;; *** subsubheading 1.1.1
>> > ;; brief body
>>
>> Yes, I'll attach a screenshot below. It's not pretty, but I notice a
>> difference.
>
> All three subheaditgs look the same to me.  That was my point, the
> result in not pretty and the capability requires more work.  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.

After doing `M-: (outline-minor-mode-highlight-buffer)' I see the three
headings in different colors.

Steve Berman



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 18:27             ` Stephen Berman
@ 2021-05-27 18:36               ` pauline-galea
  2021-05-27 18:58                 ` Stephen Berman
  0 siblings, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-27 18:36 UTC (permalink / raw)
  To: Stephen Berman; +Cc: Philip Kaludercic, Help Gnu Emacs



> Sent: Friday, May 28, 2021 at 6:27 AM
> From: "Stephen Berman" <stephen.berman@gmx.net>
> To: pauline-galea@gmx.com
> Cc: "Philip Kaludercic" <philipk@posteo.net>, "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> On Thu, 27 May 2021 20:13:25 +0200 pauline-galea@gmx.com wrote:
>
> >> Sent: Friday, May 28, 2021 at 5:34 AM
> >> From: "Philip Kaludercic" <philipk@posteo.net>
> >> To: pauline-galea@gmx.com
> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> >> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
> >> outline-minor-mode-highlight
> >>
> >> pauline-galea@gmx.com writes:
> >>
> >> >> Sent: Friday, May 28, 2021 at 1:47 AM
> >> >> From: "Philip Kaludercic" <philipk@posteo.net>
> >> >> To: pauline-galea@gmx.com
> >> >> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> >> >> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with
> >> >> outline-minor-mode-highlight
> >> >>
> >> >> pauline-galea@gmx.com writes:
> >> >>
> >> >> >> I am guessing that you should first set outline-minor-mode-highlight
> >> >> >> then activate outline-minor-mode. Setting a variable directly usually
> >> >> >> does not perform any changes. - Philip
> >> >> >
> >> >> > No, that does not work.
> >> >>
> >> >> I just tried it using my local master checkout I just built this
> >> >> morning, and it worked... Are you sure your major mode initializes
> >> >> outline-minor-mode properly?
> >> >
> >> > Do you get different heading colours for the three heading levels below?
> >> >
> >> > ;;; * heading 1
> >> > ;; brief body
> >> > ;;;; ** subheading 1.1
> >> > ;; brief body
> >> > ;;;;; *** subsubheading 1.1.1
> >> > ;; brief body
> >>
> >> Yes, I'll attach a screenshot below. It's not pretty, but I notice a
> >> difference.
> >
> > All three subheaditgs look the same to me.  That was my point, the
> > result in not pretty and the capability requires more work.  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.
>
> After doing `M-: (outline-minor-mode-highlight-buffer)' I see the three
> headings in different colors.
>
> Steve Berman

Why is this all so difficult !!!

How do I use "outline-minor-mode-highlight-buffer".  It is not an interactive function.
Have tried executing with "C-x C-e" but nothing took effect.






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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 18:36               ` pauline-galea
@ 2021-05-27 18:58                 ` Stephen Berman
  2021-05-27 19:11                   ` pauline-galea
  0 siblings, 1 reply; 17+ messages in thread
From: Stephen Berman @ 2021-05-27 18:58 UTC (permalink / raw)
  To: pauline-galea; +Cc: Philip Kaludercic, Help Gnu Emacs

On Thu, 27 May 2021 20:36:50 +0200 pauline-galea@gmx.com wrote:

>> >> > Do you get different heading colours for the three heading levels below?
>> >> >
>> >> > ;;; * heading 1
>> >> > ;; brief body
>> >> > ;;;; ** subheading 1.1
>> >> > ;; brief body
>> >> > ;;;;; *** subsubheading 1.1.1
>> >> > ;; brief body
>> >>
>> >> Yes, I'll attach a screenshot below. It's not pretty, but I notice a
>> >> difference.
>> >
>> > All three subheaditgs look the same to me.  That was my point, the
>> > result in not pretty and the capability requires more work.  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.
>>
>> After doing `M-: (outline-minor-mode-highlight-buffer)' I see the three
>> headings in different colors.
>>
>> Steve Berman
>
> Why is this all so difficult !!!
>
> How do I use "outline-minor-mode-highlight-buffer".  It is not an
> interactive function.  Have tried executing with "C-x C-e" but nothing
> took effect.

You can invoke it like I did: type `M-:' (i.e. Alt+:) and at the
minibuffer prompt enter `(outline-minor-mode-highlight-buffer)'.  But
it's supposed to be called by outline-minor-mode when the major mode
doesn't support font-lock.  Maybe you should file a bug report (`M-x
report-emacs-bug').

Steve Berman



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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 18:13           ` pauline-galea
  2021-05-27 18:27             ` Stephen Berman
@ 2021-05-27 19:04             ` Philip Kaludercic
  2021-05-27 19:17               ` pauline-galea
  1 sibling, 1 reply; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27 19:04 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

pauline-galea@gmx.com writes:

> All three subheaditgs look the same to me.  That was my point, the
> result in not pretty
> and the capability requires more work.

My bad then, I thought you were saying that the headlines were not
highlighted at all.

> 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?

-- 
	Philip K.



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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 18:58                 ` Stephen Berman
@ 2021-05-27 19:11                   ` pauline-galea
  0 siblings, 0 replies; 17+ messages in thread
From: pauline-galea @ 2021-05-27 19:11 UTC (permalink / raw)
  To: Stephen Berman; +Cc: Philip Kaludercic, Help Gnu Emacs

> Sent: Friday, May 28, 2021 at 6:58 AM
> From: "Stephen Berman" <stephen.berman@gmx.net>
> To: pauline-galea@gmx.com
> Cc: "Philip Kaludercic" <philipk@posteo.net>, "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> On Thu, 27 May 2021 20:36:50 +0200 pauline-galea@gmx.com wrote:
>
> >> >> > Do you get different heading colours for the three heading levels below?
> >> >> >
> >> >> > ;;; * heading 1
> >> >> > ;; brief body
> >> >> > ;;;; ** subheading 1.1
> >> >> > ;; brief body
> >> >> > ;;;;; *** subsubheading 1.1.1
> >> >> > ;; brief body
> >> >>
> >> >> Yes, I'll attach a screenshot below. It's not pretty, but I notice a
> >> >> difference.
> >> >
> >> > All three subheaditgs look the same to me.  That was my point, the
> >> > result in not pretty and the capability requires more work.  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.
> >>
> >> After doing `M-: (outline-minor-mode-highlight-buffer)' I see the three
> >> headings in different colors.
> >>
> >> Steve Berman
> >
> > Why is this all so difficult !!!
> >
> > How do I use "outline-minor-mode-highlight-buffer".  It is not an
> > interactive function.  Have tried executing with "C-x C-e" but nothing
> > took effect.
>
> You can invoke it like I did: type `M-:' (i.e. Alt+:) and at the
> minibuffer prompt enter `(outline-minor-mode-highlight-buffer)'.  But
> it's supposed to be called by outline-minor-mode when the major mode
> doesn't support font-lock.  Maybe you should file a bug report (`M-x
> report-emacs-bug').
>
> Steve Berman
>

I figured it out.  It is the same as using "C-x C-e" from an elisp file. Have executed
your suggested command using "M-:" and still I cannot see a very noticeable differences
between heading levels.

Thank you.  I also think that outline-mode needs a bug report for some changes to be made
to the code.





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

* "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 19:04             ` Philip Kaludercic
@ 2021-05-27 19:17               ` pauline-galea
  2021-05-27 19:22                 ` Philip Kaludercic
  0 siblings, 1 reply; 17+ messages in thread
From: pauline-galea @ 2021-05-27 19:17 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: Help Gnu Emacs

> Sent: Friday, May 28, 2021 at 7:04 AM
> From: "Philip Kaludercic" <philipk@posteo.net>
> To: pauline-galea@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
>
> pauline-galea@gmx.com writes:
>
> > All three subheaditgs look the same to me.  That was my point, the
> > result in not pretty
> > and the capability requires more work.
>
> My bad then, I thought you were saying that the headlines were not
> highlighted at all.

I was pointing out that different headline levels are not being highlighted
differently as the code implies.  Thanks for confirming.

> > 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?

Have seen some bug reports, only to have the bug reports closed by the maintainers
because the p9roblems do not bother them.  Would need some help to convince them.

You seem to understand what's wrong.

> --
> 	Philip K.
>
>



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

* Re: "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight
  2021-05-27 19:17               ` pauline-galea
@ 2021-05-27 19:22                 ` Philip Kaludercic
  0 siblings, 0 replies; 17+ messages in thread
From: Philip Kaludercic @ 2021-05-27 19:22 UTC (permalink / raw)
  To: pauline-galea; +Cc: Help Gnu Emacs

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?
>
> Have seen some bug reports, only to have the bug reports closed by the maintainers
> because the p9roblems do not bother them.  Would need some help to convince them.
>
> You seem to understand what's wrong.

Sure, just Cc me in the bug report.

-- 
	Philip K.



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

end of thread, other threads:[~2021-05-27 19:22 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-26 17:35 "emacs-28.0.50 -q" and "emacs-28.0.50 -Q" with outline-minor-mode-highlight pauline-galea
2021-05-27  9:54 ` Philip Kaludercic
2021-05-27 13:38   ` pauline-galea
2021-05-27 13:47     ` Philip Kaludercic
2021-05-27 15:07       ` pauline-galea
2021-05-27 17:06         ` Philip Kaludercic
2021-05-27 17:13           ` pauline-galea
2021-05-27 17:03       ` pauline-galea
2021-05-27 17:34         ` Philip Kaludercic
2021-05-27 18:13           ` pauline-galea
2021-05-27 18:27             ` Stephen Berman
2021-05-27 18:36               ` pauline-galea
2021-05-27 18:58                 ` Stephen Berman
2021-05-27 19:11                   ` pauline-galea
2021-05-27 19:04             ` Philip Kaludercic
2021-05-27 19:17               ` pauline-galea
2021-05-27 19:22                 ` Philip Kaludercic

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).