Subject: Re: bug#26032: Indenting in tabulars without &

From: Arash Esbati <[email-masked]>
Date: Wed, 08 Mar 2017 21:57:42 +0100

Hi Mosè,

Mosè Giordano <[email-masked]> writes:

>> 2017-03-08 20:43 GMT+01:00 Arash Esbati <[email-masked]>:
>>
> have you been writing many tables lately? ;-)

Tough luck, really! I did exactly one table, with side effects ;-)

>> My suggest to guard (- (current-column) 1) with a (wholenump ...) and
>> return (+ 2 beg-col) as fallback if the test is not true:
>
> Yeah, a fallback option in case we get non-sense result is always
> useful.  Alas, `wholenump' is not available in XEmacs.

Thanks for the heads-up, I will replace it with

    (if (< (- (current-column) 1) 0)
        (+ 2 beg-col)
      (- (current-column) 1))

> Remember also the test!

Yes, will do.

Best, Arash