From: Eli Zaretskii <eliz@gnu.org>
To: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>,
monnier@iro.umontreal.ca, joaotavora@gmail.com
Cc: marc@soda.fm, 73688@debbugs.gnu.org
Subject: bug#73688: [PATCH] electric-pair-mode - preserve balance in conservative mode
Date: Sat, 30 Nov 2024 12:21:58 +0200 [thread overview]
Message-ID: <86frn981ix.fsf@gnu.org> (raw)
In-Reply-To: <8e331068-57e1-4375-8ccb-10eb83648986@gmail.com> (message from Nikolay Kudryavtsev on Sat, 23 Nov 2024 20:37:23 +0300)
> Date: Sat, 23 Nov 2024 17:29:24 +0000
> From: Marc Soda <marc@soda.fm>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 73688@debbugs.gnu.org
>
> > Do you have an idea of how/where we could change some of the
> > documentation to avoid that kind of problem in the future?
>
> Sorry for the silence here, I've been unusually busy for the few weeks.
>
> Multiple OR'd predicates predicates makes sense to me. I'd be willing to work on that if there's interest.
>
> As for documentation, I'm not really sure. I couldn't find anything referencing electric-pair-inhibit-predicate in the manual. Should probably added to https://www.gnu.org/software/emacs/manual/html_node/emacs/Matching.html.
>
> From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
> Date: Sat, 23 Nov 2024 20:37:23 +0300
> Cc: monnier@iro.umontreal.ca, marc@soda.fm, 73688@debbugs.gnu.org,
> João Távora <joaotavora@gmail.com>
>
> Yes, I think before closing, we need João, or someone else on the dev
> team to judge on the merit of the multiple ORd
> electric-pair-inhibit-predicates idea.
>
> Implementing it would lead to deprecating
> electric-pair-inhibit-predicate(should be still working though for X
> major versions), and beyond this use-case there doesn't seem to be that
> many other use cases for inhibit-predicates anyway. But this would give
> us a lot more flexibility for whenever they appear, since this seems to
> be the proper solution here.
Stefan and João, any comments or suggestions?
next prev parent reply other threads:[~2024-11-30 10:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 3:10 bug#73688: [PATCH] electric-pair-mode - preserve balance in conservative mode Marc Soda
2024-10-12 12:21 ` Eli Zaretskii
2024-10-12 19:47 ` Marc Soda
2024-10-12 20:36 ` João Távora
2024-10-12 20:43 ` Marc Soda
2024-10-12 23:36 ` João Távora
2024-10-17 16:48 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-26 17:48 ` Marc Soda
2024-10-26 18:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-09 9:22 ` Eli Zaretskii
2024-11-09 10:30 ` Nikolay Kudryavtsev
2024-11-09 15:55 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-10 14:28 ` Nikolay Kudryavtsev
2024-11-23 12:22 ` Eli Zaretskii
2024-11-23 17:37 ` Nikolay Kudryavtsev
2024-11-30 10:21 ` Eli Zaretskii [this message]
2024-11-30 12:30 ` João Távora
2024-12-01 10:25 ` Nikolay Kudryavtsev
2024-12-01 12:27 ` João Távora
2024-11-23 17:29 ` Marc Soda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86frn981ix.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=73688@debbugs.gnu.org \
--cc=joaotavora@gmail.com \
--cc=marc@soda.fm \
--cc=monnier@iro.umontreal.ca \
--cc=nikolay.kudryavtsev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).