From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#30056: 25.3; battery-mode-line-string missing leading space Date: Fri, 23 Jul 2021 21:23:58 +0300 Organization: LINKOV.NET Message-ID: <87pmv8yk0t.fsf@mail.linkov.net> References: <83fu7d68bf.fsf@gnu.org> <834lnt5ybx.fsf@gnu.org> <83mv1k4cd1.fsf@gnu.org> <87tuxa39c7.fsf@gnus.org> <87zgueigdt.fsf@gnus.org> <87eebpdwmv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Allen Li , 30056@debbugs.gnu.org, Glenn Morris To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 23 20:25:32 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 1m6zrY-0002QU-Eq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 20:25:32 +0200 Original-Received: from localhost ([::1]:47026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6zrX-0001jN-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 14:25:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6zr5-0001ix-4w for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 14:25:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6zr4-0005cU-Qj for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 14:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6zr4-0002Ly-FH for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2021 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 30056-submit@debbugs.gnu.org id=B30056.16270646759008 (code B ref 30056); Fri, 23 Jul 2021 18:25:02 +0000 Original-Received: (at 30056) by debbugs.gnu.org; 23 Jul 2021 18:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:44600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6zqd-0002LE-BV for submit@debbugs.gnu.org; Fri, 23 Jul 2021 14:24:35 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:54989) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6zqc-0002L1-Ar for 30056@debbugs.gnu.org; Fri, 23 Jul 2021 14:24:34 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 82509FF803; Fri, 23 Jul 2021 18:24:26 +0000 (UTC) In-Reply-To: <87eebpdwmv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 23 Jul 2021 14:48:08 +0200") 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:210606 Archived-At: >> A less breakey change is to institute a different rule: All >> `global-mode-string' elements have to have a trailing space. That'll be >> less breakey, but may add spaces before the "----" in terminals. > > I've now done this, and it doesn't add spaces before the "---" bit. > > I grepped through the Emacs tree to see whether any other packages have > problems in this area, but the ones I skimmed seemed to already adhere > to this previous non-convention (i.e., they added a space at the end). > But I may have missed some, of course. This change broke tab-bar.el that expected that the default value of mode-line-misc-info contains (global-mode-string ("" global-mode-string " ")). BTW, 9dfa94aed1 duplicated 3 paragraphs in etc/NEWS.