unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 70384@debbugs.gnu.org, ultrono@gmail.com
Subject: bug#70384: [PATCH] 30.0.50; save-mark-and-excursion breaks with tmm disabled
Date: Thu, 18 Apr 2024 17:20:14 +0300	[thread overview]
Message-ID: <865xweeorl.fsf@gnu.org> (raw)
In-Reply-To: <jwvttjyvku5.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 18 Apr 2024 09:55:56 -0400)

tags 70384 notabug wontfix
close 70384
thanks

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Paul Nelson <ultrono@gmail.com>,  70384@debbugs.gnu.org
> Date: Thu, 18 Apr 2024 09:55:56 -0400
> 
> > 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?
> 
> It's all very messy with dark corners where the right answer is unclear,
> yes.  That's one of the reasons why I extracted that mark-handling
> functionality out of `save-excursion` in the first place. 🙂
> 
> IOW my opinion is: if you use `save-mark-and-excursion`, you get what
> you deserve.

OK, thanks.  So I'm closing this non-bug as wontfix.





      reply	other threads:[~2024-04-18 14:20 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
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 [this message]

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=865xweeorl.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).