[Top][All Lists]

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

Re: PATCH: isearch-yank-until-char

From: Juri Linkov
Subject: Re: PATCH: isearch-yank-until-char
Date: Sun, 25 Aug 2019 22:58:21 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> Well, I tried setting `isearch-error' in the error case -- instead of using
> `message' as the current patch does -- but it didn't seem to have any
> useful effect.  I just got the "I-search:" prompt back immediately, with no
> indication that the character I had typed was not found.  Then I tried
> keeping the current `message' code and *also* setting `isearch-error', but
> that seemed to have no effect either.  The result was exactly the same as
> the current message behavior.
> So I've left the code as-is; the current patch is attached here.

Using `message' is completely fine, I see no problems with it.

> (Through the discussion, thanks to you Juri, I also learned about the more
> general `isearch-yank-on-move'.  For those who deliberately choose that
> behavior and won't be confused by it, it's pretty neat!  But I think it's
> orthogonal to this patch, since the point of this patch is to add
> a transparent new behavior within traditional isearch -- that is,
> a behavior that won't get in the way or cause any surprises for those who
> don't learn about it.)

Yes, it's orthogonal.  What I also like about isearch-yank-until-char
is that an easy way to yank until the end of the line with just
`C-M-c C-j' is a replacement of isearch-yank-line.

reply via email to

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