From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to debug Error during redisplay Date: Sat, 12 Jan 2013 11:43:06 +0200 Message-ID: <83a9seu47p.fsf@gnu.org> References: <83bocwuidc.fsf@gnu.org> <837gnjvmlg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1357984039 2161 80.91.229.3 (12 Jan 2013 09:47:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 09:47:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 12 10:47:37 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ttxga-0007kq-At for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 10:47:32 +0100 Original-Received: from localhost ([::1]:57653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtxgK-00021w-6K for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 04:47:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttxg0-0001uV-Jb for emacs-devel@gnu.org; Sat, 12 Jan 2013 04:47:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttxc3-0000x0-BC for emacs-devel@gnu.org; Sat, 12 Jan 2013 04:42:56 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttxc3-0000wu-2o for emacs-devel@gnu.org; Sat, 12 Jan 2013 04:42:51 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MGI00J00AW0MO00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sat, 12 Jan 2013 11:42:43 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGI00J7FAZ7MW00@a-mtaout20.012.net.il>; Sat, 12 Jan 2013 11:42:43 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156255 Archived-At: > From: Leo Liu > Date: Sat, 12 Jan 2013 13:25:10 +0800 > > >> 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. 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.) > 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. I don't see how that could be true, but maybe I'm missing something. In any case, is this a separate problem?