GNU bug report logs - #48914
2021-06-07; C-cC-e environment insertion with first line of contents commented out

Previous Next

Package: auctex;

Reported by: jfbu <jfbu <at> free.fr>

Date: Tue, 8 Jun 2021 08:44:02 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48914 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: jfbu <jfbu <at> free.fr>
Cc: 48914 <at> debbugs.gnu.org
Subject: Re: bug#48914: 2021-06-07;
 C-cC-e environment insertion with first line of contents commented out
Date: Thu, 10 Jun 2021 15:05:09 +0900
Hi Jean,

>>>>> jfbu <jfbu <at> free.fr> 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.

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




This bug report was last modified 1 year and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.