From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Help debug an error in pre-command-hook? Date: Thu, 09 Feb 2012 19:25:02 +0100 Message-ID: <4F340F7E.3060200@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328811925 29563 80.91.229.3 (9 Feb 2012 18:25:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 18:25:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 09 19:25:24 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 1RvYgL-0006jt-4o for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2012 19:25:21 +0100 Original-Received: from localhost ([::1]:49058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYgK-0003AK-HU for ged-emacs-devel@m.gmane.org; Thu, 09 Feb 2012 13:25:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvYgC-00039H-Ry for emacs-devel@gnu.org; Thu, 09 Feb 2012 13:25:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvYg7-0001s3-4U for emacs-devel@gnu.org; Thu, 09 Feb 2012 13:25:12 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:46206) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RvYg6-0001pm-AV for emacs-devel@gnu.org; Thu, 09 Feb 2012 13:25:07 -0500 Original-Received: (qmail invoked by alias); 09 Feb 2012 18:25:04 -0000 Original-Received: from 62-47-47-1.adsl.highway.telekom.at (EHLO [62.47.47.1]) [62.47.47.1] by mail.gmx.net (mp040) with SMTP; 09 Feb 2012 19:25:04 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+1JzIuXx21c4vR4Txg//eVEbkDdVBlrz/PiWS50p zw6Fa170WxHJoH In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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:148409 Archived-At: > 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? I can neither find (setq minor-mode-overriding-map-alist nor origwin anywhere in the Emacs sources so maybe this is something from your customizations or a package you load. Try printing the values of `pre-command-hook' from within `comint-preinput-scroll-to-bottom'. martin