GNU bug report logs - #69187
29.2; Poor compatibility in align.el

Previous Next

Package: emacs;

Reported by: Ikumi Keita <ikumi <at> ikumi.que.jp>

Date: Sun, 18 Feb 2024 18:22:01 UTC

Severity: normal

Found in version 29.2

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: Eli Zaretskii <eliz <at> gnu.org>
Cc: 69187 <at> debbugs.gnu.org, Ikumi Keita <ikumi <at> ikumi.que.jp>, johnw <at> gnu.org
Subject: bug#69187: 29.2; Poor compatibility in align.el
Date: Sat, 06 Apr 2024 22:14:46 +0200
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Ikumi Keita <ikumi <at> ikumi.que.jp>
>> 
>> >   . what is the rationale for not using align-tex-modes here, only
>> >     latex-mode?
>> 
>> Because the current `tex-tabbing-separator' entry in `align-rules-list'
>> excludes other modes by `run-if' form.

Which is correct, in general.  The tabbing environment looks like this
and is only available in LaTeX and not in other formats (AFAICT):

\begin{tabbing}
  Zero \=One \=Two \=Three\\
  \>First tab stop\\
  \>A\>\>B\\
  \>\>Second tab stop
\end{tabbing}

And the rule is designed to match these separators.

> Then I'm okay with installing the proposed change.

Thanks, the change is attached; I can push it myself, or you can do it
in case you want to change the commit message etc.  I will close the
report once the change is installed.

@Keita: Thanks for the report and answering Eli's questions.

Best, Arash
[0001-Fix-tex-tabbing-separator-alignment-rule.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 102 days ago.

Previous Next


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