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 19:56:59 +0800 [thread overview]
Message-ID: <m2zk0ek41g.fsf@gmail.com> (raw)
In-Reply-To: 83a9seu47p.fsf@gnu.org
[-- Attachment #1: Type: text/plain, Size: 2505 bytes --]
On 2013-01-12 17:43 +0800, Eli Zaretskii wrote:
> I downloaded the current snapshot of slime from
> http://common-lisp.net/project/slime/. Is this the package you are
> talking about? The only *.el file that calls animate-string there is
> slime-banner.el:
>
> (defun slime-startup-message ()
> (when slime-header-line-p
> (setq header-line-format
> (format "%s Port: %s Pid: %s"
> (slime-lisp-implementation-type)
> (slime-connection-port (slime-connection))
> (slime-pid))))
> (when (zerop (buffer-size))
> (let ((welcome (concat "; SLIME " (or (slime-changelog-date)
> "- ChangeLog file not found"))))
> (if slime-startup-animation
> (animate-string welcome 0 0)
> (insert welcome)))))
>
> Is this the code that produced the redisplay error messages? If so, I
> cannot reproduce this on my machine. If this isn't the code in
> question, then please show a minimal code snippet using animate-string
> that does reproduce the problem. (It isn't right to let me guess like
> this, if you want the problem solved any time soon.)
Thanks for taking the trouble to investigate the issue further. I have
just spent an hour to come up with this reproduction recipe.
1. Install adaptive-wrap.el from ELPA
2. Install sbcl or clisp or any CL supported by slime
1. Emacs -q -l t.el (t.el assumes sbcl, which you may want to change)
2. M-x slime
My whole *Messages* buffer looks like this:
--------------------------------
For information about GNU Emacs and the GNU system, type C-h C-a.
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or `cl-letf'. [11 times]
Polling "/var/folders/mf/8_qnj_n146d0wxb32wdnb9jh0000gn/T/slime.13675" .. 1 (Abort with `M-x slime-abort-connection'.)
Polling "/var/folders/mf/8_qnj_n146d0wxb32wdnb9jh0000gn/T/slime.13675" .. 2 (Abort with `M-x slime-abort-connection'.)
Polling "/var/folders/mf/8_qnj_n146d0wxb32wdnb9jh0000gn/T/slime.13675" .. 3 (Abort with `M-x slime-abort-connection'.)
Polling "/var/folders/mf/8_qnj_n146d0wxb32wdnb9jh0000gn/T/slime.13675" .. 4 (Abort with `M-x slime-abort-connection'.)
Connecting to Swank on port 60501..
Error during redisplay: (jit-lock-function 1) signaled (wrong-type-argument stringp nil)
Error during redisplay: (jit-lock-function 520) signaled (wrong-type-argument stringp nil)
Error during redisplay: (jit-lock-function 1) signaled (wrong-type-argument stringp nil) [2 times]
Connected. Let the hacking commence!
--------------------------------
[-- Attachment #2: t.el --]
[-- Type: application/emacs-lisp, Size: 362 bytes --]
next prev parent reply other threads:[~2013-01-12 11:56 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
2013-01-12 9:43 ` Eli Zaretskii
2013-01-12 11:56 ` Leo Liu [this message]
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=m2zk0ek41g.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.