From unknown Sun Jun 22 07:46:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20227: 11.88.3; indentation of \[ ... \] environment is broken Resent-From: Todor Tsankov Original-Sender: "Debbugs-submit" Resent-CC: bug-auctex@gnu.org Resent-Date: Sun, 29 Mar 2015 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20227 X-GNU-PR-Package: auctex X-GNU-PR-Keywords: To: 20227@debbugs.gnu.org X-Debbugs-Original-To: bug-auctex@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142766550432731 (code B ref -1); Sun, 29 Mar 2015 21:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2015 21:45:04 +0000 Received: from localhost ([127.0.0.1]:39869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcL0w-0008VY-I1 for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:45:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58009) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcL0t-0008V6-SY for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcL0n-0003N4-AF for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:44:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0n-0003N0-81 for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:44:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0m-0004IP-24 for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcL0g-0003MM-Pc for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:51 -0400 Received: from smtp13.mail.ru ([94.100.181.94]:39722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0g-0003L2-6N for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=xiRXgI8Bw5gnDzk05qvckaexN1rfOUlXhEzDt1gH/CU=; b=DCMFnQ7BFqIKVvOMsxwEx3fyaMLz5ws/o7nGjLf8xGgprtLqLejBCe2/tw0absO2YRkdajbUyeD1zYIHg6LDlPDGnO1NfieC4kzU5pJ5k6KfWAHwZrQYopWOT+jzPx3R+4dQVc6kauW3umObB1j+eiig1Ws96dTdv83GUa5VWBA=; Received: from [82.226.35.117] (port=56876 helo=[192.168.0.12]) by smtp13.mail.ru with esmtpa (envelope-from ) id 1YcL0d-0000Pp-H3 for bug-auctex@gnu.org; Mon, 30 Mar 2015 00:44:43 +0300 Message-ID: <55187249.6030501@mail.ru> Date: Sun, 29 Mar 2015 23:44:41 +0200 From: Todor Tsankov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) ------------------------------------------------------------------------ The automatic indentation of the \[ ... \] environment does not seem to work correctly. Of the three examples below only the first one looks right. I obtained those results by selecting the entire environment and running indent-region. Thanks for looking into this. \[ x \] \[ \begin{split} x &= y \\ y &= z \end{split} \] \begin{itemize} \item Some text here \[ x \] \end{itemize} Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Package: 11.88.3 current state: ============== (setq AUCTeX-date "2015-03-22" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/todor/.emacs.d/elpa/auctex-11.88.3/style" "/home/todor/.emacs.d/auctex/auto" "/home/todor/.emacs.d/auctex/style" "auto" "style") TeX-auto-save nil TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "texexec %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help "Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help "Create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 18:49:49 2015 Received: (at control) by debbugs.gnu.org; 29 Mar 2015 22:49:49 +0000 Received: from localhost ([127.0.0.1]:39891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcM1d-0001Z3-HA for submit@debbugs.gnu.org; Sun, 29 Mar 2015 18:49:49 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:44912 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcM1b-0001Yu-Co for control@debbugs.gnu.org; Sun, 29 Mar 2015 18:49:47 -0400 Received: from [151.72.60.174] (port=59953 helo=debenv) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YcM1a-00020K-8l for control@debbugs.gnu.org; Sun, 29 Mar 2015 18:49:46 -0400 Date: Mon, 30 Mar 2015 00:49:04 +0200 Message-Id: <87k2xzv2qn.fsf@gnu.org> To: control@debbugs.gnu.org From: mose@gnu.org (=?utf-8?Q?Mos=C3=A8?= Giordano) Subject: control message for bug #20227 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tags 20227 confirmed From unknown Sun Jun 22 07:46:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Todor Tsankov Subject: bug#20227: closed (Re: bug#20227: 11.88.3; indentation of \[ ... \] environment is broken) Message-ID: References: <55187249.6030501@mail.ru> X-Gnu-PR-Message: they-closed 20227 X-Gnu-PR-Package: auctex X-Gnu-PR-Keywords: confirmed Reply-To: 20227@debbugs.gnu.org Date: Mon, 30 Mar 2015 14:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1427725443-5347-1" This is a multi-part message in MIME format... ------------=_1427725443-5347-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20227: 11.88.3; indentation of \[ ... \] environment is broken which was filed against the auctex package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20227@debbugs.gnu.org. --=20 20227: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20227 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1427725443-5347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20227-done) by debbugs.gnu.org; 30 Mar 2015 14:23:56 +0000 Received: from localhost ([127.0.0.1]:40561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ycabb-0001Nr-Qx for submit@debbugs.gnu.org; Mon, 30 Mar 2015 10:23:56 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:54513 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcabY-0001Nh-Lk for 20227-done@debbugs.gnu.org; Mon, 30 Mar 2015 10:23:53 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:35711) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1YcabY-0003pm-0M for 20227-done@debbugs.gnu.org; Mon, 30 Mar 2015 10:23:52 -0400 Received: by ierf6 with SMTP id f6so51631089ier.2 for <20227-done@debbugs.gnu.org>; Mon, 30 Mar 2015 07:23:51 -0700 (PDT) X-Received: by 10.107.166.11 with SMTP id p11mr48759047ioe.30.1427725431418; Mon, 30 Mar 2015 07:23:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.216.71 with HTTP; Mon, 30 Mar 2015 07:23:11 -0700 (PDT) In-Reply-To: <55187249.6030501@mail.ru> References: <55187249.6030501@mail.ru> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Mon, 30 Mar 2015 16:23:11 +0200 Message-ID: Subject: Re: bug#20227: 11.88.3; indentation of \[ ... \] environment is broken To: Todor Tsankov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20227-done Cc: 20227-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Todor, 2015-03-29 23:44 GMT+02:00 Todor Tsankov : > ------------------------------------------------------------------------ > > The automatic indentation of the \[ ... \] environment does not seem to > work correctly. Of the three examples below only the first one looks > right. > > I obtained those results by selecting the entire environment and running > indent-region. > > Thanks for looking into this. > > \[ > x > \] > > \[ > \begin{split} > x &=3D y \\ > y &=3D z > \end{split} > \] > > \begin{itemize} > \item Some text here > \[ > x > \] > \end{itemize} Thanks for the very good bug report. It should be fixed now with commit c2f6e9c [Fix #20227] Fix indentation of \[...\] math mode. Bye, Mos=C3=A8 ------------=_1427725443-5347-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Mar 2015 21:45:04 +0000 Received: from localhost ([127.0.0.1]:39869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcL0w-0008VY-I1 for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:45:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58009) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcL0t-0008V6-SY for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcL0n-0003N4-AF for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:44:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0n-0003N0-81 for submit@debbugs.gnu.org; Sun, 29 Mar 2015 17:44:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0m-0004IP-24 for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcL0g-0003MM-Pc for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:51 -0400 Received: from smtp13.mail.ru ([94.100.181.94]:39722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcL0g-0003L2-6N for bug-auctex@gnu.org; Sun, 29 Mar 2015 17:44:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=xiRXgI8Bw5gnDzk05qvckaexN1rfOUlXhEzDt1gH/CU=; b=DCMFnQ7BFqIKVvOMsxwEx3fyaMLz5ws/o7nGjLf8xGgprtLqLejBCe2/tw0absO2YRkdajbUyeD1zYIHg6LDlPDGnO1NfieC4kzU5pJ5k6KfWAHwZrQYopWOT+jzPx3R+4dQVc6kauW3umObB1j+eiig1Ws96dTdv83GUa5VWBA=; Received: from [82.226.35.117] (port=56876 helo=[192.168.0.12]) by smtp13.mail.ru with esmtpa (envelope-from ) id 1YcL0d-0000Pp-H3 for bug-auctex@gnu.org; Mon, 30 Mar 2015 00:44:43 +0300 Message-ID: <55187249.6030501@mail.ru> Date: Sun, 29 Mar 2015 23:44:41 +0200 From: Todor Tsankov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: bug-auctex@gnu.org Subject: 11.88.3; indentation of \[ ... \] environment is broken Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) ------------------------------------------------------------------------ The automatic indentation of the \[ ... \] environment does not seem to work correctly. Of the three examples below only the first one looks right. I obtained those results by selecting the entire environment and running indent-region. Thanks for looking into this. \[ x \] \[ \begin{split} x &= y \\ y &= z \end{split} \] \begin{itemize} \item Some text here \[ x \] \end{itemize} Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Package: 11.88.3 current state: ============== (setq AUCTeX-date "2015-03-22" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/home/todor/.emacs.d/elpa/auctex-11.88.3/style" "/home/todor/.emacs.d/auctex/auto" "/home/todor/.emacs.d/auctex/style" "auto" "style") TeX-auto-save nil TeX-parse-self t TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %(extraopts) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "texexec %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber") ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help "Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help "Create index file") ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for common mistakes") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command")) ) ------------=_1427725443-5347-1--