GNU bug report logs - #19930
25.0.50; REGRESSION: accessing minibuffer from 2nd frame for same buffer scrolls window back to point of 1st frame

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 23 Feb 2015 19:20:01 UTC

Severity: normal

Tags: confirmed, fixed

Merged with 31695

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19930 in the body.
You can then email your comments to 19930 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19930; Package emacs. (Mon, 23 Feb 2015 19:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Feb 2015 19:20:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; REGRESSION: accessing minibuffer from 2nd frame for same
 buffer scrolls window back to point of 1st frame
Date: Mon, 23 Feb 2015 11:19:26 -0800 (PST)
This regression was introduced in Emacs 24.3.  There is no such problem
in Emacs 20 through 24.2.

To reproduce:

1. runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"
   File onetest.el is attached.

   This opens Emacs with a standalone minibuffer frame.

2. Visit a file with some text in it, say foo.el, in the original
   (non-minibuffer) frame displayed.

3. Put point on some function name, e.g. near bob.

3. C-x 5 2, so you now have two frames showing the same buffer.

4. In the frame just created, scroll down a ways (or otherwise move down
   - it is unimportant how you do this), and put point on some other
   symbol (name).

5. M-x grep RET

   As soon as you hit RET, the current window (in the second frame)
   scrolls back to the point position of the first frame.  And if you
   then use M-n to grab a name at point for `grep', it grabs the symbol
   name under the point for the other frame.

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19930; Package emacs. (Wed, 06 Jun 2018 01:04:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 19930 <at> debbugs.gnu.org
Subject: Re: bug#19930: 25.0.50;
 REGRESSION: accessing minibuffer from 2nd frame for same buffer
 scrolls window back to point of 1st frame
Date: Tue, 05 Jun 2018 21:02:53 -0400
Drew Adams <drew.adams <at> oracle.com> writes:

> This regression was introduced in Emacs 24.3.  There is no such problem
> in Emacs 20 through 24.2.
>
> To reproduce:
>
> 1. runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"
>    File onetest.el is attached.

Attachment seems to be missing.  I guess this could be the same as #31695?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19930; Package emacs. (Wed, 06 Jun 2018 02:42:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 19930 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: bug#19930: 25.0.50;
 REGRESSION: accessing minibuffer from 2nd frame for same buffer
 scrolls window back to point of 1st frame
Date: Wed, 06 Jun 2018 05:41:34 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Tue, 05 Jun 2018 21:02:53 -0400
> Cc: 19930 <at> debbugs.gnu.org
> 
> Drew Adams <drew.adams <at> oracle.com> writes:
> 
> > This regression was introduced in Emacs 24.3.  There is no such problem
> > in Emacs 20 through 24.2.
> >
> > To reproduce:
> >
> > 1. runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"
> >    File onetest.el is attached.
> 
> Attachment seems to be missing.  I guess this could be the same as #31695?

Yes, all the signs are consistent with that one.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19930; Package emacs. (Wed, 06 Jun 2018 04:52:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Noam Postavsky <npostavs <at> gmail.com>
Cc: 19930 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: RE: bug#19930: 25.0.50;	REGRESSION: accessing minibuffer from 2nd
 frame for same buffer	scrolls window back to point of 1st frame
Date: Tue, 5 Jun 2018 21:51:07 -0700 (PDT)
> > > This regression was introduced in Emacs 24.3.  There is no such
> > > problem in Emacs 20 through 24.2.
> > >
> > > To reproduce:
> > >
> > > 1. runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"
> > >    File onetest.el is attached.
> >
> > Attachment seems to be missing.  I guess this could be the same as
> > #31695?
> 
> Yes, all the signs are consistent with that one.

Yes, sorry about that.  I didn't realize that I forgot the
attachment.  I looked for the file, but I no longer have it.
But it does sound like exactly the same bug.

The only odd thing in comparing the two reports is that the
thread of #31695 says that it is NOT a problem in Emacs 23.4.1,
but bug #19930 reports that it is a problem that started with
Emacs 24.3.  But I guess I could have been mistaken about that,
and #19930 is reported from 25.0.50.1 of 2014-10-20.

I'm glad there is a second report of the same problem, and that
the cause was found.

I still see this, and it can be quite annoying.  I end up having
to delete a frame that I really want to keep open to a particular
part of the buffer, just to be able to do `grep' etc.  Or else I
need to work around it some other way.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19930; Package emacs. (Wed, 06 Jun 2018 11:51:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 19930 <at> debbugs.gnu.org
Subject: Re: bug#19930: 25.0.50;
 REGRESSION: accessing minibuffer from 2nd frame for same
 buffer	scrolls window back to point of 1st frame
Date: Wed, 06 Jun 2018 07:50:39 -0400
merge 19930 31695
quit

Drew Adams <drew.adams <at> oracle.com> writes:

>> > > This regression was introduced in Emacs 24.3.  There is no such
>> > > problem in Emacs 20 through 24.2.
>> > >
>> > > To reproduce:
>> > >
>> > > 1. runemacs.exe -Q --debug-init  -l "onetest.el" -f "1on1-emacs"
>> > >    File onetest.el is attached.
>> >
>> > Attachment seems to be missing.  I guess this could be the same as
>> > #31695?
>> 
>> Yes, all the signs are consistent with that one.
>
> Yes, sorry about that.  I didn't realize that I forgot the
> attachment.  I looked for the file, but I no longer have it.
> But it does sound like exactly the same bug.
>
> The only odd thing in comparing the two reports is that the
> thread of #31695 says that it is NOT a problem in Emacs 23.4.1,
> but bug #19930 reports that it is a problem that started with
> Emacs 24.3.  But I guess I could have been mistaken about that,
> and #19930 is reported from 25.0.50.1 of 2014-10-20.

No contradiction there, the range was gradually narrowed down, so both
bugs now say the problem started with 24.3.  I'll go ahead and merge.

| good |  broken |          |
|------+---------+----------|
|   ?? | 27.0.50 |  31695#5 |
| 23.4 | 24.5.50 | 31695#10 |
| 24.2 | 24.3    | 31695#13 |




Merged 19930 31695. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 06 Jun 2018 11:51:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 14 Jun 2018 03:34:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.2, send any further explanations to 31695 <at> debbugs.gnu.org and Madhu <enometh <at> meer.net> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 14 Jun 2018 03:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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