GNU bug report logs - #31695
minibuffer command takes window-point from another frame displaying the same buffer

Previous Next

Package: emacs;

Reported by: Madhu <enometh <at> meer.net>

Date: Sun, 3 Jun 2018 07:33:03 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 19930

Found in versions 24.3, 25.0.50

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #40 received at 31695 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: enometh <at> meer.net, 31695 <at> debbugs.gnu.org
Subject: Re: bug#31695: bug-gnu-emacs <at> gnu.org
Date: Fri, 08 Jun 2018 10:00:42 +0200
> Are you sure it's a good idea to put this on the emacs-26 branch?

Yes.  As you can see from the comment back then

      /* If the new current buffer doesn't appear in the selected
	 window, go to its old point (see bug#12208).  */
      if (!EQ (XWINDOW (data->current_window)->contents, new_current_buffer))

that fix was based on the wrong assumption that data->current_window
_is_ the selected window.  It is not when data->current_window is not
on the selected frame.  That was a thinko and the fix on Emacs 26
corrects it.

> This bug is a mere annoyance, and happens with quite a peculiar frame
> configuration that's probably rarely used, judging by the time it took
> us to collect only 2 reports about it, since the bug was introduced.
> OTOH, we have a somewhat poor record regarding correctness in that
> area, so it's quite possible this fix introduces some new issue.

Maybe we didn't get more reports because some people thought that the
"annoyance" is the expected behavior.  Even the OP was "hesitant" to
file the report.

> So unless you are really, REALLY sure this should go to emacs-26, I'd
> prefer to have it on master, and let the dust settle on it before we
> decide it's TRT.

The only justifiable alternative I see is to revert the fix for
Bug#12208 on Emacs 26 since that bug is even more obscure than the
present one.

But whatever you decide the responsibility will be all mine.

martin




This bug report was last modified 7 years and 40 days ago.

Previous Next


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