GNU bug report logs - #78653
[PATCH] Expand abbrevs before inserting quotes

Previous Next

Package: auctex;

Reported by: "Paul D. Nelson" <ultrono <at> gmail.com>

Date: Sat, 31 May 2025 18:31:01 UTC

Severity: normal

Tags: patch

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 78653 in the body.
You can then email your comments to 78653 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#78653; Package auctex. (Sat, 31 May 2025 18:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul D. Nelson" <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sat, 31 May 2025 18:31:02 GMT) Full text and rfc822 format available.

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

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: [PATCH] Expand abbrevs before inserting quotes
Date: Sat, 31 May 2025 20:29:57 +0200
[Message part 1 (text/plain, inline)]
Hi all,

In Emacs, punctuation characters typically expand abbrevs.  An exception
is TeX-insert-quote, which (in the default branch, without a prefix arg)
calls "insert" rather than "self-insert-command", hence does not expand
abbrevs.  I don't see any good reason for this, so I propose the
attached patch.  Compare with TeX-insert-punctuation, for instance.

Thanks, best,

Paul

[0001-Expand-abbreviations-before-inserting-quotes.patch (text/x-patch, attachment)]

Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Sun, 01 Jun 2025 18:28:05 GMT) Full text and rfc822 format available.

Notification sent to "Paul D. Nelson" <ultrono <at> gmail.com>:
bug acknowledged by developer. (Sun, 01 Jun 2025 18:28:05 GMT) Full text and rfc822 format available.

Message #10 received at 78653-done <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 78653-done <at> debbugs.gnu.org
Subject: Re: bug#78653: [PATCH] Expand abbrevs before inserting quotes
Date: Sun, 01 Jun 2025 20:27:06 +0200
Hi Paul,

"Paul D. Nelson" <ultrono <at> gmail.com> writes:

> In Emacs, punctuation characters typically expand abbrevs.  An exception
> is TeX-insert-quote, which (in the default branch, without a prefix arg)
> calls "insert" rather than "self-insert-command", hence does not expand
> abbrevs.  I don't see any good reason for this, so I propose the
> attached patch.  Compare with TeX-insert-punctuation, for instance.

Thanks, installed, and closing.

Best, Arash




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Jun 2025 11:24:20 GMT) Full text and rfc822 format available.

This bug report was last modified 4 days ago.

Previous Next


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