From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69187: 29.2; Poor compatibility in align.el Date: Sat, 06 Apr 2024 14:03:29 +0300 Message-ID: <86h6ge3g8u.fsf@gnu.org> References: <55489.1708171413@localhost> <2214.1708282932@localhost> <2125.1712336273@localhost> <861q7j57vl.fsf@gnu.org> <2364.1712395849@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69187@debbugs.gnu.org, arash@gnu.org, johnw@gnu.org To: Ikumi Keita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 06 13:04:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rt3qJ-0008LW-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Apr 2024 13:04:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt3q2-0000mI-3N; Sat, 06 Apr 2024 07:03:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt3pz-0000m8-Ua for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:03:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rt3pz-0004CE-MY for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:03:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt3q5-0003ox-Oy for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 07:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Apr 2024 11:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69187 X-GNU-PR-Package: emacs Original-Received: via spool by 69187-submit@debbugs.gnu.org id=B69187.171240143414658 (code B ref 69187); Sat, 06 Apr 2024 11:04:01 +0000 Original-Received: (at 69187) by debbugs.gnu.org; 6 Apr 2024 11:03:54 +0000 Original-Received: from localhost ([127.0.0.1]:38443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3pw-0003o3-9y for submit@debbugs.gnu.org; Sat, 06 Apr 2024 07:03:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt3pu-0003my-9R for 69187@debbugs.gnu.org; Sat, 06 Apr 2024 07:03:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt3pg-0004Ac-M0; Sat, 06 Apr 2024 07:03:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ND2e0/vrKIXcAqwDCeYIIcR5HRPM5NY7RSCkQeC5nbQ=; b=TvxFANUeL4nR jpeP2SngevMr1SocdVjSkb+fJFRgjZBDSEP5BtXwr52EDN01KyXE6d00vGcZdvLFjuxKkPNHbOrrW /0cC0b5IcbIgCwmdVk6TBccbO/GGXpYhS/cqBGJiPv3djVYRTuQ1JeyYOrtvLIhDvsZU09piNgy5l FmLl1wcnXETKF8ibB/0+KFXU/zpCTEm2BmwhrhKmelCsdfN+nQJ+Zny78oLa1yOcZ1+ncAYYzvwaN lxYIaHxZqryZnhLi8UL/jFvFSis5lJwXPV8CuTbN5X7ZIZPAn6eXmykF3XOP2MT8pd2DP18umaZvg WNtsVgAzjCIPz8olizI7Bw==; In-Reply-To: <2364.1712395849@localhost> (message from Ikumi Keita on Sat, 06 Apr 2024 18:30:49 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282782 Archived-At: > From: Ikumi Keita > cc: 69187@debbugs.gnu.org, John Wiegley > Comments: In-reply-to Eli Zaretskii > message dated "Sat, 06 Apr 2024 09:21:18 +0300." > Date: Sat, 06 Apr 2024 18:30:49 +0900 > > >>>>> Eli Zaretskii writes: > > Please explain the issue in more detail and in terms that someone who > > doesn't use AUCTeX and has only superficial understanding of align.el > > can understand and reason about. > > > Three questions that pop up immediately, perhaps because I'm missing > > something: > > > . why not use derived-mode-p instead of 'equal' in the run-if form > > That's what I thought. Arash and I are proposing to _remove_ the run-if > form so that `derived-mode-p' in `align-region' would do the expected > job. > > > (and why remove it in the first place)? > > See above. > > > . 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. I'm just following that behavior > for AUCTeX modes. As I said in my previous message, this isn't much > relavant; using `align-tex-modes' instead of '(latex-mode) would almost > be the same for practical usage, provided that the `run-if' form is > removed. > > > . why not just add the new LaTeX-mode to the list in > > align-tex-modes, so that people who use an old AUCTeX will not > > have their align rules broken? > > That isn't necessary. Only `latex-mode' is needed there because > `derived-mode-p' considers that `latex-mode' is parent of `LaTeX-mode'. > However, the current `run-if' form excludes `LaTeX-mode' because if uses > `eq', not `derived-mode-p'. Then I'm okay with installing the proposed change.