GNU bug report logs - #58069
Latex

Previous Next

Package: auctex;

Reported by: Hendrik Rommeswinkel <rommeswi <at> protonmail.com>

Date: Sun, 25 Sep 2022 07:45:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58069 in the body.
You can then email your comments to 58069 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#58069; Package auctex. (Sun, 25 Sep 2022 07:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hendrik Rommeswinkel <rommeswi <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sun, 25 Sep 2022 07:45:02 GMT) Full text and rfc822 format available.

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

From: Hendrik Rommeswinkel <rommeswi <at> protonmail.com>
To: "bug-auctex <at> gnu.org" <bug-auctex <at> gnu.org>
Subject: Latex
Date: Sun, 25 Sep 2022 04:16:03 +0000
[Message part 1 (text/plain, inline)]
Dear AucTeXers,

When I am in insert mode and press "`a" the behavior depends on whether the cursor is in a math environment (where it inserts "\alpha") or in a text environment (where it inserts "\alpha{}"). Is this intended? I am thrown off by this inconsistency to the extent that I hardly use the shortcuts because I sometimes sketch a quick formula outside of a math environment (which is probably bad style...).

Cheers and thank you for your work on Auctex!
[Message part 2 (text/html, inline)]
[publickey - rommeswi@protonmail.com - 0xB2AC9831.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-auctex <at> gnu.org:
bug#58069; Package auctex. (Fri, 30 Sep 2022 16:26:01 GMT) Full text and rfc822 format available.

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

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Hendrik Rommeswinkel <rommeswi <at> protonmail.com>
Cc: 58069 <at> debbugs.gnu.org
Subject: Re: bug#58069: Latex
Date: Sat, 01 Oct 2022 01:24:58 +0900
Hi Hendrik,

>>>>> Hendrik Rommeswinkel via bug-auctex via Bug reporting list for AUCTeX <bug-auctex <at> gnu.org> writes:
> When I am in insert mode and press "`a" the behavior depends on
> whether the cursor is in a math environment (where it inserts
> "\alpha") or in a text environment (where it inserts "\alpha{}"). Is
> this intended? I am thrown off by this inconsistency to the extent
> that I hardly use the shortcuts because I sometimes sketch a quick
> formula outside of a math environment (which is probably bad
> style...).

The behavior is determined by the user options `TeX-insert-braces' and
`TeX-insert-braces-alist'. In that sense, yes, it's intended behavior.
The default value of `TeX-insert-braces' is t, which means that AUCTeX
supplies a pair of brace for standard macros. (You'll notice that AUCTeX
supplies braces even in math mode when there is active region.)

I personally dislike this behavior, so disabled `TeX-insert-braces'. You
can have per-macro control over the decision whether the braces are
added or not by `TeX-insert-braces-alist'.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine




Information forwarded to bug-auctex <at> gnu.org:
bug#58069; Package auctex. (Tue, 05 Mar 2024 09:20:01 GMT) Full text and rfc822 format available.

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

From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: Hendrik Rommeswinkel <rommeswi <at> protonmail.com>, 58069 <at> debbugs.gnu.org
Subject: Re: bug#58069: Latex
Date: Tue, 05 Mar 2024 10:18:37 +0100
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

> Hi Hendrik,
>
>>>>>> Hendrik Rommeswinkel via bug-auctex via Bug reporting list for
>> AUCTeX <bug-auctex <at> gnu.org> writes:
>> When I am in insert mode and press "`a" the behavior depends on
>> whether the cursor is in a math environment (where it inserts
>> "\alpha") or in a text environment (where it inserts "\alpha{}"). Is
>> this intended? I am thrown off by this inconsistency to the extent
>> that I hardly use the shortcuts because I sometimes sketch a quick
>> formula outside of a math environment (which is probably bad
>> style...).
>
> The behavior is determined by the user options `TeX-insert-braces' and
> `TeX-insert-braces-alist'. In that sense, yes, it's intended behavior.
> The default value of `TeX-insert-braces' is t, which means that AUCTeX
> supplies a pair of brace for standard macros. (You'll notice that AUCTeX
> supplies braces even in math mode when there is active region.)
>
> I personally dislike this behavior, so disabled `TeX-insert-braces'. You
> can have per-macro control over the decision whether the braces are
> added or not by `TeX-insert-braces-alist'.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

No further comments, so I'm closing this report.

Best, Arash




Added tag(s) notabug. Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 Mar 2024 09:20:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 58069 <at> debbugs.gnu.org and Hendrik Rommeswinkel <rommeswi <at> protonmail.com> Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 Mar 2024 09:20:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 02 Apr 2024 11:24:27 GMT) Full text and rfc822 format available.

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

Previous Next


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