all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: How to debug Error during redisplay
Date: Sat, 12 Jan 2013 13:25:10 +0800	[thread overview]
Message-ID: <m24ninm0qx.fsf@gmail.com> (raw)
In-Reply-To: 837gnjvmlg.fsf@gnu.org

On 2013-01-11 22:08 +0800, Eli Zaretskii wrote:
>  (gdb) pp current_buffer->name_
>
> or
>
>  (gdb) p current_buffer->name_
>  (gdb) xstring

Thanks. I figured it out too by reading DEBUG more carefully.

>> So this is triggered by animate-string which slime uses. Weirdly, the
>> same code doesn't have this error in 24.2.
>
> Which code is that? can you show it?  Or does any use of
> animate-string trigger these messages?

I mean the slime package, the same one running in 24.2 and 24.2.92. It
seems to me that in 24.2.92, the code is able to continue without
waiting for animate-string to finish. It feels more responsive.

>> Also if I set inhibit-eval-during-redisplay to t, the error is gone as
>> well.
>
> This should not surprise you, since that flag inhibits evaluation of
> Lisp expressions during redisplay, including whatever expression that
> causes the error.

Thanks.

Leo




  reply	other threads:[~2013-01-12  5:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11  9:03 How to debug Error during redisplay Leo Liu
2013-01-11 10:25 ` Eli Zaretskii
2013-01-11 11:02   ` Leo Liu
2013-01-11 14:08     ` Eli Zaretskii
2013-01-12  5:25       ` Leo Liu [this message]
2013-01-12  9:43         ` Eli Zaretskii
2013-01-12 11:56           ` Leo Liu
2013-01-12 12:03             ` Leo Liu
2013-01-12 13:49               ` Eli Zaretskii
2013-01-12 13:58                 ` Leo Liu
2013-01-12 14:31                   ` Eli Zaretskii
2013-01-12 17:17                     ` Stephen Berman
2013-01-12 12:30             ` Eli Zaretskii
2013-01-11 14:56 ` Stefan Monnier
2013-01-12  5:26   ` Leo Liu
2013-01-12 13:08     ` Stefan Monnier
2013-01-12 13:38       ` Leo Liu
2013-01-12 13:52       ` Eli Zaretskii
2013-01-12 14:07         ` Leo Liu
2013-01-12 14:38         ` Stefan Monnier

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=m24ninm0qx.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --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.