unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Lucid menu appears changed by emacs-29
@ 2022-07-20  6:47 Colin Baxter
  2022-07-20  9:00 ` Manuel Giraud
  2022-07-20 11:06 ` Po Lu
  0 siblings, 2 replies; 4+ messages in thread
From: Colin Baxter @ 2022-07-20  6:47 UTC (permalink / raw)
  To: help-gnu-emacs


I compile emacs using lucid as the x-toolkit. I also use menu-bar-open
<f10>, with my theme file containing the line

--8<---------------cut here---------------start------------->8---

'(menu ((((type x-toolkit)) (:background "grey20" :foreground "white" :box (:line-width 2 :color "white" :style released-button)))))

--8<---------------cut here---------------end--------------->8---

This works well in emacs-28.1 with the menu lines appearing white on a
grey20 background and remaining so whenever a selected box is raised.

Up until recently this also worked well in emacs-29.0.50. Now however in
emacs-28.0.50, a selected menu line appears black on the grey20
background, which makes it difficult to read.

Retaining the grey20 background, how can I ensure that a selected menu
line does not change to black but stays white in emacs-29.0.1? I prefer
to use a lisp solution rather than modify ~/.Xdefaults.

Thank you.

Colin Baxter.





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

* Re: Lucid menu appears changed by emacs-29
  2022-07-20  6:47 Lucid menu appears changed by emacs-29 Colin Baxter
@ 2022-07-20  9:00 ` Manuel Giraud
  2022-07-20 11:06 ` Po Lu
  1 sibling, 0 replies; 4+ messages in thread
From: Manuel Giraud @ 2022-07-20  9:00 UTC (permalink / raw)
  To: Colin Baxter; +Cc: help-gnu-emacs

Colin Baxter <m43cap@yandex.com> writes:

> I compile emacs using lucid as the x-toolkit. I also use menu-bar-open
> <f10>, with my theme file containing the line
>
>
> '(menu ((((type x-toolkit)) (:background "grey20" :foreground "white" :box (:line-width 2 :color "white" :style released-button)))))
>
> This works well in emacs-28.1 with the menu lines appearing white on a
> grey20 background and remaining so whenever a selected box is raised.
>
> Up until recently this also worked well in emacs-29.0.50. Now however in
> emacs-28.0.50, a selected menu line appears black on the grey20
> background, which makes it difficult to read.
>
> Retaining the grey20 background, how can I ensure that a selected menu
> line does not change to black but stays white in emacs-29.0.1? I prefer
> to use a lisp solution rather than modify ~/.Xdefaults.

Ouch, it should be my patch (38f9e9cb2c).  I'm mostly using .Xdefaults
so I'll try to reproduce with your lisp solution.  Thanks.
-- 
Manuel Giraud



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

* Re: Lucid menu appears changed by emacs-29
  2022-07-20  6:47 Lucid menu appears changed by emacs-29 Colin Baxter
  2022-07-20  9:00 ` Manuel Giraud
@ 2022-07-20 11:06 ` Po Lu
  2022-07-20 11:31   ` Colin Baxter
  1 sibling, 1 reply; 4+ messages in thread
From: Po Lu @ 2022-07-20 11:06 UTC (permalink / raw)
  To: Colin Baxter; +Cc: help-gnu-emacs

Colin Baxter <m43cap@yandex.com> writes:

> I compile emacs using lucid as the x-toolkit. I also use menu-bar-open
> <f10>, with my theme file containing the line
>
>
> '(menu ((((type x-toolkit)) (:background "grey20" :foreground "white" :box (:line-width 2 :color "white" :style released-button)))))
>
> This works well in emacs-28.1 with the menu lines appearing white on a
> grey20 background and remaining so whenever a selected box is raised.
>
> Up until recently this also worked well in emacs-29.0.50. Now however in
> emacs-28.0.50, a selected menu line appears black on the grey20
> background, which makes it difficult to read.
>
> Retaining the grey20 background, how can I ensure that a selected menu
> line does not change to black but stays white in emacs-29.0.1? I prefer
> to use a lisp solution rather than modify ~/.Xdefaults.
>
> Thank you.
>
> Colin Baxter.

Should be fixed now, thanks.



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

* Re: Lucid menu appears changed by emacs-29
  2022-07-20 11:06 ` Po Lu
@ 2022-07-20 11:31   ` Colin Baxter
  0 siblings, 0 replies; 4+ messages in thread
From: Colin Baxter @ 2022-07-20 11:31 UTC (permalink / raw)
  To: Po Lu; +Cc: help-gnu-emacs

>>>>> Po Lu <luangruo@yahoo.com> writes:

    > Colin Baxter <m43cap@yandex.com> writes:
    >> I compile emacs using lucid as the x-toolkit. I also use
    >> menu-bar-open <f10>, with my theme file containing the line
    >> 
    >> 
    >> '(menu ((((type x-toolkit)) (:background "grey20" :foreground
    >> "white" :box (:line-width 2 :color "white" :style
    >> released-button)))))
    >> 
    >> This works well in emacs-28.1 with the menu lines appearing white
    >> on a grey20 background and remaining so whenever a selected box
    >> is raised.
    >> 
    >> Up until recently this also worked well in emacs-29.0.50. Now
    >> however in emacs-28.0.50, a selected menu line appears black on
    >> the grey20 background, which makes it difficult to read.
    >> 
    >> Retaining the grey20 background, how can I ensure that a selected
    >> menu line does not change to black but stays white in
    >> emacs-29.0.1? I prefer to use a lisp solution rather than modify
    >> ~/.Xdefaults.
    >> 
    >> Thank you.
    >> 
    >> Colin Baxter.

    > Should be fixed now, thanks.

Yes, I can confirm it's fixed. Thank you all very much.

Best wishes,

Colin.



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

end of thread, other threads:[~2022-07-20 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-20  6:47 Lucid menu appears changed by emacs-29 Colin Baxter
2022-07-20  9:00 ` Manuel Giraud
2022-07-20 11:06 ` Po Lu
2022-07-20 11:31   ` Colin Baxter

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