GNU bug report logs - #78053
[PATCH] Support strings for electric-pairs.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Fri, 25 Apr 2025 00:31:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 78053 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#78053: [PATCH] Support strings for electric-pairs.
Date: Sun, 15 Jun 2025 08:51:18 +0300
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Cc: 78053 <at> debbugs.gnu.org,  monnier <at> iro.umontreal.ca
> Date: Sat, 14 Jun 2025 22:35:26 -0600
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >>  See also the variable `electric-pair-text-pairs'."
> >>    :version "24.1"
> >>    :group 'electricity
> >> -  :type '(repeat (cons character character)))
> >> +  :type '(repeat
> >> +          (choice (cons :tag "Characters" character character)
> >> +                  (cons :tag "Strings" string string)
> >> +                  (list :tag "Strings and insert space in pairs"
> >> +                        string string boolean))))
> >
> > What does "Strings and insert space in pairs" mean?  This tag is IMO
> > unclear, and we should clarify it.
> 
> This is a kind of property for pairs (only for strings pairs), that
> tells to `electric-pairs` to insert a space before the first pair.
> 
> I couldn't find a better way to document this in that limited-size tag.

If you explain to me what it does, I can try finding more clear
wording.




This bug report was last modified 25 days ago.

Previous Next


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