From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Help debug an error in pre-command-hook? Date: Thu, 09 Feb 2012 16:33:20 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328776441 7963 80.91.229.3 (9 Feb 2012 08:34:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 08:34:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 09 09:33:59 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RvPRz-0005tn-G0 for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2012 09:33:55 +0100 Original-Received: from localhost ([::1]:54085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvPRy-0000qX-Sf for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2012 03:33:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvPRr-0000q2-E2 for emacs-devel@gnu.org; Thu, 09 Feb 2012 03:33:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvPRl-0006iB-SH for emacs-devel@gnu.org; Thu, 09 Feb 2012 03:33:47 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvPRk-0006hT-Ky for emacs-devel@gnu.org; Thu, 09 Feb 2012 03:33:41 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RvPRj-0005l6-HD for emacs-devel@gnu.org; Thu, 09 Feb 2012 09:33:39 +0100 Original-Received: from 119.255.41.67 ([119.255.41.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 09:33:39 +0100 Original-Received: from sdl.web by 119.255.41.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Feb 2012 09:33:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 119.255.41.67 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (Mac OS X 10.6.8) Cancel-Lock: sha1:osI2MxQAHtQAzpRZNuS9KgPmTuQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:148396 Archived-At: I am seeing an error: Error in pre-command-hook: (wrong-type-argument symbolp (lambda (&rest --cl-rest--) (interactive) (apply (lambda (G91516 G91517 G91518) (setq minor-mode-overriding-map-alist (symbol-value G91518)) (bury-buffer) (if (and (symbol-value G91517) (not (one-window-p))) (delete-window)) (if (window-live-p (symbol-value G91516)) (select-window (symbol-value G91516)))) (quote --origwin--) (quote --delete-p--) (quote --old--) --cl-rest--))) Before the error, the value of pre-command-hook is: pre-command-hook is a variable defined in `C source code'. Its value is (t comint-preinput-scroll-to-bottom) Local in buffer *Python*; global value is (delete-selection-pre-hook tooltip-hide) But looking at the source of comint-preinput-scroll-to-bottom, I cannot see where it can generate this error? Any idea how to debug this? Thanks in advance. Leo