From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Henri Menke via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54663: 29.0.50; align-current changed behavior Date: Fri, 01 Apr 2022 02:37:27 +0000 Message-ID: Reply-To: Henri Menke Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40036"; mail-complaints-to="usenet@ciao.gmane.io" To: 54663@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 01 04:38:15 2022 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 1na7B1-000AGc-78 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Apr 2022 04:38:15 +0200 Original-Received: from localhost ([::1]:59478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na7Az-00035a-CQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Mar 2022 22:38:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na7Ao-00033M-WD for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 22:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na7Ao-0006X1-NA for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 22:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1na7Ao-0006Gm-DQ for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 22:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Henri Menke Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Apr 2022 02:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54663 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164878066324071 (code B ref -1); Fri, 01 Apr 2022 02:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Apr 2022 02:37:43 +0000 Original-Received: from localhost ([127.0.0.1]:40446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na7AU-0006GB-Mo for submit@debbugs.gnu.org; Thu, 31 Mar 2022 22:37:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na7AT-0006G3-9m for submit@debbugs.gnu.org; Thu, 31 Mar 2022 22:37:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na7AS-0002pO-W4 for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 22:37:41 -0400 Original-Received: from henrimenke.de ([92.60.38.110]:41350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na7AQ-0006Ug-Pw for bug-gnu-emacs@gnu.org; Thu, 31 Mar 2022 22:37:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=henrimenke.de; s=mail; t=1648780649; bh=BdwVnTc7tE00iaQUvuylSH4X/NrOkNChHgEKjCXIqm8=; h=Subject:From:To:Date; b=H5FDfknVsEIfZg/lkVDl25LXa+vG/WHpLRhvhC/hXHlbC41GiR9hPUjkd+j1hJc3q 8JFsvY4ritgIdS9Apw571dH2GDJHpm33eUM48eOlBWIbqEsMt5tuehICmWpRI7XJmP CqL/0Rf41EXkd2fISDjGhgLhdzUQGhXbkOZf4kds= Received-SPF: pass client-ip=92.60.38.110; envelope-from=henri@henrimenke.de; helo=henrimenke.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:229199 Archived-At: Somewhere between version 27.1 and 29.0.50 the `align' command changed its behavior. Examples below are executed in emacs -Q. Consider the following file `test.tex': \documentclass{article} \begin{document} \begin{tabular}{lr} abc def & zzz \\ foo & bar \\ \end{tabular} \end{document} Opening this file in 27.1 and using M-x align-current yields the expected \documentclass{article} \begin{document} \begin{tabular}{lr} abc def & zzz \\ foo & bar \\ \end{tabular} \end{document} but opening the file in 29.0.50 and using M-x align-current produces something weird: \documentclass{article} \begin{document} \begin{tabular}{lr} abc def & zzz \\ foo & bar \\ \end{tabular} \end{document} There is only a single space of indentation and alignment is now at spaces instead of & and \\ as expected for align-tex-modes. ;;=================== In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) Repository revision: 6f973faa912a5ac1ba643c6f5deb0c02baa0ba6d Repository branch: master System Description: NixOS 21.11 (Porcupine) Configured using: 'configure --prefix=/nix/store/b65vgqd1kdfxaly3y3yn3f3qkcrbdkwq-emacs-pgtkgcc-20220330.0 --disable-build-details --with-modules --with-x-toolkit=gtk3 --with-cairo --with-native-compilation --with-pgtk' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: LaTeX Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util seq gv byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch time-date subr-x align vc-git diff-mode easy-mmode vc-dispatcher cl-loaddefs cl-lib tex-mode compile text-property-search shell pcomplete comint ansi-color ring latexenc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 85785 5008) (symbols 48 7342 0) (strings 32 23176 1221) (string-bytes 1 811910) (vectors 16 16616) (vector-slots 8 331153 7610) (floats 8 35 312) (intervals 56 866 0) (buffers 992 11))