emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nick Helm <nick@tenpoint.co.nz>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Bug: Org 9.2.1 table issues [9.2.1 (9.2.1-dist @ /Users/nick/.emacs.d/lisp/org-9.2.1/)]
Date: Fri, 15 Feb 2019 11:50:55 +0100	[thread overview]
Message-ID: <874l95qq9c.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m2k1i199mx.fsf@tenpoint.co.nz> (Nick Helm's message of "Fri, 15 Feb 2019 00:29:45 +0000")

Hello,

Nick Helm <nick@tenpoint.co.nz> writes:

> Create a new table:

[...]

> |                <r40> |
> |                  one |
> | two is a longer cell |
>
> and shrink to size with C-c TAB:
>
> | <r40>                                   …|
> | one                                     …|
> | two is a longer cell                    …|
>
> The column is no longer right aligned. 

This is by design, so you can often edit the field without expanding the
column.

> In the last table above, continuation / truncation / shrunk cell
> characters (…) display even though the column is the full specified
> width (40 char in this case) and no cell text is truncated. I expect
> continuation to only show when text is actually truncated.
>
> In the example above, something like this (mockup):
>
> |                                    <r40> |
> |                                      one |
> |                     two is a longer cell |
>
> And in the case of a narrower column, where a cell contains truncated /
> hidden text, something like this (mockup):
>
> |           <r15> |
> |             one |
> | two is a longer…|

I think this is a matter of taste. 

Of course, this is slightly more informative, but I prefer a more
visible "…" character. It might be confusing otherwise, e.g., if you
edit a narrow column, which suddenly expands because a very large column
below.

> Create a new table and shrink to a specified column width with 
> C-u C-c TAB:
>
> | <15>           …|
> | one            …|
> | two is a longer…|
>
> Move point to the second cell and delete the "e" in "one":
>
> | <15>                 |
> | on                   |
> | two is a longer cell |
>
> The entire column expands, even though this action is not necessary to
> perform the edit (annoying if the column contains other cells with text
> longer than the window width).

I cannot reproduce it. It used to be that way in an old implementation
of shrunk columns, but I don't think it is the case anymore.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2019-02-15 11:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-15  0:29 Bug: Org 9.2.1 table issues [9.2.1 (9.2.1-dist @ /Users/nick/.emacs.d/lisp/org-9.2.1/)] Nick Helm
2019-02-15 10:50 ` Nicolas Goaziou [this message]
2019-02-16  8:48   ` Nick Helm
2019-02-17 17:52     ` Nicolas Goaziou
2019-02-18  8:11       ` Nick Helm
2019-02-18 21:30         ` Nicolas Goaziou
2019-02-18 22:11           ` Nick Helm
2019-02-18 22:44             ` Nicolas Goaziou
2019-02-19  3:16               ` Nick Helm
2019-02-19 10:10                 ` Eric S Fraga
2019-02-19 11:46                   ` Nick Helm
2019-02-21 20:42                   ` Nick Helm
2019-02-26 10:10                     ` Eric S Fraga
2019-02-19 12:17       ` Nick Helm
2019-02-19 16:07         ` Nicolas Goaziou

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=874l95qq9c.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=nick@tenpoint.co.nz \
    /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).