GNU bug report logs - #39154
27.0.60; Use character history in zap-up-to-char

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Thu, 16 Jan 2020 18:50:01 UTC

Severity: wishlist

Found in version 27.0.60

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 39154 <at> debbugs.gnu.org
Subject: bug#39154: 27.0.60; Use character history in zap-up-to-char
Date: Mon, 20 Jan 2020 02:24:30 +0200
>> BTW, why we added only isearch-yank-until-char corresponding to zap-to-char,
>> but not an isearch command corresponding to zap-up-to-char?
> I wasn't aware about that function; I like it! It saves typing.
>
> After playing with it, I see that above function corresponds to
> `zap-up-to-char' (i.e., it doesn't add CHAR to the search string).

Indeed.

> The following changes might be worth:
> - A rename, or an alias, of above function to `isearch-yank-up-to-char'

Better to leave alone the name of the existing command since
"up-to-char" and "until-char" are synonyms.

> - Add similar funtion `iseach-yank-to-char' (i.e. one that inserts CHAR
>   in the seach string).

Yes, this is a good name consistent with zap-to-char.




This bug report was last modified 4 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.