Subject: bug#78053: [PATCH] Support strings for electric-pairs.

From: Eli Zaretskii <[email-masked]>
Date: Sun, 15 Jun 2025 08:51:18 +0300

> From: Elijah Gabe Pérez <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sat, 14 Jun 2025 22:35:26 -0600
> 
> Eli Zaretskii <[email-masked]> 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.