From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52183: 29.0.50; Empty space in the mode line if server-mode is active Date: Sat, 04 Dec 2021 21:36:43 +0200 Message-ID: <83czmc5fhw.fsf@gnu.org> References: <87tufvkl5f.fsf@mssdvd.com> <83y25067bw.fsf@gnu.org> <87ee6s1yny.fsf@mssdvd.com> <83wnkk64tz.fsf@gnu.org> <83tufo60n7.fsf@gnu.org> <875ys46vjf.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15914"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52183@debbugs.gnu.org, dm@mssdvd.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 04 20:37:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtaqX-0003yy-Aa for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 20:37:21 +0100 Original-Received: from localhost ([::1]:54882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtaqV-0001Xi-4V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 14:37:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtaqE-0001XP-Ge for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 14:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtaqE-000389-8y for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 14:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtaqD-0007TY-UL for bug-gnu-emacs@gnu.org; Sat, 04 Dec 2021 14:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Dec 2021 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52183 X-GNU-PR-Package: emacs Original-Received: via spool by 52183-submit@debbugs.gnu.org id=B52183.163864661928727 (code B ref 52183); Sat, 04 Dec 2021 19:37:01 +0000 Original-Received: (at 52183) by debbugs.gnu.org; 4 Dec 2021 19:36:59 +0000 Original-Received: from localhost ([127.0.0.1]:55015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtaqB-0007TG-2w for submit@debbugs.gnu.org; Sat, 04 Dec 2021 14:36:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtaq9-0007T4-BF for 52183@debbugs.gnu.org; Sat, 04 Dec 2021 14:36:58 -0500 Original-Received: from [2001:470:142:3::e] (port=43226 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtaq2-00037W-Af; Sat, 04 Dec 2021 14:36:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kZ1kWPImgUNcJMOqDpQyrifPGCMCDMyLGl89VeF4kkg=; b=fOF1XQxTmc1R hAulvurum8geshDpvsHeV0maEFi8NrF2fzgtFksOB33cekiktsiFSImyIr59uF7+MDscpttijFTHx OLSTNZdMuRddXk8f4XpkDINo3++Nckssnh9byHfAUzefC4iPHC1Lbu03Bp5toYvRRFRI1Gmsz2Kin sKV6e0UiJAakT8Zbzh3/dXTg39IpHFKkzu1AAMI1GIUoYVQh0IjdqNpRVfqGLVBBhndryCrfYHq3l SVpBLXS5teu9WRCXOgOYW3t1Wnrm1uHY3rUMCm6O8I6lgpCEgkKsj0babUcLWeor9qGTjcumYFB9f sYEoHChbHEhJ0DSnIu76SQ==; Original-Received: from [87.69.77.57] (port=3648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtaq2-0008J6-2l; Sat, 04 Dec 2021 14:36:50 -0500 In-Reply-To: <875ys46vjf.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 04 Dec 2021 20:04:52 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221488 Archived-At: > From: Lars Ingebrigtsen > Cc: dm@mssdvd.com, 52183@debbugs.gnu.org > Date: Sat, 04 Dec 2021 20:04:52 +0100 > > Eli Zaretskii writes: > > > Bottom line: I think to make this work as intended, bindings.el should > > be modified to produce a Lisp string from all those 4 elements, by > > concatenating them, and then the min-width display spec should be put > > on the result of the concatenation. > > I thought we were going to fix min-width so that that machinery was also > called on the C strings (that are going to end up having the text > property added afterwards)? I still plan on doing that, but I don't see how it would help here. AFAIU, it will make the result worse. The main point of what I wrote is that we actually display the whole 5-to-6 character sequence of indicators as 4 separate strings, not as a single string made of concatenation of those 4. So even if/when the min-width stuff is fixed as we discussed, you will have 4 strings displayed one after the other, and each one of them has the min-width spec, so each one of them will be displayed as at least 5 characters. And that's not what you want here.