From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Whitespace in mode line of 29.1-rc1 emacsclient frames Date: Thu, 27 Jul 2023 13:40:46 +0200 Message-ID: References: <871qgtmw27.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36358"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 27 13:43:49 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qOzPJ-0009IW-3H for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Jul 2023 13:43:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOzMl-0003hZ-B8; Thu, 27 Jul 2023 07:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qOzMb-0003fm-5F for emacs-devel@gnu.org; Thu, 27 Jul 2023 07:41:01 -0400 Original-Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qOzMV-0003Gh-8A for emacs-devel@gnu.org; Thu, 27 Jul 2023 07:40:59 -0400 In-Reply-To: <871qgtmw27.fsf@gmail.com> (Visuwesh's message of "Thu, 27 Jul 2023 16:59:52 +0530") Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308146 Archived-At: >>>>> On Thu, 27 Jul 2023, Visuwesh wrote: > [=E0=AE=B5=E0=AE=BF=E0=AE=AF=E0=AE=BE=E0=AE=B4=E0=AE=A9=E0=AF=8D =E0=AE= =9C=E0=AF=82=E0=AE=B2=E0=AF=88 27, 2023] Ulrich Mueller wrote: >> With Emacs 28.2 the mode line used to look like this for an emacsclient >> frame (e.g. for the *scratch* buffer): >>=20 >> U:@--- *scratch* All L4 (Lisp Interaction ElDoc) >>=20 >> With Emacs 29.1-rc1 I get: >>=20 >> U: @--- *scratch* All L4 (Lisp Interaction ElDoc) >>=20 >> Especially I wonder about the whitespace between : and @ close to the >> beginning of the line. >> Looks like it originates from (min-width (5.0)) in mode-line-position >> [correction: standard-mode-line-format]? > Yes. See bug#58183 [1]. I see this too but cannot reproduce it > reliably. Unfortunately, I didn't have enough time recently to look > deeply into this issue. > FWIW, this issue goes away if you set mode-line-compact which is why it > took me a long time to notice. > 1. https://yhetil.org/emacs-bugs/87r0ztuaj5.fsf@miha-pc/ Thank you very much! I wasn't aware that mode-line-compact exists. Still, min-width should probably apply to the whole U:@--- string, not to individual characters of it?