emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org table toggle narrowing and true column hiding
Date: Wed, 28 Jun 2017 23:51:52 +0200	[thread overview]
Message-ID: <877ezvg4qv.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJcAo8tZz-5VqPP48u43FRttkhKLmfnkkVNMmoK9-BmGsGruHQ@mail.gmail.com> (Samuel Wales's message of "Wed, 28 Jun 2017 13:53:37 -0700")

Samuel Wales <samologist@gmail.com> 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: |…|

True, there are still "|", but removing them would be ambiguous:

    | and so on…until |      

vs

   | and so on |…| 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.  

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,

  reply	other threads:[~2017-06-28 21:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21  9:24 org table toggle narrowing and true column hiding Uwe Brauer
2017-06-22 18:06 ` Nicolas Goaziou
2017-06-23  9:49   ` Uwe Brauer
2017-06-24  8:48     ` Nicolas Goaziou
2017-06-24 21:06       ` Uwe Brauer
2017-06-24 23:10         ` Nicolas Goaziou
2017-06-25 17:12           ` Uwe Brauer
2017-06-27 21:46             ` Nicolas Goaziou
2017-06-28  9:46               ` Uwe Brauer
2017-06-28 19:35                 ` Samuel Wales
2017-06-28 19:39                   ` Nicolas Goaziou
2017-06-28 20:53                     ` Samuel Wales
2017-06-28 21:51                       ` Nicolas Goaziou [this message]
2017-06-29  8:00               ` [rows?] (was: org table toggle narrowing and true column hiding) Uwe Brauer
2017-07-01  9:57                 ` [rows?] Nicolas Goaziou
2017-06-23 16:23 ` org table toggle narrowing and true column hiding Michael Brand
2017-06-23 21:21   ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ezvg4qv.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).