From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Dittmar Subject: Re: Feature request: shrink according to alignment (was Re: Org table columns without width cookies get shrunk on TAB) Date: Thu, 15 Feb 2018 15:04:40 +0100 Message-ID: <8a0b873e-e9ea-2070-d276-702939e99511@gmx.de> References: <87po5638ea.fsf@gmail.com> <87o9kqicys.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emK9Z-00072A-NL for emacs-orgmode@gnu.org; Thu, 15 Feb 2018 09:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emK9T-0001gC-F8 for emacs-orgmode@gnu.org; Thu, 15 Feb 2018 09:04:48 -0500 Received: from mout.gmx.net ([212.227.17.21]:52605) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emK9T-0001fL-58 for emacs-orgmode@gnu.org; Thu, 15 Feb 2018 09:04:43 -0500 Received: from [192.168.175.209] ([87.139.53.30]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LcEPJ-1eKS2m0aXN-00jcEM for ; Thu, 15 Feb 2018 15:04:41 +0100 In-Reply-To: <87o9kqicys.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Am 15.02.2018 um 14:44 schrieb Nicolas Goaziou: > Hello, > > Eric S Fraga writes: > >> For Nicolas or anybody else, I have a feature request. Would it be >> possible to shrink columns taking into account the alignment of the >> column? For instance, I have a right aligned column which, when shrunk >> to a given width, appears empty except for long entries. It would be >> nice if the shrinking happened from the left in this case. > > You would only see the end of the contents, which, in many situations, > is only marginally better than seeing nothing at all. > > Also, this would be optimal for centered columns either. > > I have the feeling that it would some trouble for little benefit. I think what the OP really would like is something like this: remove leading whitespace until everything can be displayed or no more leading whitespace remains, then truncate at the end if necessary. That way as much meaningful contents as possible is displayed. At least that's what I would wish in this situation. Julius