GNU bug report logs - #54943
13.1.2; \iff messes up indentation in math mode

Previous Next

Package: auctex;

Reported by: Ruiyang Wu <ywwry66 <at> gmail.com>

Date: Thu, 14 Apr 2022 18:02:02 UTC

Severity: normal

Found in version 13.1.2

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 54943-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Ruiyang Wu <ywwry66 <at> gmail.com>
Cc: 54943-done <at> debbugs.gnu.org
Subject: Re: bug#54943: 13.1.2; \iff messes up indentation in math mode
Date: Sat, 16 Apr 2022 17:45:46 +0200
Hi Ruiyang,

Ruiyang Wu <ywwry66 <at> gmail.com> writes:

> As the title suggests, \iff used in math mode will increase indentation
> level while it is not supposed to behave like this. I have briefly
> skimmed through the code and it seems to be related to the new function
> LaTeX-indent-commands-regexp-make introduced in 0ce906c. The relevant
> code is:
>
> (funcall func
>               LaTeX-indent-begin-list
>               "if[a-zA-Z@]*\\b"
>               'LaTeX-indent-begin-regexp-local)

Thanks for reporting this.  Indeed, an entry if 'iff' was missing in the
function you mentioned above.  I've fixed this issue now (fa547aa71e)
which will be available with the next release.  Please don't hesitate to
report if other macros are still missing.

I'm closing this report.

Best, Arash




This bug report was last modified 3 years and 33 days ago.

Previous Next


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