GNU bug report logs - #52324
29.0.50; "Padded" mode line lacks uniform border

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Mon, 6 Dec 2021 08:59:02 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Protesilaos Stavrou <info <at> protesilaos.com>
Subject: bug#52324: closed (Re: bug#52324: 29.0.50; "Padded" mode line
 lacks uniform border)
Date: Mon, 13 Dec 2021 07:01:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#52324: 29.0.50; "Padded" mode line lacks uniform border

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 52324 <at> debbugs.gnu.org.

-- 
52324: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52324
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 52324-done <at> debbugs.gnu.org
Subject: Re: bug#52324: 29.0.50; "Padded" mode line lacks uniform border
Date: Mon, 13 Dec 2021 15:00:14 +0800
Protesilaos Stavrou <info <at> 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.

[Message part 3 (message/rfc822, inline)]
From: Protesilaos Stavrou <info <at> protesilaos.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; "Padded" mode line lacks uniform border
Date: Mon, 06 Dec 2021 10:58:02 +0200
[Message part 4 (text/plain, inline)]
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
[emacs-27-mode-line-padded.png (image/png, attachment)]
[emacs-29-mode-line-padded.png (image/png, attachment)]
[emacs-29-mode-line-padded-mouse-pointer-button.png (image/png, attachment)]

This bug report was last modified 3 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.