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


Message #33 received at 26032 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Arash Esbati <arash <at> gnu.org>
Cc: 26032 <at> debbugs.gnu.org, Mosè Giordano <mose <at> gnu.org>
Subject: Re: bug#26032: Indenting in tabulars without &
Date: Fri, 10 Mar 2017 20:24:55 +0900
Hi Arash,

Arash Esbati <arash <at> gnu.org> 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




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.