* Table format error
@ 2017-09-14 6:39 Cecil Westerhof
2017-09-14 8:22 ` Eric S Fraga
0 siblings, 1 reply; 2+ messages in thread
From: Cecil Westerhof @ 2017-09-14 6:39 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]
I think I found a table format error.
I created a table and after formatting it looks like:
|-----------+-----------+---------------|
| 1 | Text | 2 |
|-----------+-----------+---------------|
| Some text | Some more | And even more |
|-----------+-----------+---------------|
Then I copy the last row:
|-----------+-----------+---------------|
| 1 | Text | 2 |
|-----------+-----------+---------------|
| Some text | Some more | And even more |
| Some text | Some more | And even more |
|-----------+-----------+---------------|
But when I then format the table,
the last heading goes from right aligned to left aligned:
|-----------+-----------+---------------|
| 1 | Text | 2 |
|-----------+-----------+---------------|
| Some text | Some more | And even more |
| Some text | Some more | And even more |
|-----------+-----------+---------------|
What is happening here?
I am using: Org-mode version 8.2.10.
--
Cecil Westerhof
[-- Attachment #2: Type: text/html, Size: 2277 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Table format error
2017-09-14 6:39 Table format error Cecil Westerhof
@ 2017-09-14 8:22 ` Eric S Fraga
0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2017-09-14 8:22 UTC (permalink / raw)
To: Cecil Westerhof; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]
On Thursday, 14 Sep 2017 at 08:39, Cecil Westerhof wrote:
[...]
> But when I then format the table,
> the last heading goes from right aligned to left aligned:
> |-----------+-----------+---------------|
> | 1 | Text | 2 |
> |-----------+-----------+---------------|
> | Some text | Some more | And even more |
> | Some text | Some more | And even more |
> |-----------+-----------+---------------|
>
> What is happening here?
>
> I am using: Org-mode version 8.2.10.
Org tries to guess what the alignment should be: columns with numbers
will be right-aligned; with text they will be left-aligned. Maybe org
did a count and decided this was a text column after all once you added
the new row.
You can specify the actual alignment by using <r> in a separate row,
e.g.:
|-----------+-----------+---------------|
| 1 | Text | 2 |
| | | <r> |
|-----------+-----------+---------------|
| Some text | Some more | And even more |
| Some text | Some more | And even more |
|-----------+-----------+---------------|
HTH,
eric
--
: Eric S Fraga via Emacs 26.0.50, Org release_9.1-57-gc6e563
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-14 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 6:39 Table format error Cecil Westerhof
2017-09-14 8:22 ` Eric S Fraga
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).