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#16274: 24.3.50; Error in post-command-hook (icomplete-post-command-hook): (invalid-function ("..." ...)) Date: Fri, 27 Dec 2013 21:52:13 -0800 (PST) Message-ID: <0d02f1f6-f984-4da4-b077-43408a24c046@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388210017 4752 80.91.229.3 (28 Dec 2013 05:53:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2013 05:53:37 +0000 (UTC) To: 16274@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 28 06:53:42 2013 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 1Vwmq7-0000ke-DU for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2013 06:53:35 +0100 Original-Received: from localhost ([::1]:51245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwmq7-0000XD-41 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2013 00:53:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwmpp-0000PI-7E for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:53:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwmpb-0004WH-9n for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:53:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwmpb-0004WD-6j for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:53:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vwmpa-000486-W2 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:53:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2013 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16274 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138820997715842 (code B ref -1); Sat, 28 Dec 2013 05:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2013 05:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:47631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwmpV-00047Q-0x for submit@debbugs.gnu.org; Sat, 28 Dec 2013 00:52:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51455) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VwmpT-00047G-45 for submit@debbugs.gnu.org; Sat, 28 Dec 2013 00:52:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwmpJ-0004VQ-0d for submit@debbugs.gnu.org; Sat, 28 Dec 2013 00:52:55 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwmpI-0004VM-Td for submit@debbugs.gnu.org; Sat, 28 Dec 2013 00:52:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwmpA-0000O7-B7 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:52:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwmow-0004Tl-EN for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:52:36 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:27769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwmow-0004TT-6k for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2013 00:52:22 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBS5qJkt031378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 28 Dec 2013 05:52:20 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBS5qIL2028474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 28 Dec 2013 05:52:19 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBS5qI5e026653 for ; Sat, 28 Dec 2013 05:52:18 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:82676 Archived-At: I believe I reported long ago (in the Emacs 24 cycle, IIRC) that I occasionally get this error. This is still the case. The value it complains about not being a function is a list of completions (strings), which each have text property `face' with values `completions-common-part' and `(completions-first-difference)' (a list). I haven't been able to see where in the code this error could occur. I have noticed it being raised with my setup (icomplete+.el). Dunno whether it occurs also in emacs -Q. FWIW, my code does not even reference `icomplete-post-command-hook' explicitly, and it does not use those particular faces explicitly. I also have not been able to find the code that issues that error message. Perhaps it is in some C code - the latest C code I have is for Emacs 24.3. A wild guess about this is that the list of completions is the cached value in variable `completion-all-sorted-completions'. And perhaps in code like this: (completion-try-completion name comps nil (length name) md) Maybe COMPS here (which is the value of `completion-all-sorted-completions') is somehow expected to be a function? Does this ring a bell for anyone? Just poking in the dark. Dunno how to debug this better. The error message does not stop execution, being on `post-command-hook'. It just flashes ephemerally and then I can find it in `*Messages*'. And, again, it seems that this happens just once in a while. If this info does not help at all, feel free to close the bug. Or leave it open, for future reference. It has been there for a while now. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-12-27 on ODIEONE Bzr revision: 115778 rgm@gnu.org-20131228000456-1797o8z6veuyozs0 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include'