emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diogo Ferrari <diogoferrari@gmail.com>
To: mail@nicolasgoaziou.fr
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Date: Thu, 7 Jun 2018 14:03:42 -0300	[thread overview]
Message-ID: <CAEvjS8Jx=LOyzF1XXpo_V5j6MEnf=xU4mcvQDP4WQgBjT+SoKQ@mail.gmail.com> (raw)
In-Reply-To: <87r2li7f6e.fsf@nicolasgoaziou.fr>


[-- Attachment #1.1: Type: text/plain, Size: 1722 bytes --]

Hi Nicolas

The problem has to do with links, not only file and html links, but also
latex citation using cite:. It does not behave well also when using Org
Table Edit Field, even when there are no links. I should return from the
editing aligned, but it looses alignment and I need to reopen the file to
get it aligned. A simple example is


On Thu, Jun 7, 2018 at 1:08 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Diogo Ferrari <diogoferrari@gmail.com> writes:
>
> > Remember to cover the basics, that is, what you expected to happen and
> > what in fact did happen.  You don't know how to make a good report?  See
> >
> >      https://orgmode.org/manual/Feedback.html#Feedback
> >
> > Your bug report will be posted to the Org mailing list.
> > ------------------------------------------------------------------------
> >
> >
> >
> > Emacs  : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
> >  of 2017-09-22, modified by Debian
> > Package: Org mode version 9.1.13 (9.1.13-elpaplus @
> > /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)
>
> Your report is incomplete. Could you show the table you're trying to
> align and the outcome of alignment?
>
> Also, note that Org 9.2 will include a revamp of table alignment, so the
> issue you are experiencing may in fact disappear soon.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>


-- 
Diogo Ferrari
PhD Candidate
University of Michigan, Ann Arbor
Department of Political Science
E-mail: dferrari@umich.edu
Website: http://dioferrari.wordpress.com/

Open Source! Use R! Use Linux! Use Emacs! Use Python!

"A vida é a arte de tirar conclusões suficientes de dados insuficientes"

[-- Attachment #1.2: Type: text/html, Size: 2762 bytes --]

[-- Attachment #2: org-alignment.png --]
[-- Type: image/png, Size: 53581 bytes --]

[-- Attachment #3: org-alignment.org --]
[-- Type: application/octet-stream, Size: 1611 bytes --]




Full table

|     |                         |
| abc | a [[a][some link]] abc abc abc |
|     | b [[https://www.google.com/][google]]  bc abc abc |
|     |                         |

after [tab] or C-c C-c

| <10>       | <10>       |
| abc        | a [[a][some link]] abc abc abc |
|            | b [[https://www.google.com/][google]]  bc abc abc |
|            |            |


another: after [tab] on line b [[https://www.google.com/][google]]  bc abc abc

| <10>       |                         |
| abc        | a [[a][some link]] abc abc abc |
|            | b [[https://www.google.com/][google]]  bc abc abc |
|            |                         |
|            |                         |

another error message: user-error: Cannot narrow field starting with wide link "[[a][some link]]"


| <10>       | <10>                 |
| abc        |  [[a][some link]] abc abc abc |
| |  [[https://www.google.com/][google]]  bc abc abc    |
|            |                         |

another error : after narrowing to C-c ` to edit the cells

|     | <10>                 |
| abc |[[a][some link]] abc abc abc| 
|     |[[https://www.google.com/][google]]  bc abc abc|
|     |                       |


another error: after returning from C-c` to edit the cell either line 1 or line 2 looses alignment. Hitting C-c C-c:

|     | <10>       |
| abc | a asdf;ajdsf a;dsfk abc abc abc |
|     | b  bc abc abc |
|     |            |

.... hittinh C-c C-c again:

|     | <10>       |
| abc | a asdf;ajdsf a;dsfk abc abc abc |
|     | b  bc abc abc |
|     |            |

so it alternates which line is not align

  reply	other threads:[~2018-06-07 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04  2:10 Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)] Diogo Ferrari
2018-06-07 16:08 ` Nicolas Goaziou
2018-06-07 17:03   ` Diogo Ferrari [this message]
2018-06-07 17:16     ` Nicolas Goaziou
2018-06-07 17:33       ` Diogo Ferrari
2018-06-07 17:49         ` Nicolas Goaziou
2018-07-11 19:33           ` Diogo Ferrari
2018-07-13 16:23             ` Nicolas Goaziou
2018-07-14  9:14               ` Diogo Ferrari
2018-07-14 11:00                 ` Nicolas Goaziou
2018-07-14 19:36                   ` Diogo Ferrari

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='CAEvjS8Jx=LOyzF1XXpo_V5j6MEnf=xU4mcvQDP4WQgBjT+SoKQ@mail.gmail.com' \
    --to=diogoferrari@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).