emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cursor keys break isearch with null search-exit-option


From: Chris Moore
Subject: Re: cursor keys break isearch with null search-exit-option
Date: Fri, 1 Apr 2005 07:07:41 +0200

I have no idea.  I usually expect Emacs to stop the search if I press
a cursor key.  But then, I've never had search-exit-option set to
anything but t before.

One thing I'm sure of, however, is that it shouldn't print an ugly
error message, like it currently does.

I wasn't aware that setting search-exit-option to 'edit would have the
effect it does.  That should be documented in the doc string for the
variable, and allowed as a choice when 'configure'ing the variable. 
Currently it's just a toggle.  I do see it documented in the doc
string for function isearch-other-meta-char, but I wouldn't have known
to have looked there without your hint.

Chris.

On Apr 1, 2005 6:04 AM, Juri Linkov <address@hidden> wrote:
> > If I evaluate this:
> >
> >   (setq search-exit-option nil)
> >
> > then hit C-s (which runs the command isearch-forward) and then press a
> > cursor key, I see an error:
> 
> What do you expect Emacs to do when you press cursor keys?
> Maybe it should call `(isearch-edit-string)' as it does
> when `search-exit-option' is set to `edit'?
> 
> --
> Juri Linkov
> http://www.jurta.org/emacs/
> 
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]