bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23413: rst-mode and electric-pair-pairs


From: Lars Ingebrigtsen
Subject: bug#23413: rst-mode and electric-pair-pairs
Date: Tue, 15 Dec 2020 08:44:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hong Xu <hong@topbug.net> writes:

> I noticed that in rst-mode the variable `electric-pair-pairs' is set.
> However, according the document of the variable, it seems that this
> variable should be set by the user as a fallback (according to the
> user's preference) regardless of the major modes:
>
>     Alist of pairs that should be used regardless of major mode.
>
>     Pairs of delimiters in this list are a fallback in case they have
>     no syntax relevant to `electric-pair-mode' in the mode's syntax
>     table.
>
>     See also the variable `electric-pair-text-pairs'.
>
>     You can customize this variable.
>
> Major modes, per my understanding, should set the syntax table properly
> for electric-pair-mode to do auto pairing.

This should now be fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]