Subject: bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs

From: Eli Zaretskii <[email-masked]>
Date: Fri, 02 Aug 2013 18:07:43 +0300

> From: Lars Magne Ingebrigtsen <[email-masked]>
> Cc: [email-masked]
> Date: Fri, 02 Aug 2013 15:33:23 +0200
> 
> Breakpoint 6, cursor_to (f=0xb7fbe0, vpos=11, hpos=0) at terminal.c:113
> 113	  if (FRAME_TERMINAL (f)->cursor_to_hook)
> #0  cursor_to (f=0xb7fbe0, vpos=11, hpos=0) at terminal.c:113
> #1  0x000000000041aeeb in update_frame_1 (inhibit_id_p=<optimized out>, 
>     force_p=<optimized out>, f=0xb7fbe0) at dispnew.c:4606
> 
> Lisp Backtrace:
> "redisplay_internal (C function)" (0xb5b5a8)
> "delete-process" (0xffffd950)
> "let" (0xffffda98)
> "while" (0xffffdb88)
> "let" (0xffffdcd8)
> "eval" (0xffffddf8)
> "eval-last-sexp-1" (0xffffdf80)
> "eval-last-sexp" (0xffffe148)
> "call-interactively" (0xffffe2f0)
> "command-execute" (0xffffe418)

This is normal: Emacs is setting the cursor one last time after it
finishes updating the frame.  And redisplay is triggered by
delete-process.