emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Table aligning and editing in 9.2
Date: Fri, 08 Sep 2017 21:41:17 +0200	[thread overview]
Message-ID: <877ex9ugf6.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <alpine.DEB.2.02.1709081003210.32477@shell.miskatonic.org> (William Denton's message of "Fri, 8 Sep 2017 10:16:15 -0400 (EDT)")

William Denton <wtd@pobox.com> writes:

> Previously one could edit the contents of a cell in a shrunken column
> without doing anything special: move the point in, move to a position,
> then hit any key (space, delete, a letter), and the change is made.
> If a character is deleted then the => at the end comes closer; if
> added it moves away.  C-c C-c or TAB realigns everything.  Everything
> is directly editable: the text can be operated on without any
> barriers.

No barrier? Try editing directly the text under "=>".

> But now the cell contents are locked until either a) C-C ` opens up an
> edit buffer (which was useful before for editing a long piece of text
> that got shrunk, but is a lot of work when you have something short
> like "Foo" in a <10> column and want to make it "Bar") or, as you
> point out, b) something is typed in the shrunk column.

Or c), simply expand the columns with C-c TAB, and edit the field to
your heart's content.

> But when something is typed in a shrunk column, the column expands and
> the point is now at the start of the cell.  To edit anything in the
> cell, you need to hit "a" or SPC or something just to get in there,
> then you need to delete it, then move to where you want to make
> a change, then edit.

See above.

> And then C-c C-c or TAB doesn't realign things, you need to hit C-c
> TAB.

Either you spotted a bug, or I don't understand. C-c C-c (or TAB) still
re-align things. But it doesn't narrow them again anymore. These are two
different commands.

> So the workflow is different, and in each piece it's more awkward.

You have to admit that the above is, by itself, quite a feat.

So, is there anything wrong with the following workflow:

   expand the column (C-c TAB), edit field, shrink it again (C-c TAB)

?

Regards,

  reply	other threads:[~2017-09-08 19:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 14:12 Table aligning and editing in 9.2 William Denton
2017-09-07 14:27 ` William Denton
2017-09-07 14:35   ` Nicolas Goaziou
2017-09-08 14:16     ` William Denton
2017-09-08 19:41       ` Nicolas Goaziou [this message]
2017-09-12 16:49         ` Kaushal Modi

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=877ex9ugf6.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.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).