GNU bug report logs - #53910
29.0.50; context-menu-mode breaks help in read-only buffers

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Thu, 10 Feb 2022 00:17:01 UTC

Severity: normal

Tags: confirmed

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, martin rudalics <rudalics <at> gmx.at>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Ergus <spacibba <at> aol.com>, "53910 <at> debbugs.gnu.org" <53910 <at> debbugs.gnu.org>
Subject: bug#53910: [External] : bug#53910: 29.0.50; context-menu-mode breaks help in read-only buffers
Date: Fri, 11 Feb 2022 16:46:43 +0000
> > (with-temp-buffer
> >   (let ((buffer (current-buffer)))
> >     (select-window (selected-window))
> >     (message "before %S after %S" buffer (current-buffer))))
> >
> > is surprising?  But 'select-window' only does
> >
> >   In addition, make WINDOW’s buffer current and set its
> >   buffer’s value of ‘point’ to the value of WINDOW’s ‘window-point’.
> >
> > as advertised.  Or do you mean something else?
> 
> Yep, this is what I meant.  I expected it no-op
> in this case, but the documented behavior is fine.

Maybe it would help to draw some more attention
to this in the doc somehow?

I don't find this obvious at all, even if the doc
does specify it.  The function names don't give
the impression that the behavior you speak of is
part of the what the functions do.

This bug report was last modified 3 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.