From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.help
Subject: RE: Getting "Error in post-command-hook" with "(void-variable
	icicle-mode)" on switch-to-buffer after adding icicle
Date: Thu, 18 Jun 2015 10:27:54 -0700 (PDT)
Message-ID: <3dd6731f-c937-4767-8490-99221a1575bf@default>
References: <<B8D164BED956C5439875951895CB4B22285145B2@CAFRFD1MSGUSRIA.ITServices.sbc.com>>
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 1434648788 25847 80.91.229.3 (18 Jun 2015 17:33:08 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 18 Jun 2015 17:33:08 +0000 (UTC)
To: "KARR, DAVID" <dk068x@att.com>, help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 18 19:32:56 2015
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1Z5dgL-0001gI-Ml
	for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 19:32:53 +0200
Original-Received: from localhost ([::1]:54246 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1Z5dgL-0006WY-0k
	for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 13:32:53 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49637)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1Z5dbe-0006vT-FW
	for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:28:08 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1Z5dbb-0000lN-2T
	for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:28:02 -0400
Original-Received: from aserp1040.oracle.com ([141.146.126.69]:37938)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1Z5dba-0000kn-TH
	for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:27:59 -0400
Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74])
	by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with
	ESMTP id t5IHRtOl003682
	(version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 18 Jun 2015 17:27:57 GMT
Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
	by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t5IHRtd2000913
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Thu, 18 Jun 2015 17:27:55 GMT
Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
	by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t5IHRtbN008536;
	Thu, 18 Jun 2015 17:27:55 GMT
In-Reply-To: <<B8D164BED956C5439875951895CB4B22285145B2@CAFRFD1MSGUSRIA.ITServices.sbc.com>>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9  (901082) [OL
	12.0.6691.5000 (x86)]
X-Source-IP: userv0022.oracle.com [156.151.31.74]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 141.146.126.69
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:105039
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/105039>

> 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:
>=20
> =09Error 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