From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishikawa Newsgroups: gmane.emacs.bugs Subject: Re: Strange error caused by post-command-hook. Date: Thu, 12 Jul 2007 17:00:56 +0900 Message-ID: <4695DFB8.5060202@ubin.jp> References: <46937D1B.4000501@ubin.jp> <46938F1E.8000103@gmx.at> <4694A32D.3000907@ubin.jp> <4694C363.7070900@gmx.at> <4694C89C.5000402@ubin.jp> <4694CCB0.1040907@ubin.jp> <4695404B.8070706@gmx.at> 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 1184227281 31344 80.91.229.12 (12 Jul 2007 08:01:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 08:01:21 +0000 (UTC) Cc: ishikawa , bug-gnu-emacs@gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 12 10:01:19 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 1I8tby-0005XR-6D for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jul 2007 10:01:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8tbx-0003Se-Rt for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jul 2007 04:01:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I8tbu-0003SE-6S for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2007 04:01:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I8tbr-0003Rl-Sk for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2007 04:01:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I8tbr-0003Ri-KU for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2007 04:01:11 -0400 Original-Received: from post.ubin.jp ([202.32.0.84]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I8tbq-00089b-QP for bug-gnu-emacs@gnu.org; Thu, 12 Jul 2007 04:01:11 -0400 Original-Received: from localhost (post [127.0.0.1]) by localhost.ubin.jp (Postfix) with SMTP id 957A829AC41; Thu, 12 Jul 2007 17:01:03 +0900 (JST) Original-Received: from [10.254.248.233] (dell-w2k-note.ddns.member.ubin.jp [10.254.248.233]) by post.ubin.jp (Postfix) with ESMTP id 5748F29AC40; Thu, 12 Jul 2007 17:00:57 +0900 (JST) User-Agent: Thunderbird 1.5.0.12 (X11/20070509) In-Reply-To: <4695404B.8070706@gmx.at> X-detected-kernel: Linux 2.4-2.6 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:16149 Archived-At: Dear Martin Rudalics, Thank you for the additional information. I am now trying to figure out where minibuffer-setup-hook is set. Things get quite interesting. It seems that there are certainly more references to minibuffer-setup-hook than to post-command-hook, etc.. I need to refresh my knowledge of edebug now. Thank you again. Chiaki Ishikawa martin rudalics wrote: > > I tried the following mods to record what is inside post-command-hook. > > But this is too verbose and I wonder if there is a way to > > record the output of Fmessage() only to *Message* file > > instead of showing it to the minibuffer. > > My previous suggestions were rather silly. The bug should occur with > `minibuffer-setup-hook', that is, within `minibuffer-with-setup-hook'. > You'd have to identify an object in your .emacs that causes > `minibuffer-setup-hook' to add a function to `post-command-hook' that's > triggering the bug, likely somewhere within `find-file-read-args'. > Could you try to edebug the latter? > >