From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11715: 24.1; Error in post-command-hook: wrong-number-of-arguments - read-file-internal Date: Sat, 23 Jun 2012 10:04:35 -0400 Message-ID: References: <0E81BDF53A444380B270F0D1522840B8@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340460326 22419 80.91.229.3 (23 Jun 2012 14:05:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 14:05:26 +0000 (UTC) Cc: 11715@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 16:05:25 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SiQxn-0004R4-3b for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 16:05:23 +0200 Original-Received: from localhost ([::1]:35366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiQxn-0001hF-2D for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 10:05:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiQxk-0001hA-Ci for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 10:05:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiQxi-0002cn-NC for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 10:05:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiQxi-0002cC-JA for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 10:05:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiR1K-0004O1-3f for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2012 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11715-submit@debbugs.gnu.org id=B11715.134046050116811 (code B ref 11715); Sat, 23 Jun 2012 14:09:02 +0000 Original-Received: (at 11715) by debbugs.gnu.org; 23 Jun 2012 14:08:21 +0000 Original-Received: from localhost ([127.0.0.1]:54077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiR0f-0004N6-0K for submit@debbugs.gnu.org; Sat, 23 Jun 2012 10:08:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28876) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiR0e-0004N0-BS for 11715@debbugs.gnu.org; Sat, 23 Jun 2012 10:08:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLSN/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191979732" Original-Received: from 69-196-180-141.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.141]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Jun 2012 10:04:35 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2FDB54E242; Sat, 23 Jun 2012 10:04:35 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sat, 23 Jun 2012 06:39:32 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61216 Archived-At: > I checked all of this code before filing the bug report, and checked it again > just now. Any idea? No, I don't see it. > What would construct a function of no args that is essentially > `read-file-name-internal' and put it on `post-command-hook' As I said, it is *not* put on post-command-hook: it is run by Icomplete's post-command-hook, so the error could be because that function was put in minibuffer-completion-table or minibuffer-completion-predicate (and hence called by icomplete-completions), or even on icomplete-post-command-hook. Can you check some of those variables? If you can find a way to trigger the problem with M-: (run-hooks 'icomplete-post-command-hook) RET then we could debug it a bit more easily (e.g. get a backtrace, use edebug, ...). Stefan