GNU bug report logs - #74056
`LaTeX-insert-item' inserts comment characters if called from inside comment

Previous Next

Package: auctex;

Reported by: Vangelis Evangelou <evangelou <at> gmail.com>

Date: Mon, 28 Oct 2024 09:42:01 UTC

Severity: normal

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Vangelis Evangelou <evangelou <at> gmail.com>, 74056 <at> debbugs.gnu.org
Subject: bug#74056: `LaTeX-insert-item' inserts comment characters if called from inside comment
Date: Tue, 29 Oct 2024 12:44:19 +0100
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> Ah, that's a good idea. Does the change below look good? (I refilled the
> doc string as well.)
>
> diff --git a/latex.el b/latex.el
> index 02fd1e33..9f767f99 100644
> --- a/latex.el
> +++ b/latex.el
> @@ -66,12 +66,13 @@ A comma-seperated list of strings."
>  
>  (make-variable-buffer-local 'LaTeX-default-options)
>  
> -(defcustom LaTeX-insert-into-comments t
> +(defcustom LaTeX-insert-into-comments nil
>    "Whether insertion commands stay in comments.
> -This allows using the insertion commands even when
> -the lines are outcommented, like in dtx files."
> +This allows using the insertion commands even when the lines are
> +outcommented, like in dtx files."
>    :group 'LaTeX-environment
> -  :type 'boolean)
> +  :type 'boolean
> +  :safe #'booleanp)

Thanks, :package-version '(auctex . "14.0.8") is missing, and also an
entry in NEWS.org.  And while we're at it, should we document the
variable in the manual and take this from the ToDo-list[1], WDYT?

Best, Arash

Footnotes:
[1]  https://elpa.gnu.org/devel/doc/auctex.html#Mid_002dterm-Goals




This bug report was last modified 277 days ago.

Previous Next


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