From: Eli Zaretskii <eliz@gnu.org>
To: Paul Nelson <ultrono@gmail.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 70384@debbugs.gnu.org
Subject: bug#70384: [PATCH] 30.0.50; save-mark-and-excursion breaks with tmm disabled
Date: Thu, 18 Apr 2024 14:04:29 +0300 [thread overview]
Message-ID: <86msprdj9e.fsf@gnu.org> (raw)
In-Reply-To: <CAOA-32O0-66MUVdy_V94Cn32o03_Jui8-dbdoMAGoCzAd5ze5Q@mail.gmail.com> (message from Paul Nelson on Sun, 14 Apr 2024 17:52:42 +0200)
> From: Paul Nelson <ultrono@gmail.com>
> Date: Sun, 14 Apr 2024 17:52:42 +0200
>
> Steps to reproduce:
>
> - Disable transient-mark-mode.
> - Set the mark somewhere (C-SPC), move the point somewhere else.
> - M-: (save-mark-and-excursion (activate-mark))
>
> This activates the region, but should not.
I'm not sure I agree with your expectations. activate-mark activates
the mark unconditionally when transient-mark-mode is disabled, unless
you invoke it with a non-nil argument. And indeed
(save-mark-and-excursion (activate-mark t))
behaves like you expect.
Stefan, am I missing something?
next prev parent reply other threads:[~2024-04-18 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-14 15:52 bug#70384: [PATCH] 30.0.50; save-mark-and-excursion breaks with tmm disabled Paul Nelson
2024-04-18 11:04 ` Eli Zaretskii [this message]
2024-04-18 13:26 ` Paul Nelson
2024-04-18 13:55 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-18 14:20 ` Eli Zaretskii
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=86msprdj9e.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=70384@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=ultrono@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).