From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11715: 24.1; Error in post-command-hook: wrong-number-of-arguments - read-file-internal Date: Fri, 15 Jun 2012 08:36:45 -0700 Message-ID: <0E81BDF53A444380B270F0D1522840B8@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339774755 4784 80.91.229.3 (15 Jun 2012 15:39:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 15:39:15 +0000 (UTC) To: 11715@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 17:39:12 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 1SfYbI-0005nC-DT for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 17:38:16 +0200 Original-Received: from localhost ([::1]:40815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYbI-0000eL-BP for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2012 11:38:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYbC-0000cM-67 for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:38:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfYb5-0003YN-QX for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:38:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYb5-0003YI-NT for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SfYdy-0007W9-EF for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jun 2012 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.133977480228829 (code B ref -1); Fri, 15 Jun 2012 15:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jun 2012 15:40:02 +0000 Original-Received: from localhost ([127.0.0.1]:44147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfYcz-0007Um-H4 for submit@debbugs.gnu.org; Fri, 15 Jun 2012 11:40:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53060) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SfYcx-0007UU-BC for submit@debbugs.gnu.org; Fri, 15 Jun 2012 11:40:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfYa2-0003Gf-9K for submit@debbugs.gnu.org; Fri, 15 Jun 2012 11:36:59 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:49755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYa2-0003Ga-5e for submit@debbugs.gnu.org; Fri, 15 Jun 2012 11:36:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYa0-0000Gr-Dj for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:36:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfYZy-0003G3-GI for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:36:55 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:51268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfYZy-0003Fd-AY for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2012 11:36:54 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q5FFanwV030530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Jun 2012 15:36:50 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q5FFam1W000080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 15 Jun 2012 15:36:49 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q5FFamLU025099 for ; Fri, 15 Jun 2012 10:36:48 -0500 Original-Received: from dradamslap1 (/10.159.184.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Jun 2012 08:36:48 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1LDKt0x7sE7kvzR72HLcMMDXfamg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:61008 Archived-At: Not in emacs -Q, and I do not know how to reproduce it. I get this sometimes: Error in post-command-hook (#[nil \300\301!\207 [run-hooks icomplete-post-command-hook] 2]): (wrong-number-of-arguments (lambda nil (let ((minibuffer-completing-file-name t)) (completion-table-in-turn (quote completion--embedded-envvar-table) (quote completion--file-name-table)))) 3) That looks like someone (Icicles? Icomplete?) put this function on post-command-hook: (lambda () (let ((minibuffer-completing-file-name t)) (completion-table-in-turn (quote completion--embedded-envvar-table) (quote completion--file-name-table)))) FWIW, I'm not aware of Icicles doing anything like that - I don't see any code that is similar. But I cannot say that it doesn't do something that leads to that. The `let' body in that sexp is just the definition of `read-file-name-internal': (defalias 'read-file-name-internal (completion-table-in-turn 'completion--embedded-envvar-table 'completion--file-name-table) "Internal subroutine for `read-file-name'. Do not call this.") This is that definition (symbol-function), un-byte-compiled: (closure ((tables completion--embedded-envvar-table completion--file-name-table) t) (string pred action) (completion--some (lambda (table) (complete-with-action action table string pred)) tables)) Hoping some of this info might ring a bell for Stefan. It means little to me. (I also do not recall whether this occurred in the release itself or in a (post|parallel-to)-release development build. If I had to guess I'd say it occurs in both.) In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include'