From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 08 04:43:02 2021 Received: (at submit) by debbugs.gnu.org; 8 Jun 2021 08:43:02 +0000 Received: from localhost ([127.0.0.1]:57352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqXK9-0003i4-Sx for submit@debbugs.gnu.org; Tue, 08 Jun 2021 04:43:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:46790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqXK8-0003hq-Cm for submit@debbugs.gnu.org; Tue, 08 Jun 2021 04:43:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqXK8-0001ib-49 for bug-auctex@gnu.org; Tue, 08 Jun 2021 04:43:00 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:11842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqXK6-0007Kc-35 for bug-auctex@gnu.org; Tue, 08 Jun 2021 04:42:59 -0400 Received: from [192.168.0.11] (unknown [88.122.168.98]) (Authenticated sender: jfbu@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 3B92C2003ED for ; Tue, 8 Jun 2021 10:42:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1623141774; bh=6CBIySMu8VsHtSFRtLjX4ktFK4SFCc6mZvobrJZNqGw=; h=From:Subject:Date:To:From; b=MIdGaXbum21uLnXFVWZwotSf3zuWHcU8AFMn2M5/r2OGhaBQEkg+UTGToJ1R9pB87 9bVwGue8uYbs8Ya3sp4NW9PRGCOy4OI9ubor2mDLgJvODNkOI2JvjAYRsf48WPtL2y PWBXdQw6XYu8cWXCmk/2DO4l7rfUnbFYkGcH1rZQCNwMog7itQ1Nto4wguw8uQ4ALy YmNPJHpuskS39sHRlLn0P5v2RdEMrfHf0HtCwyikUBAtrA92Ur6e/TyOHrSUmp4buM Vck2q4gu9C3UXiVmBvLsH9rHA/H42C6f2uiAYOElAK28hMwjGk21nCbc5BZkouY/Bv WIk+pIF/mE1sA== From: jfbu Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 2021-06-07; C-cC-e environment insertion with first line of contents commented out Message-Id: <1D84C19B-2BF4-42DE-8CF6-2347815C939A@free.fr> Date: Tue, 8 Jun 2021 10:42:52 +0200 To: bug-auctex@gnu.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Received-SPF: pass client-ip=212.27.42.2; envelope-from=jfbu@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: -2.6 (--) Hi, This may be a duplicate, sorry. I am testing with git clone at 1b1361c0 Make TeX-fold-mode aware of = superscript and subscript Starting with this buffer: --- \documentclass{article} \begin{document} %deliberately missing closing $ after \simeq Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89) =3D 9.1 for the shielding I used). \end{document} --- and LaTeX-mode active, select the three lines inside the document environment, then hit C-cC-e foo The result is % \begin{foo} % deliberately missing closing $ after \simeq Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89) = =3D 9.1 for the shielding I used). % \end{foo} Perhaps environment insertion should by default, except if in doctex-mode, not use % ? or use it only if **all** lines are commented out ? Best, Jean-Fran=E7ois From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 02:05:15 2021 Received: (at 48914) by debbugs.gnu.org; 10 Jun 2021 06:05:15 +0000 Received: from localhost ([127.0.0.1]:35215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrDoY-0001EU-QZ for submit@debbugs.gnu.org; Thu, 10 Jun 2021 02:05:15 -0400 Received: from smtp1a.inetd.co.jp ([210.129.88.11]:38644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrDoW-0001EJ-Ge for 48914@debbugs.gnu.org; Thu, 10 Jun 2021 02:05:13 -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 838F7244; Thu, 10 Jun 2021 15:05:10 +0900 (JST) From: Ikumi Keita To: jfbu Subject: Re: bug#48914: 2021-06-07; C-cC-e environment insertion with first line of contents commented out In-reply-to: <1D84C19B-2BF4-42DE-8CF6-2347815C939A@free.fr> References: <1D84C19B-2BF4-42DE-8CF6-2347815C939A@free.fr> Comments: In-reply-to jfbu message dated "Tue, 08 Jun 2021 10:42:52 +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: <72859.1623305109.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Jun 2021 15:05:09 +0900 Message-ID: <72860.1623305109@localhost> 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: Hi Jean, >>>>> jfbu writes: > The result is > % \begin{foo} > % deliberately missing closing $ after \simeq > Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89) = 9.1 > for the shielding I used). > % \end{foo} Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_TONAME_EQ_TOLOCAL_HDRS_LCASE To: name matches everything in local email - LCASE headers X-Debbugs-Envelope-To: 48914 Cc: 48914@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.0 (-) Hi Jean, >>>>> jfbu writes: > The result is > % \begin{foo} > % deliberately missing closing $ after \simeq > Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89)= =3D 9.1 > for the shielding I used). > % \end{foo} > Perhaps environment insertion should by default, except > if in doctex-mode, not use % ? > or use it only if **all** lines are commented out ? How about customizing `LaTeX-insert-into-comments' to nil? This option has an effect of adding comment prefixes at the beginning of line for some commands, and defaults to t. AUCTeX sets this option to t unconditionally in doctex mode, so the current default makes the standard latex mode to behave like doctex mode in some aspects. (I'm not sure why it defaults to t.) Some other commands are affected when you set this to nil, so please report if it brings any undesired experience for you. Regards, Ikumi Keita From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 11:27:26 2021 Received: (at submit) by debbugs.gnu.org; 10 Jun 2021 15:27:26 +0000 Received: from localhost ([127.0.0.1]:37582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrMac-0001Wd-F9 for submit@debbugs.gnu.org; Thu, 10 Jun 2021 11:27:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:50486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrMaY-0001WT-Nd for submit@debbugs.gnu.org; Thu, 10 Jun 2021 11:27:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrMaY-000766-Ho for bug-auctex@gnu.org; Thu, 10 Jun 2021 11:27:22 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrMaW-0003Rh-W0 for bug-auctex@gnu.org; Thu, 10 Jun 2021 11:27:22 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lrMaT-0002HA-8H for bug-auctex@gnu.org; Thu, 10 Jun 2021 17:27:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-auctex@gnu.org From: jfbu Subject: Re: bug#48914: 2021-06-07; C-cC-e environment insertion with first line of contents commented out Date: Thu, 10 Jun 2021 17:27:11 +0200 Message-ID: References: <1D84C19B-2BF4-42DE-8CF6-2347815C939A@free.fr> <72860.1623305109@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: <72860.1623305109@localhost> Content-Language: fr Received-SPF: pass client-ip=116.202.254.214; envelope-from=geab-bug-auctex@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 9 X-Spam_score: 0.9 X-Spam_bar: / X-Spam_report: (0.9 / 5.0 requ) BAYES_00=-1.9, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) 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: -0.3 (/) Hi Keita, Le 10/06/2021 à 08:05, Ikumi Keita a écrit : > Hi Jean, > >>>>>> jfbu writes: >> The result is > >> % \begin{foo} >> % deliberately missing closing $ after \simeq >> Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89) = 9.1 >> for the shielding I used). >> % \end{foo} > >> Perhaps environment insertion should by default, except >> if in doctex-mode, not use % ? > >> or use it only if **all** lines are commented out ? > > How about customizing `LaTeX-insert-into-comments' to nil? This option > has an effect of adding comment prefixes at the beginning of line for > some commands, and defaults to t. Thank you. I have set it to nil and will see what happens. > > AUCTeX sets this option to t unconditionally in doctex mode, so the > current default makes the standard latex mode to behave like doctex mode > in some aspects. (I'm not sure why it defaults to t.) It would be better to be able to set it to nil only in non-doctex mode. But, although I do currently work often with doctex-mode, I rarely insert an environment in comments, because 1. in my way of using dtx, the documentation for user is not commented out in the file 2. only code comments are commented out (sic) and I rarely (almost never) use environments as I use there most of the time a custom tex macro for multi-paragraph \verb-like behaviour > > Some other commands are affected when you set this to nil, so please > report if it brings any undesired experience for you. > I will try to be alert to changes I may detect. Thanks for the tip. Jean-François From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 04:44:30 2024 Received: (at 48914) by debbugs.gnu.org; 5 Mar 2024 09:44:30 +0000 Received: from localhost ([127.0.0.1]:46205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRLZ-0006ND-Mw for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:44:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRLS-0006Mt-NU for 48914@debbugs.gnu.org; Tue, 05 Mar 2024 04:44:27 -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 1rhRKt-0003KQ-AR; Tue, 05 Mar 2024 04:43:47 -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=Bx1ITQwt+sqEaiqvanK6vAWpnrh396ujOP/rW5wvnvI=; b=nqC/zx72ysw2ZbyUl7LK xlOg+k3FUuJ1LtTqVq8J1Nsev5FPeuDr4eGb/QfVPOs3r1ZZazQieHTP3q2h1/n2ORRBQDL+h1Dj9 UQQa/PPQXAWhhN1UPk4beBfWQLIsDB81en2yboVzz8Er3ynpxurKk0A91ODrDYFs/pTleG1hOiTp0 hIuQikVgz5fq5jukOZ2VW+WvH13bOb8TewyYvNV+835hFeV/BM7wWmNkZMZiHq2lJUK6U4MQDeyI1 dMkvVHWxtiQwPWfIvQLMyAUzTXAOojZcZgktfMzqHA2LI3W87fGSJY2cpAgFQHFX4L9wH4NnRAYiP AP4VVwBNRcAG8w==; From: Arash Esbati To: jfbu Subject: Re: bug#48914: 2021-06-07; C-cC-e environment insertion with first line of contents commented out In-Reply-To: (jfbu@free.fr's message of "Thu, 10 Jun 2021 17:27:11 +0200") References: <1D84C19B-2BF4-42DE-8CF6-2347815C939A@free.fr> <72860.1623305109@localhost> Date: Tue, 05 Mar 2024 10:43:37 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48914 Cc: 48914@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.3 (---) jfbu writes: > Hi Keita, > > Le 10/06/2021 =C3=A0 08:05, Ikumi Keita a =C3=A9crit=C2=A0: >> Hi Jean, >>=20 >>>>>>> jfbu writes: >>> The result is >>=20 >>> % \begin{foo} >>> % deliberately missing closing $ after \simeq >>> Reduces the background count rate by a factor of $R$ ($R\simeq 1/(1-.89= ) =3D 9.1 >>> for the shielding I used). >>> % \end{foo} >>=20 >>> Perhaps environment insertion should by default, except >>> if in doctex-mode, not use % ? >>=20 >>> or use it only if **all** lines are commented out ? >> How about customizing `LaTeX-insert-into-comments' to nil? This >> option >> has an effect of adding comment prefixes at the beginning of line for >> some commands, and defaults to t. > > > Thank you. I have set it to nil and will see what happens. > >> AUCTeX sets this option to t unconditionally in doctex mode, so the >> current default makes the standard latex mode to behave like doctex mode >> in some aspects. (I'm not sure why it defaults to t.) > > It would be better to be able to set it to nil only in non-doctex mode. > > But, although I do currently work often with doctex-mode, I rarely > insert an environment in comments, because > 1. in my way of using dtx, the documentation for user is not commented > out in the file > 2. only code comments are commented out (sic) > and I rarely (almost never) use environments as I use there most of > the time a custom tex macro for multi-paragraph \verb-like behaviour > >> Some other commands are affected when you set this to nil, so please >> report if it brings any undesired experience for you. >>=20 > > I will try to be alert to changes I may detect. > > Thanks for the tip. (I'm going through old bug reports that unfortunately weren't resolved at the time.) No further comments, therefore I'm closing this report. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 04:44:32 2024 Received: (at control) by debbugs.gnu.org; 5 Mar 2024 09:44:32 +0000 Received: from localhost ([127.0.0.1]:46209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRLc-0006NR-3L for submit@debbugs.gnu.org; Tue, 05 Mar 2024 04:44:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhRLa-0006N5-LD for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:44:30 -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 1rhRL1-0003ND-53 for control@debbugs.gnu.org; Tue, 05 Mar 2024 04:43:55 -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=H8BpLhnpm/dcrg/oLZ8rskYENKAmGv2VUgE+gO9VatE=; b=aEIYtknqNDIn1p bDBAyMFImviRBwsC++LcSjEnAaixMR4uQjbsjYZZsR2ywlouC4jPJIBz4jpMeXxVynFYJsjDwyuKt Jhbt+YZ8mie/brjqoWlDmcrVP0dwLnFCSyJHRkq/BTi9k5s+uzVgmWO/wTRvgxoq8sLIsySTD7Fie 6vO8jVo8kyVslzGKzFaR6JqcPuZggWG08tRqWvii8UNbzW3+ujyRR91+xFOiAV9mol/7a2SkLwPwz TMVd9haemb2rMgu/NMPblp0hlCn6qMRzL1PHtu1Q9/rtJSN/57cD6iU0FJ2+FzqZ4Y37SXOTQr/lU iKvFF76DDb23JPNENUkg==; From: Arash Esbati To: control@debbugs.gnu.org Subject: control message for bug #48914 Date: Tue, 05 Mar 2024 10:43:52 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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.3 (---) close 48914 quit From unknown Fri Jun 20 20:07: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: Tue, 02 Apr 2024 11:24:12 +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