GNU bug report logs -
#70384
[PATCH] 30.0.50; save-mark-and-excursion breaks with tmm disabled
Previous Next
Reported by: Paul Nelson <ultrono <at> gmail.com>
Date: Sun, 14 Apr 2024 15:54:05 UTC
Severity: normal
Tags: notabug, patch, wontfix
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 70384 notabug wontfix
close 70384
thanks
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Paul Nelson <ultrono <at> gmail.com>, 70384 <at> 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.
This bug report was last modified 1 year and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.