From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 52183@debbugs.gnu.org, dm@mssdvd.com
Subject: bug#52183: 29.0.50; Empty space in the mode line if server-mode is active
Date: Sun, 05 Dec 2021 21:04:19 +0100 [thread overview]
Message-ID: <87tufmq0n0.fsf@gnus.org> (raw)
In-Reply-To: <831r2r5ygi.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Dec 2021 08:59:25 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> That's sheer luck, an artifact of the particular implementation in
> display_min_width. Specifically, the stretch glyph is appended when
> we see a new Lisp string, so the " " separator after those elements
> plays that role. That's why we get that extra space before "@" in the
> situation described by this bug report: that "@" is the first Lisp
> string that follows mode-line-mule-info, and mode-line-mule-info is
> produced as C strings.
Hm... I see... I think. I though I had that covered, but I haven't
tried to re-debug the code after we started discussing this.
> Thus, concatenating the strings before propertizing is really needed
> for this to work on a group of strings.
It's possible, but I thought I was seeing something else. I'll try to
do some more poking at the code.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-12-05 20:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-29 15:59 bug#52183: 29.0.50; Empty space in the mode line if server-mode is active Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 8:57 ` bug#52183: (29.0.50; Empty space in the mode line if server-mode is active) Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 16:52 ` Eli Zaretskii
2021-11-30 17:52 ` Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 18:30 ` Eli Zaretskii
2021-12-04 9:35 ` bug#52183: 29.0.50; Empty space in the mode line if server-mode is active Eli Zaretskii
2021-12-04 9:56 ` Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-04 10:29 ` Eli Zaretskii
2021-12-04 11:59 ` Eli Zaretskii
2021-12-04 19:04 ` Lars Ingebrigtsen
2021-12-04 19:36 ` Eli Zaretskii
2021-12-04 22:01 ` Lars Ingebrigtsen
2021-12-05 6:59 ` Eli Zaretskii
2021-12-05 20:04 ` Lars Ingebrigtsen [this message]
[not found] ` <handler.52183.B.163820159613081.ack@debbugs.gnu.org>
2023-07-28 14:43 ` bug#52183: Acknowledgement (29.0.50; Empty space in the mode line if server-mode is active) Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-29 11:22 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tufmq0n0.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=52183@debbugs.gnu.org \
--cc=dm@mssdvd.com \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).