From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: Strange error caused by post-command-hook. Date: Wed, 11 Jul 2007 13:47:47 +0200 Message-ID: <4694C363.7070900@gmx.at> References: <46937D1B.4000501@ubin.jp> <46938F1E.8000103@gmx.at> <4694A32D.3000907@ubin.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184154469 821 80.91.229.12 (11 Jul 2007 11:47:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2007 11:47:49 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: ishikawa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 13:47:46 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I8afZ-0000Hf-JC for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2007 13:47:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8afZ-0003Qd-30 for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2007 07:47:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8af0-0003Do-2g for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2007 07:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8aey-0003D9-I1 for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2007 07:47:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8aey-0003D4-A7 for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2007 07:47:08 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I8aex-0005De-Og for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2007 07:47:08 -0400 Original-Received: (qmail invoked by alias); 11 Jul 2007 11:47:05 -0000 Original-Received: from M3075P004.adsl.highway.telekom.at (EHLO [88.117.32.68]) [88.117.32.68] by mail.gmx.net (mp007) with SMTP; 11 Jul 2007 13:47:05 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19liIF+LAtloNClosya97AGjaLDQ4fDK794ymKT+t 0F8//qCKV4ffuW User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <4694A32D.3000907@ubin.jp> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16135 Archived-At: > I have inserted the re-defined find-file in my .emacs file. > Once the problem returns, I will report the value of > post-command-hook. > (Aha, I see that the problem may happen before find-file gets executed. > How complicated...) I expected that. Try the following (more intrusive): (add-hook 'pre-command-hook (lambda () (when post-command-hook (message "... %s" post-command-hook))))