From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org table toggle narrowing and true column hiding Date: Wed, 28 Jun 2017 23:51:52 +0200 Message-ID: <877ezvg4qv.fsf@nicolasgoaziou.fr> References: <87o9thk827.fsf@mat.ucm.es> <87mv8z7v80.fsf@nicolasgoaziou.fr> <87podvowxl.fsf@mat.ucm.es> <87r2y94vq0.fsf@nicolasgoaziou.fr> <87fuephz8y.fsf@mat.ucm.es> <87efu93rua.fsf@nicolasgoaziou.fr> <87lgogdm9q.fsf@mat.ucm.es> <874lv1hzok.fsf@nicolasgoaziou.fr> <877ezw1m33.fsf@mat.ucm.es> <87fuejgav8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQKsP-0006Hm-Md for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 17:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQKsO-0004vG-UL for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 17:51:57 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42010) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQKsO-0004uN-OI for emacs-orgmode@gnu.org; Wed, 28 Jun 2017 17:51:56 -0400 In-Reply-To: (Samuel Wales's message of "Wed, 28 Jun 2017 13:53:37 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Samuel Wales writes: > never mind. just would not want only on the fly. Actually, from an Model-View-Controller point of view, storing narrowing cookies in the table is mixing Model and View. Narrowing a new column requires to change the data, which is bad. Furthermore, narrowing cookies influence export, so this is not gratuitous at all. IMO, dynamic narrowing makes much more sense than static one. >>> - toggle: remove spc and | and use a minimal column -t or align.el >>> type setup > > spc and | waste space. i am saying toggle minimal presentation of table. There is no space in shrunk columns. Such a column looks like this: |=E2=80= =A6| True, there are still "|", but removing them would be ambiguous: | and so on=E2=80=A6until |=20=20=20=20=20=20 vs | and so on |=E2=80=A6| until | Expanded columns still have to be readable. >>> - edit: similar to c-c ' for babel blocks, but opens up a really >>> nice ses type spreadsheet >> >> This is unrelated to column narrowing, isn't it? > > for me, column narrowing is to preserve space. a c-c ' for a nice ses > type spreadsheet might be a better truncation scheme for some.=20=20 Since I don't know what is a "nice SES type spreadsheet", I cannot comment on this. Do you mean that C-c ' should open the table as an SES spreadsheet? If so, converting the data would be easy, converting the formulas more difficult. > for example, you go to a cell and [formula and contents] shows in > minibuffer. also intuitive imo. How is this an example for the above idea? SES is a spreadsheet whereas the above is about using minibuffer to display fields. This can be implemented independently of columns narrowing so this is orthogonal to the current patch. Regards,