bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26032: Indenting in tabulars without &


From: Ikumi Keita
Subject: bug#26032: Indenting in tabulars without &
Date: Fri, 10 Mar 2017 20:24:55 +0900

Hi Arash,

Arash Esbati <address@hidden> writes:
> I did some testing, your suggestion with

>     (if (natnump (- (current-column) 1))
>         (max (+ 2 beg-col)
>              (- (current-column) 1))
>       (+ 2 beg-col))

> seems to do the job.  Do you have any other idea?

I think that the sign test can be omitted altogether if we use `max'.
That is, just

             (max (+ 2 beg-col)
                  (- (current-column) 1)))

is enough.  This code does the expected job on my machine.

Regards,
Ikumi Keita





reply via email to

[Prev in Thread] Current Thread [Next in Thread]