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: Mon, 31 Oct 2016 14:40:20 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477940300 23043 195.159.176.226 (31 Oct 2016 18:58:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2016 18:58:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 31 19:58: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 1c1HmV-0003zM-AV for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2016 19:58:03 +0100 Original-Received: from localhost ([::1]:37979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1HmY-0001Zd-2Z for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2016 14:58:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1HVT-0002Rk-Cx for emacs-devel@gnu.org; Mon, 31 Oct 2016 14:40:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1HVQ-0006cb-6r for emacs-devel@gnu.org; Mon, 31 Oct 2016 14:40:27 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1HVQ-0006c2-28 for emacs-devel@gnu.org; Mon, 31 Oct 2016 14:40:24 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u9VIeKZ9001227; Mon, 31 Oct 2016 14:40:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 59C2A6622D; Mon, 31 Oct 2016 14:40:20 -0400 (EDT) In-Reply-To: (Tino Calancha's message of "Tue, 1 Nov 2016 02:41:00 +0900 (JST)") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV5844=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5844> : inlines <5391> : streams <1718464> : uri <2318456> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:209035 Archived-At: > + ;; TODO: don't truncate to `width' if the next column is align-right > + ;; and has some space left. [...] > +(defvar-local tabulated-list--col-max-widths nil By "some space left" I meant "in the current line", so there shouldn't be any need to compute the maximum width. Stefan