From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: isearch+ provoces error when starting eshell Date: Fri, 31 May 2013 21:42:21 -0700 (PDT) Message-ID: <54634406-dce7-432b-a456-32749e186f01@default> References: <20130531222203.GA2380@boo.workgroup> 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 1370061794 6146 80.91.229.3 (1 Jun 2013 04:43:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Jun 2013 04:43:14 +0000 (UTC) To: Gregor Zattler , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 01 06:43:13 2013 Return-path: 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 ) id 1Uider-0004GQ-FE for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 06:43:13 +0200 Original-Received: from localhost ([::1]:37692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uideq-0004CK-79 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jun 2013 00:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UideY-0004C9-8d for help-gnu-emacs@gnu.org; Sat, 01 Jun 2013 00:42:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UideT-0001H6-Dy for help-gnu-emacs@gnu.org; Sat, 01 Jun 2013 00:42:54 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:24208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UideT-0001Gm-7I for help-gnu-emacs@gnu.org; Sat, 01 Jun 2013 00:42:49 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r514ghIk031957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 1 Jun 2013 04:42:43 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r514ghL7013289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Jun 2013 04:42:44 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r514ghiQ026518; Sat, 1 Jun 2013 04:42:43 GMT In-Reply-To: <20130531222203.GA2380@boo.workgroup> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:91214 Archived-At: > in emacs24 when isearch+ is loaded, starting eshell gives: > byte-code: Key sequence C-c C-c starts with non-prefix key C-c > and somehow freezes. It's possible to give a `ls' command but > not twice. >=20 > Minimal example: > emacs-snapshot -Q -nw -l ~/.emacs.d/elpa/isearch+-20130513.1521/isearch+.= el > -f eshell > > Is this something I should file a bug report for? Where? Hi Gregor, You can report Isearch+ problems to me directly. I cannot reproduce the problem you see. I tried the following with Emacs 24.3 (on MS Windows), which should be equivalent to what you are doing. I don't know anything about `emacs-snapshot', or what that Isearch version is in your elpa directory. But I assume it is more or less the same as what I have. emacs -Q -nw -l "C:\mydir\isearch+.el" -f eshell Likewise, if I use `emacs -Q -nw' and then load isearch+.el (or isearch+.elc), and then do `M-x eshell'. I can do C-c C-c and ls, any number of times each. The only key bindings involving C-c in Isearch+ are these in `isearch-mode-map' (which means they are in effect while searching, i.e., after C-s). They are each bound to `isearchp-yank-char': C-c C-y C-c But your error message seems to come from the byte-compiler. When I byte-compile isearch+.el in Emacs 24 I get no such error. And if I then load isearch+.elc instead of .el, I see no difference. I can think of two possibilities, neither of which seems like it should really explain the problem you're seeing: 1. I neglected to include (eval-when-compile (require 'cl)) in the file. I've just added it now and uploaded isearch+.el to Emacs Wiki, here: http://www.emacswiki.org/emacs-en/download/isearch%2b.el You might try that to see if it makes a difference (I doubt it). 2. I believe there have been some byte-compiler problems in some recent Emacs development builds. Perhaps that is the problem. I'm by no means sure there are any such problems, but I think I saw some messages about it. No idea whether, if there are some byte-compiler problems, they are relevant to what you're seeing here. Anyway, try loading the source file (not .elc) directly. Try this, to see if it makes any difference: Delete isearch+.elc, so you use the source file. emacs -Q -nw Then `M-x load-file isearch+.el' in its directory (or ensure it is in your `load-path' and use `load-library'). Then `M-x eshell' and the rest of your recipe (C-c C-c ls C-c C-c etc.). Let me know if you make any progress. Perhaps there is a bug in Emacs or in isearch+.el, but so far I cannot repro what you see. Sorry.=20