unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Gregor Zattler <grfz@gmx.de>, help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: isearch+  provoces error when starting eshell
Date: Fri, 31 May 2013 21:42:21 -0700 (PDT)	[thread overview]
Message-ID: <54634406-dce7-432b-a456-32749e186f01@default> (raw)
In-Reply-To: <20130531222203.GA2380@boo.workgroup>

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



  reply	other threads:[~2013-06-01  4:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-31 22:22 isearch+ provoces error when starting eshell Gregor Zattler
2013-06-01  4:42 ` Drew Adams [this message]
2013-06-02 13:46   ` bisected to commit since when this error occours (was: Re: isearch+ provoces error when starting eshell) Gregor Zattler
2013-06-02 18:59     ` Drew Adams
2013-06-02 20:45     ` Gregor Zattler

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=54634406-dce7-432b-a456-32749e186f01@default \
    --to=drew.adams@oracle.com \
    --cc=grfz@gmx.de \
    --cc=help-gnu-emacs@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.
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).