emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52324: closed (29.0.50; "Padded" mode line lacks uniform border)


From: GNU bug Tracking System
Subject: bug#52324: closed (29.0.50; "Padded" mode line lacks uniform border)
Date: Mon, 13 Dec 2021 07:01:02 +0000

Your message dated Mon, 13 Dec 2021 15:00:14 +0800
with message-id <87wnk9ugzl.fsf@yahoo.com>
and subject line Re: bug#52324: 29.0.50; "Padded" mode line lacks uniform border
has caused the debbugs.gnu.org bug report #52324,
regarding 29.0.50; "Padded" mode line lacks uniform border
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52324: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52324
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.50; "Padded" mode line lacks uniform border Date: Mon, 06 Dec 2021 10:58:02 +0200
Dear maintainers,

In an emacs -Q session with version 27 we could evaluate the following
to make the mode line look more spacious ("padded", so to speak):

    (setq x-underline-at-descent-line t)

    (set-face-attribute 'mode-line nil
                        :foreground "black"
                        :background "gray80"
                        :box '(:line-width 6 :color "gray80")
                        :overline "gray30"
                        :underline "gray30"
                        :distant-foreground 'unspecified)

Whereas with master, the same results in a box with interrupted lines.

I attach screenshots, for your convenience.

* The emacs-27-mode-line-padded.png shows how it used to work on Emacs
  27.

* The emacs-29-mode-line-padded.png exhibits the current stylistic
  inconsistency.

Furthermore, there exists an invisible button (?) to the left of the
"All" text.  The emacs-29-mode-line-padded-mouse-pointer-button.png
shows it and also captures the tooltip.  (Maybe these are related to the
same underlying change on how the mode line is produced, otherwise I can
file a separate bug report).

All the best,
Protesilaos

-- 
Protesilaos Stavrou
https://protesilaos.com

Attachment: emacs-27-mode-line-padded.png
Description: PNG image

Attachment: emacs-29-mode-line-padded.png
Description: PNG image

Attachment: emacs-29-mode-line-padded-mouse-pointer-button.png
Description: PNG image


--- End Message ---
--- Begin Message --- Subject: Re: bug#52324: 29.0.50; "Padded" mode line lacks uniform border Date: Mon, 13 Dec 2021 15:00:14 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
Protesilaos Stavrou <info@protesilaos.com> writes:

> Good day!
>
> I can confirm that the following works on my end:
>
>     (setq x-underline-at-descent-line t
>           x-use-underline-position-properties nil)
>
>     (set-face-attribute 'mode-line nil
>                         :foreground "black"
>                         :background "gray80"
>                         :box '(:line-width 6 :color "gray80")
>                         :overline "gray30"
>                         :underline "gray30"
>                         :distant-foreground 'unspecified)
>
> M-x emacs-version:
>
>     GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>     3.24.30, cairo version 1.17.4) of 2021-12-13.

Fantastic, thanks for testing!  I'm closing the bug report.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]