From unknown Fri Jun 20 07:10:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48518 <48518@debbugs.gnu.org> To: bug#48518 <48518@debbugs.gnu.org> Subject: Status: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Reply-To: bug#48518 <48518@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:10:31 +0000 retitle 48518 13.0.11; LaTeX environment C-c C-e on region doesn't indent p= roperly reassign 48518 auctex submitter 48518 Berthold Lorke severity 48518 normal tag 48518 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 19 06:57:30 2021 Received: (at submit) by debbugs.gnu.org; 19 May 2021 10:57:30 +0000 Received: from localhost ([127.0.0.1]:58195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljJtG-0001At-QE for submit@debbugs.gnu.org; Wed, 19 May 2021 06:57:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:59308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljJtC-0001Aj-Nw for submit@debbugs.gnu.org; Wed, 19 May 2021 06:57:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljJtC-0006Mf-FM for bug-auctex@gnu.org; Wed, 19 May 2021 06:57:22 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.162]:12603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljJt9-0007JR-UO for bug-auctex@gnu.org; Wed, 19 May 2021 06:57:22 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1621421835; cv=none; d=strato.com; s=strato-dkim-0002; b=dbwASQZMAgQ5CSAgerhxflu+w8+6axpBWg4KYLCiwz1UBJrt9gOLO+YSCG0g8GUJzM Fl6FmNIbz56AwxjGV4hp4jj2pSGjmCx8uWnJYZnDovBRGIZYgX9nE1m5hXnqtXjbdad6 xiHUnX8KNqrmcL1OVq0gGNxvPzXZgIBBTahaJYwnpZu5nqC8+ICQ5/oZ0PalN1w6UGZz /rW1FpknyBQCSHqJyAMxMP3aCZ2uxRMO7jg1GToKrXbcP3drMF9Vw6smRVNAfirRNxjo 2CciTYX+b3mnrV1gANv/qhDCyqL1KjgyyNSMyF8XwkRr7HF1YbuQf7Q7ZseZKaPAAmgV AHeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1621421835; s=strato-dkim-0002; d=strato.com; h=Date:Message-ID:Subject:To:From:Cc:Date:From:Subject:Sender; bh=TYHXZn5ElcjC5KPNtTKC3GjfCGSFMEzfLKds8vBQ5ho=; b=jKwwHpcwg1kpq5z1fsRDP1xcKChn/byCJ+JzpNdHPpCvfJDxfpZCrcF9HbcxxcHVbm SZvW+gYQp2oQIVeUOuzVmmnCHhSb53+bWuvDSpyVYNY99MLEW6abmhsOIJli/h/6KGLz erAWxuTPtuNnEoyYQoIUdNd71P/2SACBRoMxquj/eVKLsd2rMn+YIraNC3YWyBCy5iE4 RDsWDM1BdeUzpKwbzwYe30mYJsz6n07PMEmFUTCbRBRtPiLt3svxh9pD3cfbQfhw3MmX wmTJ96zF0H3HG/PX993zNy7K/mPPEolZy4CDZGb01PTp3GzByPLMdIHY7cA+iNDEZ0HD ZxPw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1621421835; s=strato-dkim-0002; d=lorke.de; h=Date:Message-ID:Subject:To:From:Cc:Date:From:Subject:Sender; bh=TYHXZn5ElcjC5KPNtTKC3GjfCGSFMEzfLKds8vBQ5ho=; b=OABDRNt6ZcPiBhqANc7X3TfrbGkmx+DpQEculrEjAOBP+cCMOGbslHfihmNLr7Hl2W BWzuekp4sl+TXXJPKX20i3zSmwMMh0LJ/GnyC14YINhY09kzjfScT09Npt3Nmtm175bu bli5QXcZC4GrNyGhchT0JJs20B5P3ULDrn5BNAV6NFKCK/AwWLvd1m4luKXLfAt9wRar nToczjNGnvonyV0bAsuxjkilCtSQwP2wyky3zJqFmgY3zK8nTKaL/UGeIR70SREP70g5 dnUgQFP8HEEIcwqcGE5ytDaieKO1YbhdHQ7wET5fkb2rsh0gqR2D9Vvw/KGT1vkQaJLp 2ylQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi7OJsnWsu6x8oU92mk0cGNgxcUm0Bg8we7VE6a9enI4F" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2003:e5:174c:e200:30e1:20c7:55fa:bce1] by smtp.strato.de (RZmta 47.26.1 AUTH) with ESMTPSA id Q01d6fx4JAvF3BU (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Wed, 19 May 2021 12:57:15 +0200 (CEST) From: Berthold Lorke To: bug-auctex@gnu.org Subject: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Message-ID: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> Date: Wed, 19 May 2021 12:57:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: none client-ip=81.169.146.162; envelope-from=berthold@lorke.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.2 (---) Whenever I highlight a region and do C-c C-e of any kind, the result will not have the text indented correctly, and the closing "\end{environment}" will also not be indented correctly. Merely the "\begin{environment} is indented correctly. Steps to reproduce: 1. Install auctex 2. Open a tex file (in latex-mode) 3. Start an intented environment, such as a section 4. Write some text 5. Highlight that text 6. Perform LaTeX-environment (C-c C-e) on that highlighted region Example: ```tex \documentclass{article} \begin{document} Hello. \begin{section} Here is a text. With some paragraphs. Here is a third paragraph. \end{section} \end{document} ``` After the steps: ```tex \documentclass{article} \begin{document} Hello. \begin{section} \begin{environment} Here is a text. With some paragraphs. Here is a third paragraph. \end{environment} \end{section} \end{document} ``` It is easily fixed if I rehighlight the text and press tab (indent region), but this is tedious. I should try to debug this myself, or hotfix this by just writing a hook, but it should be easy to fix, and it is a good exercise for me, but I am too lazy, sorry. Best wishes Berthold Lorke Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26 Package: 13.0.11 current state: ============== (setq AUCTeX-date "2021-04-28" window-system 'x LaTeX-version "2e" TeX-style-path '("~/.emacs.d/auctex" "/tmp/.emacs.d/elpa/auctex-13.0.11/style" "/tmp/.emacs.d/auctex/auto" "/tmp/.emacs.d/auctex/style" "auto" "style") TeX-auto-save nil TeX-parse-self nil TeX-master t TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %(output-dir) %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) %(o-dir) %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode context-mode) :help "Run BibTeX") ("Biber" "biber %s %(output-dir)" TeX-run-Biber nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :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-dvips t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Generate PostScript file") ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PostScript") ("Dvipdfmx" "dvipdfmx %d -o %(O?pdf)" TeX-run-dvipdfmx nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert DVI file to PDF with dvipdfmx") ("Ps2pdf" "ps2pdf %f %(O?pdf)" TeX-run-ps2pdf nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Convert PostScript file to PDF") ("Glossaries" "makeglossaries %(O?aux)" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeglossaries to create glossary\n file") ("Index" "makeindex %(O?idx)" TeX-run-index nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run makeindex to create index file") ("upMendex" "upmendex %(O?idx)" TeX-run-index t (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :help "Run upmendex to create index file") ("Xindy" "texindy %s" TeX-run-command nil (plain-tex-mode latex-mode doctex-mode ams-tex-mode texinfo-mode) :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 Thu May 20 08:27:01 2021 Received: (at 48518) by debbugs.gnu.org; 20 May 2021 12:27:01 +0000 Received: from localhost ([127.0.0.1]:33305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljhlV-00045l-FZ for submit@debbugs.gnu.org; Thu, 20 May 2021 08:27:01 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:57074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljhlT-00045b-E3 for 48518@debbugs.gnu.org; Thu, 20 May 2021 08:27:00 -0400 Received: from localhost (42-146-77-152.rev.home.ne.jp [42.146.77.152]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 3EAFB244; Thu, 20 May 2021 21:26:57 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> Comments: In-reply-to Berthold Lorke message dated "Wed, 19 May 2021 12:57:15 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13351.1621513609.1@localhost> Date: Thu, 20 May 2021 21:26:49 +0900 Message-ID: <13352.1621513609@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) Hi Berthold, >>>>> Berthold Lorke writes: > Whenever I highlight a region and do C-c C-e of any kind, the result > will not have the text indented correctly, and the closing > "\end{environment}" will also not be indented correctly. Merely the > "\begin{environment} is indented correctly. I guess you didn't enable `auto-fill-mode'. Try `M-x auto-fill-mode' in the document buffer and do the same thing. If it works as expected, add (add-hook 'LaTeX-mode-hook 'turn-on-auto-fill) or (add-hook 'text-mode-hook 'turn-on-auto-fill) into your init file (init.el or .emacs). Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 13:27:34 2021 Received: (at 48518) by debbugs.gnu.org; 20 May 2021 17:27:34 +0000 Received: from localhost ([127.0.0.1]:35159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljmSL-0002Hc-V5 for submit@debbugs.gnu.org; Thu, 20 May 2021 13:27:34 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:57488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljmSJ-0002HS-RD for 48518@debbugs.gnu.org; Thu, 20 May 2021 13:27:33 -0400 Received: from localhost (42-146-77-152.rev.home.ne.jp [42.146.77.152]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 51BFD244; Fri, 21 May 2021 02:27:29 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> Comments: In-reply-to Berthold Lorke message dated "Thu, 20 May 2021 14:42:21 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19574.1621531648.1@localhost> Date: Fri, 21 May 2021 02:27:28 +0900 Message-ID: <19577.1621531648@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) [ Please keep Cc: 48518@debbugs.gnu.org in the header when replying. ] Hi Berthold, >>>>> Berthold Lorke writes: > Indeed, this fixes the indenting problem, but it adds a quirk. I don't > want auto-fill-mode enabled, because this adds line breaks that I do not > wish to have. Is there a way to achieve the indenting behaviour without > having it add line breaks? This "no indent" behavior was implemented upon request of another user who also disables `auto-fill-mode'; Please take a look at the thread beginning with https://lists.gnu.org/r/auctex/2016-03/msg00056.html What do you think about the rationale of the original poster of the above thread? Maybe AUCTeX should do only indentation, not filling, when `auto-fill-mode' is disabled. (I'm not sure what is the best behavior because I always enable `auto-fill-mode'.) Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Thu May 20 15:00:07 2021 Received: (at 48518) by debbugs.gnu.org; 20 May 2021 19:00:07 +0000 Received: from localhost ([127.0.0.1]:35219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljntu-0000ba-Ve for submit@debbugs.gnu.org; Thu, 20 May 2021 15:00:07 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]:21770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljntr-0000ab-4w for 48518@debbugs.gnu.org; Thu, 20 May 2021 15:00:05 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1621537197; cv=none; d=strato.com; s=strato-dkim-0002; b=F0hqa+JRD/BpUnDEZecDb02ThV+GA0wHPmPXoYWzNHWnDZ+oDVDni990RdERlU6SOx uin4gspycFA3hjzy9qd+75ojnGJHUwAlsdN7NvE9CtVK3cvaHTXJi5cZBdSzctsRjHQG u70pSxu/gZT7O018C/HglLAXI+25f+ULBROhCuNv0N0qper8cvMohKu5ToljT4HfLnvZ KSt/c/sCtrRYUzdSSqv49xVYUl8/x98/y5cyApNcvQGzGavBGIrtkTWZaMsEsITTKtH1 WE+JbCXJikxbzIyp/LzMgZ/S/63twIGgbnwmxZx9LX+8/jA/7AII/KLDF0GeUjWrXVxr YhRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1621537197; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=zkYz/VnaKyoGEJb+9iNWVRAYoB9hMMbvu/ROucmr9QE=; b=GSowtYjFRcx9mvyoZi72NUwI4Vcf2YNdtk5TjnkP1ctY3JgLXvCWImz/AsSYhb1Yef IEEWKlhMi3ALQMDqjTZHOTgTY+8LJntbpdqluCBXpYnLOk8h2ph3N0zNUKkXmpV0x07z /5TJ2VoEMquSAzm45Z4ekaR/nzVtW+3GRNK4DsbSYzDr84ELM4EiuCB7HoEVT9ptfAdT ZV8OmATgsT4lMIL02mIny80z7e7Uqi6OXhhW+NLyTg+L2DgBjrSFolV/OhplnA1vYIFy OoaD0DlwSQ7kWJGXp6iq8WWRdgT5IDQs4AMhvd5CELyg0yGdfi19e7OMKkwA1+AX/4vZ Lorw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1621537197; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=zkYz/VnaKyoGEJb+9iNWVRAYoB9hMMbvu/ROucmr9QE=; b=F9UHWM+G1UwjL/dG6t3Nd8uK8B2biObHcA9B7/S46r8ArHXvG3zJyzAVjNaJKfj/Ke m9BNf6cd0Kcx3uUysfnz4Wgp99Ja9BtkPYJmWNjKjfhYhePhz/YlmrJG4OBABFr2a8Kr fcJXyRJ+5Kbmmnc2oJyYiOdDjl64muJ1/mdGp3m9Fhlf1cz0ZawFVNHOnopa3U+isupN K6xN2rw0x35re9rPQpm7vM+A+3mm0ZjwWxmlUB/NvdE7ENYxRi1vekaUcyBSc9am1sm/ xs/JDVeEb2TC0NPOT6BI5c8G/2g8JoyEL3neltbkk0lEW8XAwPL0CIw9PRGZq3mBK/RV g+cw== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi7OJsnWsu6x8oU92mk0cGNgxcUm0Bg8we7VE6a9enI4F" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2003:e5:174c:e200:30e1:20c7:55fa:bce1] by smtp.strato.de (RZmta 47.26.1 AUTH) with ESMTPSA id w01a59x4KIxv06c (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 20 May 2021 20:59:57 +0200 (CEST) Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly To: Ikumi Keita References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> From: Berthold Lorke Message-ID: Date: Thu, 20 May 2021 20:59:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <19577.1621531648@localhost> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) I see no contradiction. On 20/05/2021 19.27, Ikumi Keita wrote: > [ Please keep Cc: 48518@debbugs.gnu.org in the header when replying. ] > > Hi Berthold, > >>>>>> Berthold Lorke writes: >> Indeed, this fixes the indenting problem, but it adds a quirk. I don't >> want auto-fill-mode enabled, because this adds line breaks that I do not >> wish to have. Is there a way to achieve the indenting behaviour without >> having it add line breaks? > > This "no indent" behavior was implemented upon request of another user > who also disables `auto-fill-mode'; Please take a look at the thread > beginning with > https://lists.gnu.org/r/auctex/2016-03/msg00056.html I don't see how "no indent" was requested by Florian. All he wanted was no line wrapping of highlighted text after executing a latex-environment C-c C-e command. Which I also do not want. So there is nothing he suggested that I want changed. > > What do you think about the rationale of the original poster of the > above thread? > > Maybe AUCTeX should do only indentation, not filling, when > `auto-fill-mode' is disabled. (I'm not sure what is the best behavior > because I always enable `auto-fill-mode'.) Yes! This is exactly what I am requesting :) > > Regards, > Ikumi Keita > From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 04:27:05 2021 Received: (at 48518) by debbugs.gnu.org; 21 May 2021 08:27:05 +0000 Received: from localhost ([127.0.0.1]:35732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk0Ur-00060G-7Y for submit@debbugs.gnu.org; Fri, 21 May 2021 04:27:05 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:59900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk0Up-0005zo-Dy for 48518@debbugs.gnu.org; Fri, 21 May 2021 04:27:04 -0400 Received: from localhost (42-146-77-152.rev.home.ne.jp [42.146.77.152]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id C6F6E248; Fri, 21 May 2021 17:26:59 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> Comments: In-reply-to Berthold Lorke message dated "Thu, 20 May 2021 20:59:55 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Date: Fri, 21 May 2021 17:26:58 +0900 Message-ID: <23522.1621585618@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) --=-=-= Content-Type: text/plain Hi Berthold, >>>>> Berthold Lorke writes: > I don't see how "no indent" was requested by Florian. All he wanted was > no line wrapping of highlighted text after executing a latex-environment > C-c C-e command. Which I also do not want. So there is nothing he > suggested that I want changed. Your argument is logical and convincing. ;-) >> Maybe AUCTeX should do only indentation, not filling, when >> `auto-fill-mode' is disabled. (I'm not sure what is the best behavior >> because I always enable `auto-fill-mode'.) > Yes! This is exactly what I am requesting :) Could you test the attached patch to see whether it works as expected? Regards, Ikumi Keita --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=latex-patch Content-Description: tentative fix diff --git a/latex.el b/latex.el index 2e2d2098..abad7ecb 100644 --- a/latex.el +++ b/latex.el @@ -825,7 +825,9 @@ environment just inserted, the buffer position just before (or (assoc environment LaTeX-indent-environment-list) (if auto-fill-function ;; Fill the region only when `auto-fill-mode' is active. - (LaTeX-fill-region content-start (line-beginning-position 2)))) + (LaTeX-fill-region content-start (line-beginning-position 2)) + ;; Else just indent the region. (bug#48518) + (indent-region content-start (line-beginning-position 2)))) (set-mark content-start)) (indent-according-to-mode)) ;; Indent \end{foo}. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 07:00:29 2021 Received: (at 48518) by debbugs.gnu.org; 21 May 2021 11:00:29 +0000 Received: from localhost ([127.0.0.1]:35941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk2tJ-0004IU-CM for submit@debbugs.gnu.org; Fri, 21 May 2021 07:00:29 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]:18631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk2tE-0004II-3I for 48518@debbugs.gnu.org; Fri, 21 May 2021 07:00:27 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1621594820; cv=none; d=strato.com; s=strato-dkim-0002; b=L3xxz4IGLJoXu4FlGcnjsgiQop655axxXLWQlFTogaxYMx4oIXFvjDAFN7L4bpptaD zvQ+e99zC5MY69OvY3BhUTSVs3f0/qtumdOkOLeABJpQQyRtANEkReyu8NUitjWsn41R Zbi27DYllHG3Gw1YxvxpHUQhOlKbHoIvonxi+kknAmd9yv9A09wKCVIgk0usgaZSQldj K1Gkz9MZ0S9nw1+L+tLctEL4kRGWnjdQxBaS5esyAPeDoHZxO8LtMGGOa9c+hDf3R1ca 7uj9FOf4dBrn1//oIAbpfR8+sXJcrABi/dHOzUB+ywGaIadNmTKWQ9OOA7qA3GLmsGIz +4RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1621594820; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=yrUi2zGpsBuXQE3DUzifFOxNggE4KCajYdcQm80AJYo=; b=qhhFe4LCExMeiJ/792+GjKphovjvMeZkePZbMLXSsxSZPJdOZeXmIGXdFUfc+h+hRo sSJOxvwm2IDc3hvGPOBX7GlPLNsWTh+kkW4lZizwXih2AZYKQz9ByuCVs6yJIdjZaVDi UXvNFdVKf3mAj9+g9Pc7EbX/rXYLuSnJod3p5cY7RTq06IxYiLdqvRXu734vRzNFycZy tmYX0e2RCK0bWwBpwjaOqUbUeozc4g/bi+GWbkW9sT5DExa7nzaOuFrUuwtpiniY7VXH t38en1jfrekxZNLDVaRFyr66XhwGFt9+bIuPlAZcxWgKbo9x82rdHxj3luAC0RuClMIE KCWw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1621594820; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=yrUi2zGpsBuXQE3DUzifFOxNggE4KCajYdcQm80AJYo=; b=I7gbEUNe9bxxbA5ST0Fxu4uGNR+XXopQ//scQqJ6IaXTa+q3sbzb4EOi2y5g5B+6d4 7StLRDGuk5Or2QoIT1p1QBWmDYgEVRk1rWtHnCUFBckQqAmBhwtJP1BblTGUARBlgKQU YYkC7SKaZ8Lp38NJKmVduCfjX3475pq8yaum7oC2VmJUiDn6/QdCOe8BBVyVP4I4BYJO Vpcao9zuXaNvyLZ/t9u8WtHXPqPNtoLKT7i1rj89eyj50KuSdGuFYkm8DcwhI6+VThOI pwZQow0w3JU1WEKNdaZ1+Lw416E9wWXkgGQNSW6fWvK6IeONW88A0AEF5m3rbWRGSNss lvMw== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi7OJsnWsu6x8oU92mk0cGNgxcUm0Bg8we7VE6a9enI4F" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2003:e5:174c:e200:30e1:20c7:55fa:bce1] by smtp.strato.de (RZmta 47.26.1 AUTH) with ESMTPSA id U07b15x4LB0J1RY (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 21 May 2021 13:00:19 +0200 (CEST) Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly To: Ikumi Keita References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> From: Berthold Lorke Message-ID: <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> Date: Fri, 21 May 2021 13:00:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <23522.1621585618@localhost> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) Yes! This is exactly the behaviour I expected, and I believe there is no reason why this shouldn't be the default. Thank you very much, I hope this will be patched in (or added as an option, but again, I see no reason why it shouldn't be the default). On 21/05/2021 10.26, Ikumi Keita wrote: > Hi Berthold, > >>>>>> Berthold Lorke writes: >> I don't see how "no indent" was requested by Florian. All he wanted was >> no line wrapping of highlighted text after executing a latex-environment >> C-c C-e command. Which I also do not want. So there is nothing he >> suggested that I want changed. > > Your argument is logical and convincing. ;-) > >>> Maybe AUCTeX should do only indentation, not filling, when >>> `auto-fill-mode' is disabled. (I'm not sure what is the best behavior >>> because I always enable `auto-fill-mode'.) > >> Yes! This is exactly what I am requesting :) > > Could you test the attached patch to see whether it works as expected? > > Regards, > Ikumi Keita > From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 10:05:10 2021 Received: (at 48518) by debbugs.gnu.org; 21 May 2021 14:05:10 +0000 Received: from localhost ([127.0.0.1]:37313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5m2-0002q1-J3 for submit@debbugs.gnu.org; Fri, 21 May 2021 10:05:10 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:60558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5lz-0002pn-Uj for 48518@debbugs.gnu.org; Fri, 21 May 2021 10:05:09 -0400 Received: from localhost (42-146-77-152.rev.home.ne.jp [42.146.77.152]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id 1AF41248; Fri, 21 May 2021 23:05:06 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> Comments: In-reply-to Berthold Lorke message dated "Fri, 21 May 2021 13:00:16 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24505.1621605905.1@localhost> Date: Fri, 21 May 2021 23:05:05 +0900 Message-ID: <24506.1621605905@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) Hi Berthold, >>>>> Berthold Lorke writes: > Yes! This is exactly the behaviour I expected, and I believe there is > no reason why this shouldn't be the default. > Thank you very much, I hope this will be patched in (or added as an > option, but again, I see no reason why it shouldn't be the default). Pushed to the git repo. Thanks for your report. Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Fri May 21 10:05:43 2021 Received: (at control) by debbugs.gnu.org; 21 May 2021 14:05:44 +0000 Received: from localhost ([127.0.0.1]:37316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5mZ-0002qw-QI for submit@debbugs.gnu.org; Fri, 21 May 2021 10:05:43 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:60562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lk5mY-0002qn-JS for control@debbugs.gnu.org; Fri, 21 May 2021 10:05:42 -0400 Received: from localhost (42-146-77-152.rev.home.ne.jp [42.146.77.152]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id D311D248 for ; Fri, 21 May 2021 23:05:41 +0900 (JST) To: control@debbugs.gnu.org From: Ikumi Keita Subject: control message for bug #48518 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24510.1621605940.1@localhost> Date: Fri, 21 May 2021 23:05:40 +0900 Message-ID: <24511.1621605940@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 48518 fixed close 48518 quit From unknown Fri Jun 20 07:10:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Jun 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 13:25:04 2022 Received: (at control) by debbugs.gnu.org; 20 Dec 2022 18:25:04 +0000 Received: from localhost ([127.0.0.1]:46411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hIV-0001rK-SP for submit@debbugs.gnu.org; Tue, 20 Dec 2022 13:25:04 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.220]:37015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hIS-0001qq-7Q for control@debbugs.gnu.org; Tue, 20 Dec 2022 13:25:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1671560698; s=strato-dkim-0002; d=lorke.de; h=Subject:From:To:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=5ERHpzEDc+3/MR1C+4Mzk7NOenxbShnzi6yZQSaDnrw=; b=bmwT/XIaiSLRKAkwbiRjtKAw1CElEPk3gwNC2vOwvHFtv6vwlAn2kbzVI8nZ1r3sCu NZwEbN1Cux+7JHDnVdvl+9GYZBtZyVjYjBG0uO54rXH7dpChpGdztY6cPR3PTQramZwS xP8URUbGPVgf2TaX/WUtQsMDOZgbsbSQHULieUuEUYsZ77OKPvUQmdsozbkeU2O2lsy9 QjqylvHutRXy/IysTmVkqYMgLlMm3GwSlsPQooiSVEE9sA7ECfMZp2bVH1LaUZHBoSFm bib5qOxKDjDHWeZdaMgnrGkSywnLePTpoGS7jGTYIx0lEtcFHPtsvCN0Rpk7jwSt+F2S te9A== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi+eJtSSpFjNvK8Bwd1WubWb0gJikrKTzGz4ZLhkBhMXz" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2003:ea:6f19:3f00:f367:4f1a:c305:4cd6] by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id e28afdyBKIOws7m (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Tue, 20 Dec 2022 19:24:58 +0100 (CET) Message-ID: <501dbdcb-41b1-9378-46d8-b233868b8e4d@lorke.de> Date: Tue, 20 Dec 2022 19:24:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US To: control@debbugs.gnu.org From: Berthold Lorke Subject: unarchive 48518 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.7 (-) unarchive 48518 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 13:46:00 2022 Received: (at 48518) by debbugs.gnu.org; 20 Dec 2022 18:46:00 +0000 Received: from localhost ([127.0.0.1]:46544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hcl-0006kJ-Rn for submit@debbugs.gnu.org; Tue, 20 Dec 2022 13:46:00 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.166]:38213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7hcj-0006kD-N2 for 48518@debbugs.gnu.org; Tue, 20 Dec 2022 13:45:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1671561955; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=sHPBSTuMmEbVzgOIA46ezP2y+iocIABmnlrlJJktppc=; b=SxL8zQmBX3ln1MuP47hve/xEQv2gNjkBtP6DU3aAzQiQ/BPsW388GL3hhPg06ti9iK FsizMHFyw+lYb56Jy1olJVOamp3QJkjqfToeX2aclymyEqkjmDSh/piFSLnWN6ifGVlt 2bfT4SElXhTtYiPUQFhT9R4drlk3/yL1lbetchUHGzQNuCQ15w8W/v3/aKVRQAOxxxxY 9et9ynMGQ7zPszZWbWM4PFnt6RCwTLzju3FMVZFoMeU9/Z0xOOqkfjw89eUvEeSF5KgC PAMiuHMLBp5ATYgfC+FG4hJWda03WB7eKT9Crfk+ZsslU7sceBg+860u3ipk8ktWp6G4 usqg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi+eJtSSpFjNvK8Bwd1WubWb0gJikrKTzGz4ZLhkBhMXz" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2003:ea:6f19:3f00:f367:4f1a:c305:4cd6] by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id e28afdyBKIjss9i (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 20 Dec 2022 19:45:54 +0100 (CET) Message-ID: Date: Tue, 20 Dec 2022 19:45:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Content-Language: en-US To: Ikumi Keita References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> From: Berthold Lorke In-Reply-To: <24506.1621605905@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.6 (-) It seems that it still doesn't work quite right for any environments listed in `LaTeX-indent-environment-list`, for example `equation`, `align`, `cases`, `picture`, among many others. Furthermore, I noticed the following. If after selecting the environment, there is no additional prompt, say for example for `cases`, the opening and closing `\begin{cases}` and `\end{cases}` get indented correctly, but the content enclosed in it (which was previously the highlighted region) stays unchanged. If after selecting the environment, there is an additional prompt, say for example for `equation`, the opening `\begin{equation}` gets indented correctly, but the closing `\end{equation}` has no indentation at all (id est is all the way left starting at column 0), and the content enclosed also behaves as described before, unchanged indentation. It should be easy to reproduce, I don't even think it is necessary to already be in an indented environment to see this behaviour, but one can try inside of an `itemize` environment for example, with wrongly indented text spanning multiple lines and the highlight starting in the middle of a line to see the effect the best. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 14:30:27 2022 Received: (at 48518) by debbugs.gnu.org; 20 Dec 2022 19:30:27 +0000 Received: from localhost ([127.0.0.1]:46756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7iJm-0007ES-Sy for submit@debbugs.gnu.org; Tue, 20 Dec 2022 14:30:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7iJl-0007EK-4M for 48518@debbugs.gnu.org; Tue, 20 Dec 2022 14:30:25 -0500 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 1p7iJd-0003H5-H5; Tue, 20 Dec 2022 14:30:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=tSJ1Vuwe3aXH+XQXd8xC+4Ezn9LmDORMItI4Nap2Qh4=; b=gG9XC1lihwLk6uLOO2Ax 4+r+Lb0JGixbSYVFZUYOCzXyYkaKu72BNFaEdy26+pZBWuev2YK8r7lEubDFEgp0sApk6OeMUCAz1 gBSl6K4kFNBG2yS7qWH+yUzGFZDvuxqf7fSRkvhEZzDV6YlNj3A+/k1qq6MHlVroXl5UdIjmvnzmb Uu8tPpM6zdz+Bp1nGmneLalS43BI9fOoXOyVwZkTvg78+NGon9ydZBUHk0h7dTyZNTCPdWt2f9Mrl iLvu9iPdU0OpsTAwzYs+vCgiyCPocTcreILTiE00OL0XO0Itzki5L8+KChJK/8HpEsX7HGqUUmZ2k 90KL2xg1/2qPxg==; Received: from p5b3263c3.dip0.t-ipconnect.de ([91.50.99.195] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7iJc-0001pi-DY; Tue, 20 Dec 2022 14:30:16 -0500 From: Arash Esbati To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-Reply-To: (Berthold Lorke's message of "Tue, 20 Dec 2022 19:45:54 +0100") References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> Date: Tue, 20 Dec 2022 20:30:04 +0100 Message-ID: <86cz8dzxdv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 48518 Cc: Ikumi Keita , 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.2 (---) Berthold Lorke writes: > It seems that it still doesn't work quite right for any environments > listed in `LaTeX-indent-environment-list`, for example `equation`, > `align`, `cases`, `picture`, among many others. Are you still using 13.0.11? If yes, can you please update first from ELPA? Thanks. I'm not sure if I understand what you describe. If I take this .tex file: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} Furthermore, I noticed the following. \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: --8<---------------cut here---------------end--------------->8--- Mark the sentence and hit 'C-c C-e equation RET', this is what I get: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} \begin{equation} \label{eq:1} Furthermore, I noticed the following. \end{equation} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: --8<---------------cut here---------------end--------------->8--- Am I missing something? Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 15:00:13 2022 Received: (at 48518) by debbugs.gnu.org; 20 Dec 2022 20:00:13 +0000 Received: from localhost ([127.0.0.1]:46888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7imb-0007bm-0i for submit@debbugs.gnu.org; Tue, 20 Dec 2022 15:00:13 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:39181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7imZ-0007bc-0o for 48518@debbugs.gnu.org; Tue, 20 Dec 2022 15:00:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1671566405; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=UCbB8JLV12tUwKmPz7lnD0AQdczXrm6B3cLJyy6dk5E=; b=qsja8xIoCf0qnw6de1gseDA95mCjNDD5M3edE5mdz3S+A6nAaj+hWf+kA0bJRmuooX zrTYyaYcLP0yGygab65SGsy5r8c0YyRzaSJoa2F2oEV6DXlsnjV6zBde2XK5rmQRfk6X utfXs/PMnvyfCxjIYmYgGTIsW+1D4/U71BpAjQZ9E3PdLw6lnVgoSyZ5UoBls0+GL1Uu AofQ+X8czXvbPgciTEaKFgoEaSztfOWhyNzcTy50ebrkVTaS5iZgC3ofGXoDxHP9hlTg bnWJy0Vx6VZ5/AlSzqAbOzX+QJ3WxfFIvBa6cUyXgy0uhpVRy281dFx3CrP/YAGuojT1 olIQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/jNi+eJtSSpFjNvK8Bwd1WubWb0gJikrKTzGz4ZLhkBhMXz" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2003:ea:6f19:3f00:f367:4f1a:c305:4cd6] by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id e28afdyBKK04sGS (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 20 Dec 2022 21:00:04 +0100 (CET) Message-ID: <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> Date: Tue, 20 Dec 2022 21:00:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Content-Language: en-US To: Arash Esbati References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> From: Berthold Lorke In-Reply-To: <86cz8dzxdv.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Ikumi Keita X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) my apologies, i was using version 13.1.1, and i thought this was the most recent version (my package management had a hiccup or something). i updated to 13.1.6, and now it works. thank you, and sorry for the inconvenience. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 14:07:33 2022 Received: (at control) by debbugs.gnu.org; 22 Dec 2022 19:07:33 +0000 Received: from localhost ([127.0.0.1]:36210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Quj-0002HA-JT for submit@debbugs.gnu.org; Thu, 22 Dec 2022 14:07:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Quh-0002H4-77 for control@debbugs.gnu.org; Thu, 22 Dec 2022 14:07:31 -0500 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 1p8Qub-0004nK-RG for control@debbugs.gnu.org; Thu, 22 Dec 2022 14:07:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=HZeZ7DKF9K+GTB8Zh8tW1QJs0JdYYGKRmmbJ+ZIJqjs=; b=HBSJpPjwSLayQP XGQRKCYeim2YvWzI4Lgnorp1BubnDBurjw0aF+BV3HrW5EXVPGFolQbv21rDol0BhMsVWa48Wmpcq KFzQ7jYx6JbV3plWan+x2IR7Afvzd8THAV+7W4qfykr/aNjkJBzkNnbChdGJID3NQibR21BuPwVUK +6ZBb/hna4F9LGHJhyp/xpIysgGE8RlGo6asKMut+KzsjsRnzyNK6wH7EXQon6SQqi/I/Ik3RCURe kFMCe1HfO9GdRK6K4aFmCRFAQS7V60jdgSHr8pafg6hXka0HH+TLtp1jPfT0hbRrAdWVf0u2+a7Ii HabuYhuOgReh6Z+Wa75w==; Received: from p5b3263c3.dip0.t-ipconnect.de ([91.50.99.195] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Qua-0002Ll-6R for control@debbugs.gnu.org; Thu, 22 Dec 2022 14:07:24 -0500 From: Arash Esbati To: control-debbugs Subject: Fwd: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Date: Thu, 22 Dec 2022 20:07:00 +0100 Message-ID: <86sfh7uujv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.2 (---) archive 48518 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 15:02:03 2023 Received: (at control) by debbugs.gnu.org; 2 Feb 2023 20:02:03 +0000 Received: from localhost ([127.0.0.1]:35870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfmV-0007RC-0M for submit@debbugs.gnu.org; Thu, 02 Feb 2023 15:02:03 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:45459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfmT-0007Qn-DM for control@debbugs.gnu.org; Thu, 02 Feb 2023 15:02:02 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1675368120; cv=none; d=strato.com; s=strato-dkim-0002; b=Ln051AsuZ974Fz/EEYYA1ovP1GWvl3lQ6bCWnmIBzk4UvbE4Fk5zlsyp3/OcdnkQ8j lSByF1rSTr1Oh+5MVpeZ3P65jPITxq5TBy/dzc4pewjn/jAtUkvuFsGH1I6SSegJmub3 fgTF1hoMXV1fsfqtp6ki+JxvbZMDVpDxr/vngIToMtShuF/ZvZ2jYl9H73b7Biydk0xR M79/ucqlxigSGjh2W+y3D0jbZPWPLJmNRBPrfcElpjkl5P2igazN4sVmtxX5izH8QJTl TC7AR8B05/wpkZ4JcoZo81se58SzfYH5PJmhOW6tJaZNQ3rX3SZv8yxB2/IYHAkZqB/P NMyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1675368120; s=strato-dkim-0002; d=strato.com; h=From:To:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=5ERHpzEDc+3/MR1C+4Mzk7NOenxbShnzi6yZQSaDnrw=; b=oYdpWYk4DJt7RVR3DjCCNIA+dB980554DRLJ3mMH2jEGoGT/N6JMN0LVuNLKclpDU5 YYwYa1qx0mPZ77WfyI15RiCs66Ybv//nRzQHMkqfpnr5XZiKApRRjgD80J+hyBVyt9pd oBbvZdnW5Zngq8NC4Z5SKtOImuejDNqsVVW8ubyxB25w/aP4kycqAbNB0sb7qTD7T23K 4y4R7UIi6tdKe0qkTvv8GuPzZ9sYd7yAjIg8aNpvb+39IKku97/TVxp2p+p/HfhsUeZb FyDJMfsVt8Buuy/vcRgtifRzHMhoJ6PEtiqP9knR2OU8tzVUk4WeLDMpsDUU6vNW/5m4 fNLg== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1675368120; s=strato-dkim-0002; d=lorke.de; h=From:To:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=5ERHpzEDc+3/MR1C+4Mzk7NOenxbShnzi6yZQSaDnrw=; b=jXswyNwo5SvIzlVzIV2Ow8fl2/GxakPSsg7Ak365x+R9Zfghrqi7bl6yzF6E6VihCz 9LC403ZRrJmidYHUuuPCXWsxk68MeBPjZhPzjemZvrLEW6XQfo8HQxmx+et5PN3DIvVd D3L20FcYw+U7mxOl0dF7MsYyfXI69kJyLUZJNFCDtGQFnGN5TY07LPWWzpuMsCjf5y3c N8mRUOfCVtr7Dg4Dcbv54f39Yx8ybXC9sbqduVgDbsjH5Zul+a2UMrz0H7owfMJvx17e b4zl+YQctnAmq5SYe7HKnhpNxDL5MaR6jknsIDxY2vOaNMbKpN59z+bSflty/Q3X4xiB RvpA== X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/rN2LGLuXeu++nlqE/sCq/IoB/h3tKR5TiAEXCGjdpByQ==" Received: from [IPV6:2001:678:560:24:60a9:b366:1315:4e20] by smtp.strato.de (RZmta 49.2.2 AUTH) with ESMTPSA id ud723cz12K20Z2z (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Thu, 2 Feb 2023 21:02:00 +0100 (CET) Message-ID: <0e975ef9-d1e3-e11d-1401-828741c61432@lorke.de> Date: Thu, 2 Feb 2023 21:02:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 To: control@debbugs.gnu.org Content-Language: en-US From: Berthold Lorke Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 48518 Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [81.169.146.217 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: 1.0 (+) unarchive 48518 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 02 15:06:19 2023 Received: (at 48518) by debbugs.gnu.org; 2 Feb 2023 20:06:20 +0000 Received: from localhost ([127.0.0.1]:35875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfqd-0007XM-Iz for submit@debbugs.gnu.org; Thu, 02 Feb 2023 15:06:19 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.22]:34151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNfqb-0007XD-Kc for 48518@debbugs.gnu.org; Thu, 02 Feb 2023 15:06:18 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1675368373; cv=none; d=strato.com; s=strato-dkim-0002; b=dti1Brp9g6It6Eh4IAjx2nQEROtcbySdKh/vjfDkEPUkYnkmBs034fhmzZPKybAZlz rkzlZOQSo5Gqe/QbqQrNRNK/9Q0GXYfuMGNlDMamS5/3HmJWrnlOecV6xe3zpayhBaEG 2nuePYDByyAUFq0zXqnyOj8oKxgeHjU3sXs/QVUdTZXvlZPtHAiLAQKVYw+GTcp7FWUg NMdeZ5zisi98fmGps95oYiVfsdgvjvHwOLCiRP9DJw8fmJu/SBOL1+Ec2O3QgBt5YtMB mrYMyVvDXJdRjhHE4ntL8tWkp3fOiYJjWNZ38zwRgmZdbCNHhsezRSYNiv4chOV9NwMe 46oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1675368373; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:References:Cc:To:From:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=ip8Oe+vhiCApxFjydw23lZCCDkJS7gZpIpD0g0xaBZM=; b=sJLWZsgtTVCT9uu5BkYJYMfkRB8/GeEQRlQbTfM7nVEq3ls3wbUlvcL6XKZMVRsNIT 1MRRos0Fk4LiC0AQopzV7Pf9C859yt6OYbTzxYI+ov66o8iUP89v0Et7JEIzReFUkaDm PWFIcv8YrBI5ADxIN5W4YrRpugKPeIP6IEb/VIVTifbF8R8zGPp5FcDE10c/Y9JnUnoM MiOuPagAnLoiwAqtcemTeo5AooN2r5QEYmDr1/VYCJT/Z90kfitNXuDpvykN8YRcO803 RgtF6f8nNWpBt2FGzxqaGBzkpcwZkWJMMe4Ma8LDJtFjAsNu4UFMTIlLiKUq30mfzpcA GRoA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1675368373; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:References:Cc:To:From:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=ip8Oe+vhiCApxFjydw23lZCCDkJS7gZpIpD0g0xaBZM=; b=QgkvL+h143eyLrwJ735eAOSeqtSIrO85NE1Vj5ocqA+SihcWRbvhqO3ufy5TzNO4gf QFFcO6aYjijzQt0cG4eFlOWPVj2k6Kqv5Pay1N/rj2+tNtaPUdZae14UuMipYUcjS+Mf XaNZCcSNJMqeK7QmupSpY+IoR0574Clv/54hB9c83yNj5R1dmxybeQwwd3bBx2R85bW9 HVJ2Y9NT/MF3fHTDsPdCylZrtL3TDes2P0FuSHzOOBNlgAhyNl/sE4JfVV81zAo9GXJF GBCbT4YHcyOVowZHOxUiUDHPBrwKOa25YEn34knEnLeS3KcTsfOYsMsok9DkuTLdu/ob GhCA== X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GOXR/rN2LGLuXeu++nlqE/sCq/IoB/h3tKR5TiAEXCGjdpByQ==" Received: from [IPV6:2001:678:560:24:60a9:b366:1315:4e20] by smtp.strato.de (RZmta 49.2.2 AUTH) with ESMTPSA id ud723cz12K6DZ3b (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 2 Feb 2023 21:06:13 +0100 (CET) Message-ID: <9372bf13-a2a9-32a9-30b0-8afc578cd8d2@lorke.de> Date: Thu, 2 Feb 2023 21:06:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly Content-Language: en-US From: Berthold Lorke To: Arash Esbati References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> In-Reply-To: <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Ikumi Keita X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.0 (--) Okay, I am sorry if I am bugging you (no pun intended), but I now still do believe there is a problem. I am using auctex 13.1.9. Let us assume the following inside of a buffer in `tex-mode` with auctex installed. I did this with a fresh Emacs, no other packages installed and no config. ```tex \documentclass{article} \begin{document} \begin{itemize} \item hello test. some more text. a^2 + b^2 = c^2 and some text afterwards here. \end{itemize} \end{document} ``` - Mark the region where I wrote `a^2 + b^2 = c^2`, that is line 7. - Perform `M-x LaTeX-environment`, put `equation` in the prompt, press enter, and then for the next prompt press enter again. The buffer then reads the following ```tex \documentclass{article} \begin{document} \begin{itemize} \item hello test. some more text. \begin{equation} a^2 + b^2 = c^2 \end{equation} and some text afterwards here. \end{itemize} \end{document} ``` As you can see, it is not correctly indented. Have tried this multiple times on multiple machines and so on. Can you confirm this behaviour? From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 03:13:15 2023 Received: (at 48518) by debbugs.gnu.org; 3 Feb 2023 08:13:15 +0000 Received: from localhost ([127.0.0.1]:36441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNrC6-000785-Pq for submit@debbugs.gnu.org; Fri, 03 Feb 2023 03:13:15 -0500 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:32948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNrC3-00077u-VX for 48518@debbugs.gnu.org; Fri, 03 Feb 2023 03:13:13 -0500 Received: from localhost (42-144-46-173.rev.home.ne.jp [42.144.46.173]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id E515560; Fri, 3 Feb 2023 17:13:09 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> Comments: In-reply-to Berthold Lorke message dated "Thu, 02 Feb 2023 21:00:46 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.2 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Date: Fri, 03 Feb 2023 17:13:08 +0900 Message-ID: <24912.1675411988@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Arash Esbati X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) --=-=-= Content-Type: text/plain Hi Berthold, thanks for the report. >>>>> Berthold Lorke writes: > Okay, I am sorry if I am bugging you (no pun intended), but I now > still do believe there is a problem. > I am using auctex 13.1.9. Let us assume the following inside of a > buffer in `tex-mode` with auctex installed. I did this with a fresh > Emacs, no other packages installed and no config. I assume AUCTeX latex mode, not `tex-mode`. > - Mark the region where I wrote `a^2 + b^2 = c^2`, that is line 7. > - Perform `M-x LaTeX-environment`, put `equation` in the prompt, press > enter, and then for the next prompt press enter again. [...] > As you can see, it is not correctly indented. Have tried this > multiple times on multiple machines and so on. Can you confirm this > behaviour? Indeed. This is't nice. :-( Currenty, `LaTeX-insert-environment' doesn't indent the active region if the environment is in `LaTeX-indent-environment-list'. I expect that it doesn't harm if it indents. Could you try the attached patch? Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=patch Content-Description: tentative fix diff --git a/latex.el b/latex.el index 56992d54..85d83f38 100644 --- a/latex.el +++ b/latex.el @@ -821,12 +821,12 @@ environment just inserted, the buffer position just before (end-of-line 0) (if active-mark (progn - (or (assoc environment LaTeX-indent-environment-list) - (if auto-fill-function - ;; Fill the region only when `auto-fill-mode' is active. - (LaTeX-fill-region content-start (line-beginning-position 2)) - ;; Else just indent the region. (bug#48518) - (indent-region content-start (line-beginning-position 2)))) + (if (and auto-fill-function + (not (assoc environment LaTeX-indent-environment-list))) + ;; Fill the region only when `auto-fill-mode' is active. + (LaTeX-fill-region content-start (line-beginning-position 2)) + ;; Else just indent the region. (bug#48518) + (indent-region content-start (line-beginning-position 2))) (set-mark content-start)) (indent-according-to-mode)) ;; Indent \end{foo}. @@ -1335,7 +1335,6 @@ Just like array and tabular." (LaTeX-newline) (indent-according-to-mode)) (when (TeX-active-mark) - (indent-region (point) (mark)) ;; Restore the positions of point and mark. (exchange-point-and-mark))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 05:20:35 2023 Received: (at 48518) by debbugs.gnu.org; 3 Feb 2023 10:20:35 +0000 Received: from localhost ([127.0.0.1]:36556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNtBK-0006bI-NG for submit@debbugs.gnu.org; Fri, 03 Feb 2023 05:20:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNtBI-0006b5-Ob for 48518@debbugs.gnu.org; Fri, 03 Feb 2023 05:20:33 -0500 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 1pNtBB-0003dL-6Z; Fri, 03 Feb 2023 05:20:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=gJA8liQh77uLQJQ0hb7EVrYWMMemjNqUtblsJ4Hu3gA=; b=a0nu+Jo8YJ58+qUkv3jx GutiPMtoWMjWXEqkBIRT9Zznn+V0VQWQEIx14JXrcdnbqyOfB1EWECAyf/Rr2oMGiFI+lnSZiAhMC 2eFjSKb0RrGamfWy8qRlubapp/hMR28Em4zuIB5hQ4MlTWfpcV1v1ZBjaGr4WsyxXyWrp0sSGfHsq 85uomegweaRnvNHJ6qL2yESzFFWLaIue/YG/WxdIt6KhtoHsdLQNE1vUby5BaHWMr6g439q4XK5Ik TADSzPMu+0EKThltTAjmQJNF+O0Hvuu8SgKa8OzjTTr+LULa7hY727YNLyUiA91ivkkYZvirRKf2Y 1dsmHzjqWQeQAA==; Received: from p5b326467.dip0.t-ipconnect.de ([91.50.100.103] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNtBA-00078X-Mh; Fri, 03 Feb 2023 05:20:24 -0500 From: Arash Esbati To: Ikumi Keita Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-Reply-To: <24912.1675411988@localhost> (Ikumi Keita's message of "Fri, 03 Feb 2023 17:13:08 +0900") References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> <24912.1675411988@localhost> Date: Fri, 03 Feb 2023 11:20:09 +0100 Message-ID: <868rhf59uu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Berthold Lorke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.2 (---) Hi Keita, Ikumi Keita writes: > Currenty, `LaTeX-insert-environment' doesn't indent the active region if > the environment is in `LaTeX-indent-environment-list'. Yes, this was also my conclusion after having a brief look. > Could you try the attached patch? Thanks, I tried and it works. Let's wait and see if it also works for Berthold. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 09:56:22 2023 Received: (at 48518) by debbugs.gnu.org; 3 Feb 2023 14:56:22 +0000 Received: from localhost ([127.0.0.1]:39748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNxUE-0002P5-4G for submit@debbugs.gnu.org; Fri, 03 Feb 2023 09:56:22 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:46027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNxUB-0002Ow-M7 for 48518@debbugs.gnu.org; Fri, 03 Feb 2023 09:56:20 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1675436177; cv=none; d=strato.com; s=strato-dkim-0002; b=ID6o9KONpvgthK9j1VcEEDQaGH2dsWAtXEBEtFykHIwlZSLINZ0klJV8s+KcPmFgX4 BpStQZ8ttSazHfuNdVvBQMwoW+MrUs7N76zjDng0R5NsXAVGxnzKdWbQ1sLfPhKM0eu6 mPJ8Vg5O0bqmCcohatBV6LFDQktakZxxNzNUXcxXvZy/jTtIbfgcsdwjojRzE0wOqzdr DFNEzQcYRw3i8mCnFwzYHGk36rRPKRf0Iaxo23X1KeVnyleg5fXztb75AWpy6blcPsDW dH0S/reOTpwgXfbk/em+vC9R6yrAIPRVIFqAnmDiVD9uDuU9EYzCBlgbmLSIWAMI3uj8 9Ouw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1675436177; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=v+dY50iVy8KAUtv9sKn3J6re4ff0wABoT0+y0ISGFz8=; b=RIfKvtDOi28VOATs1E0iHLt1nqPmiyfNzojRQz/PwWzSan86jxPHqJd8PRsMTHZR3w tBetbrDkwR8M5R7zoVJTCIA/tAZs4bCw6laoXHvnuxRd2EbxMwCLN7Zj7jba4ofv+Np7 DQtoEAtdYliZ2OTIh15oeFZaJCUKMKFFUrIKxaajRElMkXCoko4Lzb7KUR03HPCi19el V8E6knefazF8HM6HcsynEVQPR2fZcPoZWx8qU1V82e20IxUMKPAq+Pb49SJk4rn7x2RJ MXwERqeGV0BcDtJTTMm69FYG+QkUYJh1N8RmA11FGmJHVO95q4GZiZxsrBXtromNeHnJ 4mKQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1675436177; s=strato-dkim-0002; d=lorke.de; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=v+dY50iVy8KAUtv9sKn3J6re4ff0wABoT0+y0ISGFz8=; b=GgzcqOp93IIB0OoK1NvZe+pOSRARaarCHHz1fYnW89CaMieaHvJcke87peXIW/3cxZ atQZ3dBeQ6S+FRfRYjsoUoB42w8Tf6Y16WsAkDhGpOYhuawCAR8ueX+AeytZw1FW6F9I l+I1/KEGJfFsAxvj6jfZ1TYlBPfSLRIdMj7DdLmCdPxyOUbbWcbBbpAZ22y4qqhHFJPL mTWg0IWzu5hbrA0pbRwGXuh3msOzwBH001oVh9DGrpw0UXPzvuyLH/pb/KfMrn4zt69v inVqnL8DZrSIMQ7ZXsJtCNVPktk1j8ssLxzIjZrPjYHVha7riSFKhyAaPufkn5fZxwwZ nGCg== X-RZG-AUTH: ":LmkWYUind/sPg6+jpcKJzU88Td0kzv/qdwAut5fBNI54jQKR6GmeWYND7bHJsD450X6vGg==" Received: from [192.168.157.246] by smtp.strato.de (RZmta 49.2.2 DYNA|AUTH) with ESMTPSA id ud723cz13EuGboQ (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 3 Feb 2023 15:56:16 +0100 (CET) Message-ID: <45c32f20-3d35-3067-83bd-9776989ec251@lorke.de> Date: Fri, 3 Feb 2023 15:56:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly To: Arash Esbati , Ikumi Keita References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> <24912.1675411988@localhost> <868rhf59uu.fsf@gnu.org> Content-Language: en-US From: Berthold Lorke In-Reply-To: <868rhf59uu.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.0 (--) hey guys! thanks for checking out and trying to fix it! i tried the patch and it seems like everything works fine now! thanks! From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 11:15:04 2023 Received: (at 48518) by debbugs.gnu.org; 3 Feb 2023 16:15:04 +0000 Received: from localhost ([127.0.0.1]:39849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNyiO-0004MQ-0K for submit@debbugs.gnu.org; Fri, 03 Feb 2023 11:15:04 -0500 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:33832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNyiK-0004Le-6O for 48518@debbugs.gnu.org; Fri, 03 Feb 2023 11:15:02 -0500 Received: from localhost (42-144-46-173.rev.home.ne.jp [42.144.46.173]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id CB75D60; Sat, 4 Feb 2023 01:14:57 +0900 (JST) From: Ikumi Keita To: Berthold Lorke Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: <45c32f20-3d35-3067-83bd-9776989ec251@lorke.de> References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> <24912.1675411988@localhost> <868rhf59uu.fsf@gnu.org> <45c32f20-3d35-3067-83bd-9776989ec251@lorke.de> Comments: In-reply-to Berthold Lorke message dated "Fri, 03 Feb 2023 15:56:15 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29528.1675440896.1@localhost> Date: Sat, 04 Feb 2023 01:14:56 +0900 Message-ID: <29531.1675440896@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Arash Esbati X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) >>>>> Berthold Lorke writes: > hey guys! thanks for checking out and trying to fix it! > i tried the patch and it seems like everything works fine now! thanks! Thanks for checking. Sorry for not being carefull enough to fix bug#28382[1] last year. :-( To developers: I'm a bit unsure whether there is regression with this fix or not. Do you think it should be delayed until the new tarball release is out? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28382 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 03 12:13:40 2023 Received: (at 48518) by debbugs.gnu.org; 3 Feb 2023 17:13:40 +0000 Received: from localhost ([127.0.0.1]:39875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNzd6-0005n7-Bz for submit@debbugs.gnu.org; Fri, 03 Feb 2023 12:13:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNzd3-0005mt-C0 for 48518@debbugs.gnu.org; Fri, 03 Feb 2023 12:13:38 -0500 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 1pNzcw-0002fb-63; Fri, 03 Feb 2023 12:13:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=pR4qqcQy5k+ZGgJyMk4iE8466H5KVnJF9DHUiyjlrcA=; b=QcNOTarO3mDu7sN6zH1s ddp5tmZKB9JlDsMdfpe3aUEcm7kF8KvOxtxghduLLA5oAablI77P63hxf5xK1qktCYL9xg0j1rMh2 r0yn2vbgCeASv8E1st3KoLqpzTMkRey6Z+pAk2t0uB5dO9nWNpqdm3I9EEPZsVrHnd5VOU2dc20W0 kRpVoaTqKNhoy0Zz77VX9c14WqRPB2Lmv3l7B2hlcwyUHoJRUA2G8dg7LmsegUcAKrJ6oM9gqWxSi e+IOBj5hbjY4VTcGreo8nHu6Q6MqzvZMfkpu72SCz5GJTtWO4NUE1+7f6g5QaSvqrdVXV6Ub/WJkH J+MDEBsCO8upGA==; Received: from p5b326467.dip0.t-ipconnect.de ([91.50.100.103] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNzcv-0002CX-I5; Fri, 03 Feb 2023 12:13:29 -0500 From: Arash Esbati To: Ikumi Keita Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-Reply-To: <29531.1675440896@localhost> (Ikumi Keita's message of "Sat, 04 Feb 2023 01:14:56 +0900") References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> <24912.1675411988@localhost> <868rhf59uu.fsf@gnu.org> <45c32f20-3d35-3067-83bd-9776989ec251@lorke.de> <29531.1675440896@localhost> Date: Fri, 03 Feb 2023 18:13:15 +0100 Message-ID: <86fsbmn044.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Berthold Lorke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.2 (---) Ikumi Keita writes: > To developers: > I'm a bit unsure whether there is regression with this fix or not. Do > you think it should be delayed until the new tarball release is out? My tendency is to install the change. It seems to fix a bug, and fixes before release are OK, at least in my book :-) Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 01:27:53 2023 Received: (at 48518) by debbugs.gnu.org; 4 Feb 2023 06:27:53 +0000 Received: from localhost ([127.0.0.1]:40475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOC1g-0008B4-Pf for submit@debbugs.gnu.org; Sat, 04 Feb 2023 01:27:53 -0500 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:34914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOC1e-0008Av-Hk for 48518@debbugs.gnu.org; Sat, 04 Feb 2023 01:27:51 -0500 Received: from localhost (42-144-46-173.rev.home.ne.jp [42.144.46.173]) by smtp1a.inetd.co.jp (Postfix) with ESMTPA id D78125C; Sat, 4 Feb 2023 15:27:48 +0900 (JST) From: Ikumi Keita To: Arash Esbati Subject: Re: bug#48518: 13.0.11; LaTeX environment C-c C-e on region doesn't indent properly In-reply-to: <86fsbmn044.fsf@gnu.org> References: <36606d5b-e0e0-1a78-cef2-246380e11c60@lorke.de> <13352.1621513609@localhost> <19577.1621531648@localhost> <23522.1621585618@localhost> <4ba377e3-8184-c8e2-55a6-4876c2820749@lorke.de> <24506.1621605905@localhost> <86cz8dzxdv.fsf@gnu.org> <74f9462d-e2c2-0308-3b04-fd46d5ccfef2@lorke.de> <5107a40e-edaa-9c7c-824a-73aa033afed2@lorke.de> <24912.1675411988@localhost> <868rhf59uu.fsf@gnu.org> <45c32f20-3d35-3067-83bd-9776989ec251@lorke.de> <29531.1675440896@localhost> <86fsbmn044.fsf@gnu.org> Comments: In-reply-to Arash Esbati message dated "Fri, 03 Feb 2023 18:13:15 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31845.1675492068.1@localhost> Date: Sat, 04 Feb 2023 15:27:48 +0900 Message-ID: <31848.1675492068@localhost> X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48518 Cc: 48518@debbugs.gnu.org, Berthold Lorke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.9 (/) Hi Arash, >>>>> Arash Esbati writes: > My tendency is to install the change. It seems to fix a bug, and fixes > before release are OK, at least in my book :-) Alright, I've pushed the commit. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine From unknown Fri Jun 20 07:10:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 04 Mar 2023 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator