From: Drew Adams <drew.adams@oracle.com>
To: 16274@debbugs.gnu.org
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) [thread overview]
Message-ID: <0d02f1f6-f984-4da4-b077-43408a24c046@default> (raw)
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=/c/Devel/emacs/binary --enable-checking=yes,glyphs
'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
CPPFLAGS=-Ic:/Devel/emacs/include'
next reply other threads:[~2013-12-28 5:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-28 5:52 Drew Adams [this message]
2014-01-03 4:23 ` bug#16274: 24.3.50; Error in post-command-hook (icomplete-post-command-hook): (invalid-function ("..." ...)) Stefan Monnier
2014-01-03 16:20 ` Drew Adams
2014-01-03 22:14 ` Stefan Monnier
2014-01-03 22:52 ` Drew Adams
2014-01-04 4:51 ` Stefan Monnier
2014-01-04 7:03 ` Drew Adams
2014-01-04 15:45 ` Drew Adams
2014-02-10 3:53 ` Lars Ingebrigtsen
2014-02-10 16:34 ` Stefan Monnier
2014-02-10 20:55 ` Drew Adams
2014-02-20 5:09 ` Drew Adams
2014-07-19 21:51 ` Drew Adams
2015-12-26 3:40 ` Drew Adams
2017-02-03 15:49 ` Drew Adams
2017-10-22 15:06 ` Charles A. Roelli
2017-11-01 20:02 ` Charles A. Roelli
2017-11-04 8:56 ` Eli Zaretskii
2017-11-07 4:06 ` Stefan Monnier
2017-11-11 10:09 ` Eli Zaretskii
2017-11-11 10:31 ` Charles A. Roelli
2017-11-11 10:41 ` Eli Zaretskii
2017-11-11 15:25 ` Stefan Monnier
2015-01-30 14:25 ` bug#16274: ; One method to produce an error in icomplete-post-command-hook Jeremy Moore
2015-08-11 19:02 ` bug#16274: Can still reproduce in Emacs 24.5.2/x86_64-unknown-linux-gnu Michael Hoffman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d02f1f6-f984-4da4-b077-43408a24c046@default \
--to=drew.adams@oracle.com \
--cc=16274@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).