[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26032: Indenting in tabulars without &
From: |
Arash Esbati |
Subject: |
bug#26032: Indenting in tabulars without & |
Date: |
Thu, 09 Mar 2017 20:28:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 |
Ikumi Keita <address@hidden> writes:
Hi Keita,
> I'm afraid that the fix has to be reconsidered.
And I was afraid that this would happen; it seemed just too easy ;-)
> The current code does not work as expected when the whole tabular
> environment itself is indented like the following examples.
>
> \begin{table}
> \begin{tabular}{ll}
> \multicolumn{2}{c}{These lines will} `M-RET here'
> \end{tabular}
> \end{table}
>
> \begin{table}
> \begin{tabular}{ll}
> \multicolumn{2}{c}{These lines will} \\
> & `C-c C-q C-e here'
> \end{tabular}
> \end{table}
>
> So it is not sufficient to examine whether `(- (current-column) 1)' is
> negative or not. I suppose that comparing the `(current-column)' and
> `beg-col' would be necessary. (Or just using `(max (- (current-column)
> 1) (+ 2 beg-col))' might be sufficient. I haven't considered the
> situation in detail yet.)
Thank you very much for double checking. I think I won't revert my last
change; it fixes at least part of the problem. I will also think about
it again (but your suggestion above looks quite appealing to me).
Best, Arash
- bug#26032: Indenting in tabulars without &, Arash Esbati, 2017/03/08
- bug#26032: Indenting in tabulars without &, Mosè Giordano, 2017/03/08
- bug#26032: Indenting in tabulars without &, Arash Esbati, 2017/03/08
- bug#26032: Indenting in tabulars without &, Ikumi Keita, 2017/03/09
- bug#26032: Indenting in tabulars without &, Arash Esbati, 2017/03/09
- bug#26032: Indenting in tabulars without &, Ikumi Keita, 2017/03/09
- bug#26032: Indenting in tabulars without &,
Arash Esbati <=
- bug#26032: Indenting in tabulars without &, Arash Esbati, 2017/03/10
- bug#26032: Indenting in tabulars without &, Ikumi Keita, 2017/03/10
- bug#26032: Indenting in tabulars without &, Arash Esbati, 2017/03/10