unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Getting "Error in post-command-hook" with "(void-variable icicle-mode)" on switch-to-buffer after adding icicle
@ 2015-06-18 16:31 KARR, DAVID
  0 siblings, 0 replies; 3+ messages in thread
From: KARR, DAVID @ 2015-06-18 16:31 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

I very recently added icicle to my Emacsen (both Cygwin Emacs 24.5.1 and 24.3.1 on CentOS7).  Now, whenever I do "switch-to-buffer", when I press the first key to begin a buffer name, I see the following:

Cygwin:
	Error in post-command-hook (icomplete-post-command-hook): (void-variable icicle-mode)

Centos7:
	Error in post-command-hook (#[nil \301\x18\302\303!)\207 [non-essential t run-hooks icomplete-post-command-hook] 2]): (void-variable icicle-mode)

I have both of these Emacs configured somewhat similarly.  What might be the problem here?

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3468 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Getting "Error in post-command-hook" with "(void-variable icicle-mode)" on switch-to-buffer after adding icicle
       [not found] <<B8D164BED956C5439875951895CB4B22285145B2@CAFRFD1MSGUSRIA.ITServices.sbc.com>
@ 2015-06-18 17:27 ` Drew Adams
  2015-06-19  1:07 ` Drew Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2015-06-18 17:27 UTC (permalink / raw)
  To: KARR, DAVID, help-gnu-emacs

> I very recently added icicle to my Emacsen (both Cygwin Emacs 24.5.1
> and 24.3.1 on CentOS7).  Now, whenever I do "switch-to-buffer", when
> I press the first key to begin a buffer name, I see the following:
> 
> 	Error in post-command-hook (icomplete-post-command-hook):
> (void-variable icicle-mode)
...
> What might be the problem here?

Something is trying to evaluate variable `icicle-mode', but it seems
that Icicles has not been loaded, so that variable is undefined.

We can take this off list, to find the problem (you can report back
to the list if you think what we find is useful for others).

Are you also using library `icomplete+.el' (you do not need to -
just asking)?

Have you loaded Icicles?  Have you turned on `icicle-mode'
(presumably not)?

Are you actually calling `switch-to-buffer' or just using `C-x b'
(which in Icicle mode is bound to `icicle-buffer', by default).
If the latter, what does `C-h k C-x b' tell you?

Can you reproduce the problem if you start Emacs using `emacs -Q'
(no init file) and then load whatever libraries you think are
needed for the bug?

If not, recursively bisect your init file to find what code
leads to the problem.  You can do that using `comment-region'
to comment out 1/2, then 3/4, 7/8, 15/16... of your init file.

Sorry for the trouble.  Let me know as much as you can.

Thx - Drew




^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Getting "Error in post-command-hook" with "(void-variable icicle-mode)" on switch-to-buffer after adding icicle
       [not found] <<B8D164BED956C5439875951895CB4B22285145B2@CAFRFD1MSGUSRIA.ITServices.sbc.com>
  2015-06-18 17:27 ` Drew Adams
@ 2015-06-19  1:07 ` Drew Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2015-06-19  1:07 UTC (permalink / raw)
  To: help-gnu-emacs

Followup:
A minor update to icomplete+.el seems to have fixed this.
http://www.emacswiki.org/emacs/download/icomplete%2b.el



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-19  1:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 16:31 Getting "Error in post-command-hook" with "(void-variable icicle-mode)" on switch-to-buffer after adding icicle KARR, DAVID
     [not found] <<B8D164BED956C5439875951895CB4B22285145B2@CAFRFD1MSGUSRIA.ITServices.sbc.com>
2015-06-18 17:27 ` Drew Adams
2015-06-19  1:07 ` Drew Adams

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).