emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Org 9.2.1 table issues [9.2.1 (9.2.1-dist @ /Users/nick/.emacs.d/lisp/org-9.2.1/)]
@ 2019-02-15  0:29 Nick Helm
  2019-02-15 10:50 ` Nicolas Goaziou
  0 siblings, 1 reply; 15+ messages in thread
From: Nick Helm @ 2019-02-15  0:29 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I recently installed Org 9.2.1 and encountered a few bugs / issues with
the new implementaion of Org tables:

1. columns do not correctly align when using a combined alignment and
   width cookie

2. shrinking to a specified column width indicates continuation /
   truncation where none exists

3. editing a cell narrower than its specified column width unnecessarily
   expands the entire column.

Several "Invalid function: org-table-with-shrunk-field" errors also show
up in *Messages* during these operations. (it's a macro)

Recipes:

Emacs -Q
(org-version) -> "9.2.1"

1.

Create a new table:

| one                  |
| two is a longer cell |

Add a right alignment override and realign with C-c C-c:

|                  <r> |
|                  one |
| two is a longer cell |

Specify a column width:

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


2.

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…|


3.

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


Emacs  : GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, Carbon Version 158 AppKit 1671.2)
 of 2019-02-08
Package: Org mode version 9.2.1 (9.2.1-dist @ /Users/nick/.emacs.d/lisp/org-9.2.1/)

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

end of thread, other threads:[~2019-02-26 10:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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