From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Problem with new display in buffer-menu command Date: Tue, 05 Dec 2006 19:47:44 -0500 Message-ID: References: <7901483.11418981165262975741.JavaMail.root@vms073.mailsrvcs.net> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165366111 4935 80.91.229.10 (6 Dec 2006 00:48:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 00:48:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 06 01:48:30 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrkxX-0007bO-S2 for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 01:48:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GrkxX-0000C7-D8 for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2006 19:48:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Grkwr-0008Io-K8 for emacs-devel@gnu.org; Tue, 05 Dec 2006 19:47:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Grkwr-0008IS-5n for emacs-devel@gnu.org; Tue, 05 Dec 2006 19:47:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Grkwq-0008IN-W8 for emacs-devel@gnu.org; Tue, 05 Dec 2006 19:47:45 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Grkwr-0000Sx-5t for emacs-devel@gnu.org; Tue, 05 Dec 2006 19:47:45 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Grkwq-0005AD-3q; Tue, 05 Dec 2006 19:47:44 -0500 Original-To: In-reply-to: <7901483.11418981165262975741.JavaMail.root@vms073.mailsrvcs.net> (kevin.gal@verizon.net) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63339 Archived-At: Instead of having one default display width for the Buffer column, support having a default range (or small set) of widths to pick from. When the need to truncate (with the current default width) is first determined, change the current default width to a larger one (in the default range or from the default set of widths) which is capable of displaying the full file name. Then simply re-call the logic to re-generate the display with the new current default width. Something like this might work. It could try various means of omitting part of the names -- from the end, from the middle, whatever -- and pick the first one that makes them all unique. I don't think this is a must-fix, but if someone wants to work on it, we could install it. Probably after the release.