[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69187: 29.2; Poor compatibility in align.el
From: |
Arash Esbati |
Subject: |
bug#69187: 29.2; Poor compatibility in align.el |
Date: |
Fri, 05 Apr 2024 21:59:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ikumi Keita <ikumi@ikumi.que.jp> writes:
> That would practically do the job as well, because this entry wouldn't
> be relevant in buffers in modes other than latex (LaTeX) mode
> actually. My proposal is just to keep the precise behavior the same.
Agreed, so the change would look like this, right?
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/align.el b/lisp/align.el
index 81ccc4b5e2d..0e77a857585 100644
--- a/lisp/align.el
+++ b/lisp/align.el
@@ -537,10 +537,8 @@ align-rules-list
(regexp . ,(lambda (end reverse)
(align-match-tex-pattern "\\\\[=>]" end reverse)))
(group . (1 2))
- (modes . align-tex-modes)
- (repeat . t)
- (run-if . ,(lambda ()
- (eq major-mode 'latex-mode))))
+ (modes . '(latex-mode))
+ (repeat . t))
(tex-record-break
(regexp . "\\(\\s-*\\)\\\\\\\\")
--8<---------------cut here---------------end--------------->8---
@Maintainers: How do you want to proceed with this proposal? Do you
like to ask John W., or should I prepare a patch and send/install it, or
anything else?
For bonus points, I offer to delete the unnecessary ":group 'align" in
the defcustom's in align.el.
Please advise. Thanks.
Best, Arash
- bug#69187: 29.2; Poor compatibility in align.el, Arash Esbati, 2024/04/03
- bug#69187: 29.2; Poor compatibility in align.el, Ikumi Keita, 2024/04/05
- bug#69187: 29.2; Poor compatibility in align.el,
Arash Esbati <=
- bug#69187: 29.2; Poor compatibility in align.el, Eli Zaretskii, 2024/04/06
- bug#69187: 29.2; Poor compatibility in align.el, Ikumi Keita, 2024/04/06
- bug#69187: 29.2; Poor compatibility in align.el, Eli Zaretskii, 2024/04/06
- bug#69187: 29.2; Poor compatibility in align.el, Arash Esbati, 2024/04/06
- bug#69187: 29.2; Poor compatibility in align.el, Eli Zaretskii, 2024/04/07
- bug#69187: 29.2; Poor compatibility in align.el, Arash Esbati, 2024/04/07