GNU bug report logs - #14616
24.3.50; Excessive cursor movement on non-X Emacs

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Fri, 14 Jun 2013 08:02:02 UTC

Severity: normal

Found in version 24.3.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 14616 <at> debbugs.gnu.org
Subject: bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs
Date: Mon, 05 Aug 2013 22:20:32 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> But this will help:
>
>  > p frame
>  > xframe
>  > p top_frame
>  > xframe
>  > continue
>  > end

Right, now I get:

Breakpoint 3, do_switch_frame (frame=42852525, track=1, for_deletion=0, norecord=12571250) at frame.c:844
844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
$2213 = 42852525
$2214 = (struct frame *) 0x28de0a8
"emacs"
$2215 = 12659685
$2216 = (struct frame *) 0xc12be0
"F1"

Breakpoint 3, do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571250) at frame.c:844
844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
$2217 = 12659685
$2218 = (struct frame *) 0xc12be0
"F1"
$2219 = 42852525
$2220 = (struct frame *) 0x28de0a8
"emacs"

Breakpoint 3, do_switch_frame (frame=42852525, track=1, for_deletion=0, norecord=12571250) at frame.c:844
844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
$2221 = 42852525
$2222 = (struct frame *) 0x28de0a8
"emacs"
$2223 = 12659685
$2224 = (struct frame *) 0xc12be0
"F1"

Breakpoint 3, do_switch_frame (frame=12659685, track=1, for_deletion=0, norecord=12571250) at frame.c:844
844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
$2225 = 12659685
$2226 = (struct frame *) 0xc12be0
"F1"
$2227 = 42852525
$2228 = (struct frame *) 0x28de0a8
"emacs"

Breakpoint 3, do_switch_frame (frame=42852525, track=1, for_deletion=0, norecord=12571250) at frame.c:844
844		  SET_FRAME_VISIBLE (XFRAME (frame), 1);
$2229 = 42852525
$2230 = (struct frame *) 0x28de0a8
"emacs"
$2231 = 12659685
$2232 = (struct frame *) 0xc12be0
"F1"

> They oscillate.  Makes sense, but I don't see why should that happen.

If it loops over all the frames and switches to them, and this happens
every time redisplay happens (because of accept-process-output), then
that seems natural.  But wrong.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
  and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html




This bug report was last modified 11 years and 294 days ago.

Previous Next


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