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#72309: propertized-buffer-identification with maximum width Date: Sat, 27 Jul 2024 15:05:23 +0300 Message-ID: <86v80r11mk.fsf@gnu.org> References: <8eYtcka1bg4aOfbQVrzRShsG1EtNIu1JLO9XlRoQXZ4Q7yqojew5kxXcml4s-JdvwA7hgEdo_0-YEQf0zknb2wq9aS_-rgwEZB0ZT9y6QWM=@protonmail.com> <86jzh72xml.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72309@debbugs.gnu.org To: Heime Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 27 14:08:11 2024 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 1sXgDb-0000n0-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Jul 2024 14:08:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXgDO-0001uj-Lh; Sat, 27 Jul 2024 08:07:58 -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 1sXgDI-0001tl-Tl for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 08:07:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXgDI-0005He-Fh for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 08:07:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=sMdHJtSqVMs9YnWsFBZcQcL3xGmXjtKKn/ogwNFQMTc=; b=WgUuiPUxEakeWAWRiBi21Mf7QNEP3rKc9aelumITaWER9R1n9HMYnmpMkZqv9fIKoAuTFOkKELhHysB1MhbOXkPJoEoHgEongL7lD/yhuoaLOFZ9HYtGyrk8bZm+qH/fhY+WMoHxiUUyE4SL3HKRywTVWOpmKE6u6l9gt0i1t+Vos3Xvl+iAzT8ldKcvENypBO01IhEFt9EnovFgy0nd0gjepN7//lQ9xbgaB6otQdpwxY8nUYxqIRiuKiKndJytU1f0SHL8x1hnRqx2hVHspnNzX2KkGGssiFsgGQ8fmNWMkaYa0/yd4bO5R0H7HoNMwpGBtwkPMxKNS/aH0ltCwA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXgDR-0000cq-UF for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 08:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2024 12:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72309 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 72309-submit@debbugs.gnu.org id=B72309.17220820732374 (code B ref 72309); Sat, 27 Jul 2024 12:08:01 +0000 Original-Received: (at 72309) by debbugs.gnu.org; 27 Jul 2024 12:07:53 +0000 Original-Received: from localhost ([127.0.0.1]:40788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXgDJ-0000c2-9T for submit@debbugs.gnu.org; Sat, 27 Jul 2024 08:07:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXgDG-0000bM-Oh for 72309@debbugs.gnu.org; Sat, 27 Jul 2024 08:07:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXgAv-0004xj-LM; Sat, 27 Jul 2024 08:05:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sMdHJtSqVMs9YnWsFBZcQcL3xGmXjtKKn/ogwNFQMTc=; b=BxSr/DDXuZMHXeduHXOV g5htgzplOXaco/CvPDU10oZotsh1foyHiv3Lnapie+M49nbx8haCxDMldDeYKfZmFhtCMUIdUSSyj o2tUGvvsZrY/UaZBc5D+ChRQBaLJuutTkhtDSRkINUL8iQ6iuiBv3QMLuEhvDyUYxWcmnkca01sLt y8ztALUTEpMazw5r8gJ6j3SSHMsOoCtj0oczcX7n0VGz4s14pCWoYL4N9qyUR0Vd51HwOOlS8FL03 TrvzTQIwtDHlNNwv8+w1HldwyOEawWg9gEB8ER21/2j/Dpbwdx4bSpVdlzIMu7Q6Du3FoORH8rBSX wwoxboZ9LM7ryA==; In-Reply-To: (message from Heime on Sat, 27 Jul 2024 09:22:21 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289425 Archived-At: > Date: Sat, 27 Jul 2024 09:22:21 +0000 > From: Heime > Cc: 72309@debbugs.gnu.org > > On Saturday, July 27th, 2024 at 5:48 PM, Eli Zaretskii wrote: > > > tags 72309 notabug > > thanks > > > > > Date: Fri, 26 Jul 2024 19:04:14 +0000 > > > From: Heime via "Bug reports for GNU Emacs, > > > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org > > > > > > propertized-buffer-identification could be improved so that when using a > > > maximum width there are three dots and a space at the end to indicate > > > that the buffer name has been truncated. > > > > > > Emacs doesn't truncate the buffer name shown on the mode line, so no > > ellipsis should be needed, ever. IOW, the maximum width is basically > > infinity. > > > > Where did you see the buffer name truncated on the mode line? > > > There is this construct > > (width rest…) > > which specifies truncation or padding of the results of rest. > > If used on the buffer name it just truncates without specification > that truncation occurred. Where in the Emacs code did you see that? I cannot find anything like that in bindings.el, which is where we have the code used for displaying the buffer name on the mode line.