emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Thomas P <datalogen@hotmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: links cause table misalignment
Date: Sat, 07 Apr 2018 10:08:09 +0200	[thread overview]
Message-ID: <87o9iv5thy.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <VI1PR0401MB25437E6FE5B3938A06F17E42B0B90@VI1PR0401MB2543.eurprd04.prod.outlook.com> (Thomas P.'s message of "Sat, 7 Apr 2018 08:00:40 +0000")

Thomas P <datalogen@hotmail.com> 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.

      reply	other threads:[~2018-04-07  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-07  7:33 links cause table misalignment Thomas P
2018-04-07  7:38 ` Nicolas Goaziou
2018-04-07  8:00   ` Thomas P
2018-04-07  8:08     ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9iv5thy.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=datalogen@hotmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).