From: Eli Zaretskii <eliz@gnu.org>
To: Okamsn <okamsn@protonmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 73782@debbugs.gnu.org
Subject: bug#73782: [PATCH] Add `delete-selection-local-mode'.
Date: Sun, 13 Oct 2024 08:38:38 +0300 [thread overview]
Message-ID: <86zfn8tvdt.fsf@gnu.org> (raw)
In-Reply-To: <d56e08e2-bb2b-4462-b6bc-70bfebf2e43f@protonmail.com> (bug-gnu-emacs@gnu.org)
> Date: Sun, 13 Oct 2024 01:25:28 +0000
> From: Okamsn via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> This patch adds a local version of `delete-selection-mode`. I use a
> modal editing package for which I would like to have
> `delete-selection-mode` enabled depending on the modal state that is
> active in the buffer. This doesn't currently work because
> `delete-selection-mode` applies to all buffers.
Thanks. This feature needs a NEWS entry, and maybe also a suitable
change to the user manual.
> For compatibility, I made the local mode set the value of the variable
> `delete-selection-mode` buffer locally. I see that some features, such
> as the built-in `table.el`, check that variable to adjust their
> behavior. Do you think that is a good way to maintain compatibility?
SGTM, but I'd like to hear from Stefan (CC'ed) as well.
next prev parent reply other threads:[~2024-10-13 5:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-13 1:25 bug#73782: [PATCH] Add `delete-selection-local-mode' Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-13 5:38 ` Eli Zaretskii [this message]
2024-10-17 17:07 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-24 3:24 ` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-24 14:01 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-26 18:14 ` Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-26 18:53 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86zfn8tvdt.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=73782@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=okamsn@protonmail.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).