When I make tables in org-mode, if the column value in the next row is longer, after pressing TAB, the new vertical alignment of "|" gets a bit distorted. This used to work fine before, it also works fine when I launch Emacs with emacs -q
. Not sure what caused the problem, but I installed avy
, swiper
, swiper-helm
and I've updated the system (I am on Fedora 27), but something messed things up. I've tried moving .emacs.d and to another folder leaving it empty, clearing .emacs and re-installing Emacs and org-mode
only, it didn't help. Anyone had a similar problem? I saw some posts about the font type, but I am using the same font as before.
2 Answers
The bug seems to have been fixed: org-mode
version 9.1.5-10
, 2018-01-02 from org seems to align the bars properly. I also have the following in my .emacs file:
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
-
1Please note that the Org Elpa domain protocol has changed from
http
tohttps
at the beginning of this year. Jan 25, 2018 at 11:17
My Solution :
Removed
- Org mode version 9.1.5 (9.1.5-1-gb3ddb0-elpa @ /home/psnc/.emacs.d/elpa/org-20171225/)
and use
- Org-mode build in version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.3/lisp/org/)
-
I am not that bothered with the way the table looks when I type it in (I don't type in many tables) and since the alignment is restored with C-x C-v, I thought I will stick with 9.1.5. I've seen in another post people complaining about this so maybe someone experienced will look into it.– ArktikJan 2, 2018 at 18:22
-
That seems a bit too radical to me: you can downgrade to a pre-9.1.5 release without going back all the way to 8.2.10. Of course, you may be happy with 8.2.10 (after all, it is what's distributed with currently released emacs), but the fact that you installed 9.1.5 presumably means you wanted a more modern version. It is very likely that this bug will be fixed in the next weekly release from ELPA - assuming it is brought to the attention of the devs. The best way to do that is
M-x org-submit-bug-report
to send the report to the mailing list.– NickDJan 2, 2018 at 18:39 -
I am fairly new to Emacs, I really just started diving into it from last week, I discover some really cool stuff every day :). I had no idea Emacs came with
org-mode
that's why I installed it. I did submit the bug report yesterday with(org-submit-bug-report)
.– ArktikJan 2, 2018 at 19:09 -
As other user has reported, you can upgrade to 9.1.6 now (Jan 25, 2018) available on Org Elpa. That contains the fix for this issue. Jan 25, 2018 at 11:15
-
-q
option, supposedly emacs doesn't load the .emacs file and the alignment of the table bars works fine. But if delete both .emacs and .emacs.d then installorg-mode
and try to make a table the alignment doesn't work. What else is not loaded when emacs opens with-q
flag?org-mode
internally also reacts to-q
flag.org-mode
, that makes us wonder whether the built-in version oforg-mode
that ships with Emacs works well when starting Emacs with the-q
flag. And, it also makes us wonder whether you are downloading a newer version oforg-mode
that does not ship with Emacs. Try to narrow down the problem to the built-inorg-mode
without any user configuration; or, a newer version oforg-mode
without any user configuration.-q
just picks up the sameorg-mode
in .emacs.d/elpa. I am on Emacs 25.3.1, the-q
usesorg-mode
version 8.2.10, whereas I have installed 9.1.5 from "org" repository. Also, if I revisit the file, the bars get aligned properly.