From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: links cause table misalignment Date: Sat, 07 Apr 2018 10:08:09 +0200 Message-ID: <87o9iv5thy.fsf@nicolasgoaziou.fr> References: <874lkn79gn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4itW-0006UA-2q for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:08:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4itS-0002PW-37 for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:08:18 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:33419) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4itR-0002N4-Sb for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:08:14 -0400 In-Reply-To: (Thomas P.'s message of "Sat, 7 Apr 2018 08:00:40 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Thomas P Cc: "emacs-orgmode@gnu.org" Thomas P writes: > Curious. Not even if you set your cursor on the a and press TAB again? (I sometimes have to do it twice). > > This is what I did: > > Downloaded https://orgmode.org/org-9.1.9.zip and unzipped to ~/tmp/org-9.1.9 > > Ran: > emacs -Q > > In the scratch-buffer: > (add-to-list 'load-path "~/tmp/org-9.1.9/lisp") > (require 'org) > > Switched to a new buffer and did > M-x org-mode RET > > Now if I enter that table (e.g. by copy-pasting from my earlier email) > and align it, the table becomes misaligned for me when I press TAB > when cursor is on the link "a". I did the following, from a fresh Emacs, with : (find-file "/tmp/bug-align.org") (insert "| aa | aa | | [[a][a]] | | ") (search-backward "a][") (org-table-align) without being able to reproduce your issue. I also tried searching backward for "][" instead, without any luck either. I tried in both master and maint.