all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Spacing within org-mode tables when diacritics are used
@ 2017-08-31 19:19 Leo Vivier
  2017-09-01  8:44 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Leo Vivier @ 2017-08-31 19:19 UTC (permalink / raw
  To: help-gnu-emacs

Hi everyone,

I'm quite excited because it is the first time that I get to ask a 
question on a mailing list!
I've been wandering between this list, the wikis, and SE to get my 
answers so far, but the problem I've encountered now wasn't addressed in 
any of these.
Please tell me if the format of the email is not up to standard, and 
sorry for the inconvenience if this is the case.

My problems concerns the spacing within org-mode tables when diacritics 
(e.g. accented letters) are used.

Here's a MWE with emacs -q.

| 1 | test  | test |
| 2 | tést | test |
| 3 | test  | test |
| 4 | test  | test |

The 2nd line (with the `é') as an offset of 1 space compared to the others.
Pressing <tab> within any of the cells to realign the table doesn't fix it.

I think this might have something to do with multibyte characters.
Running (toggle-enable-multibyte-characters) shows that the é does 
indeed take two bytes.
Setting the language environment to French via (set-language-environment 
'french) solves this issue (i.e. pressing <tab> realigns the table 
properly), but this only last whilst the file remains opened.

Would you have an idea on how to fix this?

Thanks for the help.


-- 
Leo Vivier
English Studies & General Linguistics
Language Assistant, French Department
Reed College



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

end of thread, other threads:[~2017-09-03  1:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 19:19 Spacing within org-mode tables when diacritics are used Leo Vivier
2017-09-01  8:44 ` Eli Zaretskii
2017-09-01 21:02   ` Eric Abrahamsen
2017-09-02  7:45     ` Eli Zaretskii
2017-09-02 14:58       ` Eric Abrahamsen
2017-09-02 15:13         ` Eli Zaretskii
2017-09-02 18:14           ` Eric Abrahamsen
2017-09-02 18:52           ` Mario Castelán Castro
2017-09-02 19:21             ` Eli Zaretskii
2017-09-02 19:23               ` Mario Castelán Castro
2017-09-02 21:16                 ` Eric Abrahamsen
2017-09-03  1:08                   ` Mario Castelán Castro

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.