GNU bug report logs - #57057
Prevent ‘electric-quote-mode’ from merging single quotes

Previous Next

Package: emacs;

Reported by: Andrea Greselin <greselin.andrea <at> gmail.com>

Date: Mon, 8 Aug 2022 12:27:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 57057 in the body.
You can then email your comments to 57057 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-gnu-emacs <at> gnu.org:
bug#57057; Package emacs. (Mon, 08 Aug 2022 12:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrea Greselin <greselin.andrea <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 08 Aug 2022 12:27:02 GMT) Full text and rfc822 format available.

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

From: Andrea Greselin <greselin.andrea <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Prevent ‘electric-quote-mode’ from merging single quotes
Date: Mon, 8 Aug 2022 14:25:59 +0200
[Message part 1 (text/plain, inline)]
Hello everyone,

I stumbled a couple of times across a behaviour by
‘electric-quote-mode’ where it replaces two consecutive single
electric quotes with a single double quote. To see what I mean open
‘emacs -Q’, enable ‘electric-quote-mode’ and ‘text-mode’, then hit `
or ' twice. I find it more annoying than helpful so I changed
‘electric-quote-post-self-insert-function’ to make it check an option
that can disable this behaviour. Do you think it can be included in
Emacs?

Best of wishes,
Andrea
[Message part 2 (text/html, inline)]
[electric.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#57057; Package emacs. (Tue, 09 Aug 2022 18:44:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andrea Greselin <greselin.andrea <at> gmail.com>
Cc: 57057 <at> debbugs.gnu.org
Subject: Re: bug#57057: Prevent ‘electric-quote-mode’ from merging single quotes
Date: Tue, 09 Aug 2022 20:43:46 +0200
Andrea Greselin <greselin.andrea <at> gmail.com> writes:

> I stumbled a couple of times across a behaviour by
> ‘electric-quote-mode’ where it replaces two consecutive single
> electric quotes with a single double quote. To see what I mean open
> ‘emacs -Q’, enable ‘electric-quote-mode’ and ‘text-mode’, then hit `
> or ' twice.

Makes sense to me, so I've now pushed your change to Emacs 29 (with some
changes to the doc string to conform to our conventions).

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?




bug marked as fixed in version 29.1, send any further explanations to 57057 <at> debbugs.gnu.org and Andrea Greselin <greselin.andrea <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 09 Aug 2022 18:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#57057; Package emacs. (Tue, 09 Aug 2022 21:45:02 GMT) Full text and rfc822 format available.

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

From: Andrea Greselin <greselin.andrea <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57057 <at> debbugs.gnu.org
Subject: Re: bug#57057: Prevent ‘electric-quote-mode’ from merging single quotes
Date: Tue, 9 Aug 2022 23:43:21 +0200
[Message part 1 (text/plain, inline)]
Hi Lars, I've already done the paperwork.
Thanks for taking care of the patch.
Andrea
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 07 Sep 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 288 days ago.

Previous Next


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