From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas P Subject: links cause table misalignment Date: Sat, 7 Apr 2018 07:33:19 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_VI1PR0401MB2543F65052C9A8381515786BB0B90VI1PR0401MB2543_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4iLl-0000fj-QN for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:33:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4iLh-0001S0-SZ for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:33:25 -0400 Received: from mail-oln040092071081.outbound.protection.outlook.com ([40.92.71.81]:18717 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4iLh-0001Qd-Ia for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:33:21 -0400 Content-Language: sv-SE 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: "emacs-orgmode@gnu.org" --_000_VI1PR0401MB2543F65052C9A8381515786BB0B90VI1PR0401MB2543_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, With org-mode 9.1.9, my tables sometimes become misaligned when I press TAB= and the cursor is in a cell with a link. In an org-mode buffer, enter: | aa | aa | | [[a][a]] | | The lower-left cell becomes misaligned when I press TAB and the cursor is o= n the link "a". I get no misalignment with org-mode 8.2.10. emacs-version: GNU Emacs 25.3.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) = of 2017-09-12 Regards, Thomas --_000_VI1PR0401MB2543F65052C9A8381515786BB0B90VI1PR0401MB2543_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,

With org-mode 9.1.9, my tables sometimes become misaligned when I press TAB= and the cursor is in a cell with a link. 

In an org-mode buffer, enter:

| aa | aa |
| [[a][a]] | |

The lower-left cell becomes misaligned when I press TAB and the cursor is o= n the link "a". 

I get no misalignment with org-mo= de 8.2.10.

emacs-version: GNU Emacs 25.3.2 (= x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2017-09-12

Regards,
Thomas
--_000_VI1PR0401MB2543F65052C9A8381515786BB0B90VI1PR0401MB2543_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: links cause table misalignment Date: Sat, 07 Apr 2018 09:38:00 +0200 Message-ID: <874lkn79gn.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4iQK-0002hC-3D for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4iQH-0004DJ-1F for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:38:08 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:48629) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4iQG-0004CL-R7 for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 03:38:04 -0400 In-Reply-To: (Thomas P.'s message of "Sat, 7 Apr 2018 07:33:19 +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" Hello, Thomas P writes: > With org-mode 9.1.9, my tables sometimes become misaligned when I press TAB and the cursor is in a cell with a link. > > In an org-mode buffer, enter: > > | aa | aa | > | [[a][a]] | | > > The lower-left cell becomes misaligned when I press TAB and the cursor > is on the link "a". FWIW, I cannot reproduce it. The table is correctly aligned. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas P Subject: Re: links cause table misalignment Date: Sat, 7 Apr 2018 08:00:40 +0000 Message-ID: References: , <874lkn79gn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_VI1PR0401MB25437E6FE5B3938A06F17E42B0B90VI1PR0401MB2543_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4imF-0003dE-Ns for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:00:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4imB-00070o-Jz for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:00:47 -0400 Received: from mail-oln040092065056.outbound.protection.outlook.com ([40.92.65.56]:25482 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4imB-0006zr-6a for emacs-orgmode@gnu.org; Sat, 07 Apr 2018 04:00:43 -0400 In-Reply-To: <874lkn79gn.fsf@nicolasgoaziou.fr> Content-Language: sv-SE 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: Nicolas Goaziou Cc: "emacs-orgmode@gnu.org" --_000_VI1PR0401MB25437E6FE5B3938A06F17E42B0B90VI1PR0401MB2543_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Curious. Not even if you set your cursor on the a and press TAB again? (I s= ometimes 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 think I'm gonna try to reproduce it with org-mode versions between 8.2.10= and 9.1.9, see what happens. ________________________________ Fr=E5n: Nicolas Goaziou Skickat: den 7 april 2018 09:38 Till: Thomas P Kopia: emacs-orgmode@gnu.org =C4mne: Re: links cause table misalignment Hello, Thomas P writes: > With org-mode 9.1.9, my tables sometimes become misaligned when I press T= AB and the cursor is in a cell with a link. > > In an org-mode buffer, enter: > > | aa | aa | > | [[a][a]] | | > > The lower-left cell becomes misaligned when I press TAB and the cursor > is on the link "a". FWIW, I cannot reproduce it. The table is correctly aligned. Regards, -- Nicolas Goaziou --_000_VI1PR0401MB25437E6FE5B3938A06F17E42B0B90VI1PR0401MB2543_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Curious. Not even if you set your cursor on the a and press TAB again? (I s= ometimes 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 think I'm gonna try to reproduce it with org-mode versions between 8.2.10= and 9.1.9, see what happens.

Fr=E5n: Nicolas Goaziou <= ;mail@nicolasgoaziou.fr>
Skickat: den 7 april 2018 09:38
Till: Thomas P
Kopia: emacs-orgmode@gnu.org
=C4mne: Re: links cause table misalignment
 
Hello,

Thomas P <datalogen@hotmail.com> writes:

> With org-mode 9.1.9, my tables sometimes become misaligned when I pres= s TAB and the cursor is in a cell with a link.
>
> In an org-mode buffer, enter:
>
> | aa | aa |
> | [[a][a]] | |
>
> The lower-left cell becomes misaligned when I press TAB and the cursor=
> is on the link "a".

FWIW, I cannot reproduce it. The table is correctly aligned.

Regards,

--
Nicolas Goaziou
--_000_VI1PR0401MB25437E6FE5B3938A06F17E42B0B90VI1PR0401MB2543_-- 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.