all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: infloop when removing character
Date: Sat, 16 Aug 2003 20:35:52 -0400	[thread overview]
Message-ID: <E19oBWS-0000Kc-MJ@fencepost.gnu.org> (raw)
In-Reply-To: <iluznibzx3h.fsf@latte.josefsson.org> (message from Simon Josefsson on Fri, 15 Aug 2003 00:35:30 +0200)

    OK, it has happened again.  I noticed some text in the echo area:

    Error in post-command hook: ...

This suggests to me that maybe there is a loop where the code that
handles an error gets another error.  You can see if this is happening
by putting a breakpoint at Fsignal, once you are in GDB after the loop
has started.

If it hits the breakpoint, please make C and Lisp backtraces, and try
to figure out what's causing error handling to get an error.

Here's another approach to try:

    0x0810bcba in command_loop_2 () at keyboard.c:1292
    1292        val = internal_condition_case (command_loop_1, Qerror, cmd_error);
    Value returned is $12 = 0
    (gdb) finish
    Run till exit from #0  0x0810bcba in command_loop_2 () at keyboard.c:1292

Since the call to command_loop_2 did not exit, I suggest you get
here again by calling `finish' repeatedly as before; then, once here,
don't call `finish' but instead start stepping and figure out what happens
after this point.

      parent reply	other threads:[~2003-08-17  0:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04 21:08 infloop when removing character Simon Josefsson
2003-08-07  6:05 ` Richard Stallman
2003-08-07 22:05   ` Simon Josefsson
2003-08-14 22:35   ` Simon Josefsson
2003-08-14 23:46     ` Simon Josefsson
2003-08-18  6:46       ` Miles Bader
2003-08-18 10:10         ` Simon Josefsson
2003-08-19  4:30           ` Miles Bader
2003-08-17  0:35     ` Richard Stallman [this message]

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=E19oBWS-0000Kc-MJ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.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.