emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table aligning and editing in 9.2
@ 2017-09-07 14:12 William Denton
  2017-09-07 14:27 ` William Denton
  0 siblings, 1 reply; 6+ messages in thread
From: William Denton @ 2017-09-07 14:12 UTC (permalink / raw)
  To: emacs-orgmode

The new approach to table alignment, that will be in 9.2, is there now if you 
compile from source, which I did.  etc/ORG-NEWS says

> ** Incompatible changes
> *** =align= STARTUP value no longer narrow table columns
>
> Columns narrowing (or shrinking) is now dynamic. See [[*Dynamically
> narrow table columns]] for details. In particular, it is decoupled from
> aligning.

I can't find the "Dynamically narrow table columns" documentation, though. 
Where is it?

My main question is: Is it now necessary to use C-c ` to edit a cell in a table? 
Moving the point around skips from cell to cell without letting me edit it.  I 
hope this isn't permanent. :(

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Table aligning and editing in 9.2
  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
  0 siblings, 1 reply; 6+ messages in thread
From: William Denton @ 2017-09-07 14:27 UTC (permalink / raw)
  To: emacs-orgmode

On 7 September 2017, William Denton wrote:

> I can't find the "Dynamically narrow table columns" documentation, though. 
> Where is it?

Aha, checking the Git commit I see it (in doc/org.texi).  (The title doesn't 
match, which threw me off.)

"To see the full text, hold the mouse over the field---a tool-tip window
will show the full content.  To edit such a field, use the command
@kbd{C-c `} (that is @kbd{C-c} followed by the grave accent).  This will
open a new window with the full field."

I wish I'd tested this before and noticed this, so I could comment.  It makes 
using tables much less pleasurable, I think.

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Table aligning and editing in 9.2
  2017-09-07 14:27 ` William Denton
@ 2017-09-07 14:35   ` Nicolas Goaziou
  2017-09-08 14:16     ` William Denton
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2017-09-07 14:35 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

Hello,

William Denton <wtd@pobox.com> writes:

> On 7 September 2017, William Denton wrote:
>
>> I can't find the "Dynamically narrow table columns" documentation,
>> though. Where is it?
>
> Aha, checking the Git commit I see it (in doc/org.texi).  (The title
> doesn't match, which threw me off.)

"Dynamically narrow table columns" is another entry in ORG-NEWS. But
there is, indeed, documentation in "org.texi".

> "To see the full text, hold the mouse over the field---a tool-tip window
> will show the full content.  To edit such a field, use the command
> @kbd{C-c `} (that is @kbd{C-c} followed by the grave accent).  This will
> open a new window with the full field."
>
> I wish I'd tested this before and noticed this, so I could comment.
> It makes using tables much less pleasurable, I think.

The above was also available in previous implementation of narrowed
columns.

What workflow are you missing? Note that typing in a shrunk column
expands it.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Table aligning and editing in 9.2
  2017-09-07 14:35   ` Nicolas Goaziou
@ 2017-09-08 14:16     ` William Denton
  2017-09-08 19:41       ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: William Denton @ 2017-09-08 14:16 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

On 7 September 2017, Nicolas Goaziou wrote:

> What workflow are you missing? Note that typing in a shrunk column
> expands it.

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.

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.

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.

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

So the workflow is different, and in each piece it's more awkward.  Everything 
works---and I appreciate that the code and implementation is much cleaner 
now---but it seems like some of the magic that makes Org tables so wonderful is 
now gone. :(

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Table aligning and editing in 9.2
  2017-09-08 14:16     ` William Denton
@ 2017-09-08 19:41       ` Nicolas Goaziou
  2017-09-12 16:49         ` Kaushal Modi
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2017-09-08 19:41 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

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,

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Table aligning and editing in 9.2
  2017-09-08 19:41       ` Nicolas Goaziou
@ 2017-09-12 16:49         ` Kaushal Modi
  0 siblings, 0 replies; 6+ messages in thread
From: Kaushal Modi @ 2017-09-12 16:49 UTC (permalink / raw)
  To: Nicolas Goaziou, William Denton; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

On Fri, Sep 8, 2017 at 3:42 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> William Denton <wtd@pobox.com> writes:
> > 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.
>

I was initially bummed by the same observation that William made too.. that
you now needed to first do C-c ` for editting shrunk cells. So thanks for
that C-c TAB tip. That workflow works for me.
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1284 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-09-12 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2017-09-12 16:49         ` Kaushal Modi

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).