all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 14616@debbugs.gnu.org
Subject: bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs
Date: Wed, 26 Jun 2013 19:32:12 +0300	[thread overview]
Message-ID: <83ip10hlyr.fsf@gnu.org> (raw)
In-Reply-To: <m3y59yoseo.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: 14616@debbugs.gnu.org
> Date: Tue, 25 Jun 2013 22:18:55 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Any progress with investigating this?
> >
> > Let me know if you need help.
> 
> I do need help.  I've been trying to follow the advice in the #13864 bug
> report, but the code has shifted quite a bit in the last two months, and
> I know virtually nothing about gdb, I'm afraid.
> 
> Do you have a handy set of commands to start debugging this?

Let's see...  The first set of instructions, at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13864#20, should still be
a good starting point.  I repeat them below, indented (with one
important correction):

  Could you please attach a debugger to Emacs, after starting the
  server, but before opening the TTY frame with emacsclient, and set a
  breakpoint like this:

   (gdb) set height 0
   (gdb) break update_frame_1
   (gdb) commands
    > p force_p
    > p inhibit_id_p
    > continue
    > end
   (gdb)

  Then re-create the problem and see whether update_frame_1 is called
  very frequently, and if so, what are the values of the 2 arguments
  printed by the breakpoint commands above.  (I don't know what is your
  level of proficiency with GDB, so let me know if you need more
  detailed instructions.)

  Don't forget to invoke GDB from the src directory, and make sure that
  it reads the .gdbinit file there, and does not reject it due to
  security considerations.

If the above is not clear enough, let me know where you want me to
elaborate.  (In case you didn't know, attaching a debugger means
running "gdb -p PID" where PID is the id of the Emacs process.)

The goal of the above is to see whether update_frame_1 is called with
high frequency, so that we could then understand why it is called and
why it redraws the same screen content again and again.

TIA





  reply	other threads:[~2013-06-26 16:32 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  8:00 bug#14616: 24.3.50; Excessive cursor movement on non-X Emacs Lars Magne Ingebrigtsen
2013-06-14  8:05 ` Lars Magne Ingebrigtsen
2013-06-23 17:27   ` Eli Zaretskii
2013-06-25 20:18     ` Lars Magne Ingebrigtsen
2013-06-26 16:32       ` Eli Zaretskii [this message]
2013-07-19 15:31         ` Lars Magne Ingebrigtsen
2013-07-19 18:46           ` Eli Zaretskii
2013-07-30 14:47             ` Lars Magne Ingebrigtsen
2013-07-30 16:44               ` Eli Zaretskii
2013-07-31 10:03                 ` Lars Magne Ingebrigtsen
2013-07-31 10:11                   ` Lars Magne Ingebrigtsen
2013-07-31 17:34                     ` Eli Zaretskii
2013-08-01 10:41                       ` Lars Magne Ingebrigtsen
2013-08-01 16:46                         ` Eli Zaretskii
2013-08-02 13:33                           ` Lars Magne Ingebrigtsen
2013-08-02 15:07                             ` Eli Zaretskii
2013-08-02 13:46                           ` Lars Magne Ingebrigtsen
2013-08-02 14:28                             ` Eli Zaretskii
2013-08-03 13:00                               ` Lars Magne Ingebrigtsen
2013-08-03 13:32                                 ` Eli Zaretskii
2013-08-05 18:22                                   ` Lars Magne Ingebrigtsen
2013-08-05 18:45                                     ` Eli Zaretskii
2013-08-05 19:10                                       ` Lars Magne Ingebrigtsen
2013-08-05 19:15                                         ` Lars Magne Ingebrigtsen
2013-08-05 19:21                                         ` Lars Magne Ingebrigtsen
2013-08-05 19:45                                           ` Eli Zaretskii
2013-08-05 19:53                                             ` Lars Magne Ingebrigtsen
2013-08-06 15:45                                               ` Eli Zaretskii
2013-08-05 19:40                                         ` Eli Zaretskii
2013-08-05 19:46                                           ` Lars Magne Ingebrigtsen
2013-08-05 19:51                                           ` Lars Magne Ingebrigtsen
2013-08-05 20:10                                             ` Eli Zaretskii
2013-08-05 20:20                                               ` Lars Magne Ingebrigtsen
2013-08-06 15:26                                                 ` Eli Zaretskii
2013-08-06 20:32                                                   ` Lars Magne Ingebrigtsen
2013-08-07 13:51                                                     ` Eli Zaretskii
2013-08-02 14:00                           ` Lars Magne Ingebrigtsen
2013-08-03  7:57                             ` Eli Zaretskii
2013-08-03 13:00                               ` Lars Magne Ingebrigtsen
2013-06-14  8:59 ` Eli Zaretskii
2013-06-18  5:22   ` lee
2013-06-18 15:57     ` Eli Zaretskii
2013-06-19  1:38       ` lee
2013-06-27 11:16         ` lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ip10hlyr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14616@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.