From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list: extend truncation into next align-right col Date: Tue, 01 Nov 2016 08:41:24 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1478005940 7525 195.159.176.226 (1 Nov 2016 13:12:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2016 13:12:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 01 14:12:16 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1YrJ-0000ed-5p for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2016 14:12:09 +0100 Original-Received: from localhost ([::1]:47802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1YrL-000449-QX for ged-emacs-devel@m.gmane.org; Tue, 01 Nov 2016 09:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1Yn1-0000ib-DO for emacs-devel@gnu.org; Tue, 01 Nov 2016 09:07:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Ymw-0008LS-FQ for emacs-devel@gnu.org; Tue, 01 Nov 2016 09:07:43 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35804) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Ymw-0008Kz-Ah for emacs-devel@gnu.org; Tue, 01 Nov 2016 09:07:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CaBgALW9BX/+953mhdHAEBBAEBgy0BAQEBAR6ETYVQsXmGFgQCAoFpPRABAgEBAQEBAQFeJ4RiAQEEViMQCzQSFBgNJIhdvFUBAQgCJYp9ihwBBJlZmQ2GC5BLNR+EbCCGCgEBAQ X-IPAS-Result: A0CaBgALW9BX/+953mhdHAEBBAEBgy0BAQEBAR6ETYVQsXmGFgQCAoFpPRABAgEBAQEBAQFeJ4RiAQEEViMQCzQSFBgNJIhdvFUBAQgCJYp9ihwBBJlZmQ2GC5BLNR+EbCCGCgEBAQ X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="277846618" Original-Received: from 104-222-121-239.cpe.teksavvy.com (HELO pastel.home) ([104.222.121.239]) by smtp.teksavvy.com with ESMTP; 01 Nov 2016 09:07:35 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 39354600D8; Tue, 1 Nov 2016 08:41:24 -0400 (EDT) In-Reply-To: (Tino Calancha's message of "Tue, 1 Nov 2016 12:31:42 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209056 Archived-At: > ;; Without computing maximum widths: > C1 C2 Numbers > abc **************************************... 123456 > abc *******************************************... 1 > abc ************************************ 123 That's exactly what used to happen in *Buffer List* (and the source for this TODO item). It wasn't that bad (I can't remember any user complaints about it). Admittedly, we could do better: compute the max width not of the whole column but of the current line, and the two surrounding ones. This way we'd avoid abc **************************************... 123456 abc *****************************************... 123 abc ************************************ 456 yet we'd allow abc **************************************... 123456 abc **************************************... 123 abc *****************************************... 1 -- Stefan