GNU bug report logs - #26032
Indenting in tabulars without &

Previous Next

Package: auctex;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Wed, 8 Mar 2017 19:45:02 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Mosè Giordano <mose <at> gnu.org>
Cc: 26032 <at> debbugs.gnu.org
Subject: bug#26032: Indenting in tabulars without &
Date: Wed, 08 Mar 2017 21:57:42 +0100
Hi Mosè,

Mosè Giordano <mose <at> gnu.org> writes:

>> 2017-03-08 20:43 GMT+01:00 Arash Esbati <arash <at> gnu.org>:
>>
> 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




This bug report was last modified 8 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.