From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#39154: 27.0.60; Use character history in zap-up-to-char Date: Mon, 20 Jan 2020 02:24:30 +0200 Organization: LINKOV.NET Message-ID: <87a76jm0u9.fsf@mail.linkov.net> References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59889"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (x86_64-pc-linux-gnu) Cc: 39154@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 20 01:44:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1itLAm-000FX3-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jan 2020 01:44:08 +0100 Original-Received: from localhost ([::1]:55818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itLAl-0006z4-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jan 2020 19:44:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36862) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itL9l-0005vx-NA for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2020 19:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itL9j-0007uk-J9 for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2020 19:43:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itL9j-0007uD-EO for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2020 19:43:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itL9j-00012T-Cf for bug-gnu-emacs@gnu.org; Sun, 19 Jan 2020 19:43:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jan 2020 00:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39154 X-GNU-PR-Package: emacs Original-Received: via spool by 39154-submit@debbugs.gnu.org id=B39154.15794809563904 (code B ref 39154); Mon, 20 Jan 2020 00:43:03 +0000 Original-Received: (at 39154) by debbugs.gnu.org; 20 Jan 2020 00:42:36 +0000 Original-Received: from localhost ([127.0.0.1]:44183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itL9I-00010u-00 for submit@debbugs.gnu.org; Sun, 19 Jan 2020 19:42:36 -0500 Original-Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:35306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itL9F-00010l-R9 for 39154@debbugs.gnu.org; Sun, 19 Jan 2020 19:42:34 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C923C8C1FA2; Mon, 20 Jan 2020 00:42:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a96.g.dreamhost.com (100-96-92-245.trex.outbound.svc.cluster.local [100.96.92.245]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 672768C1E50; Mon, 20 Jan 2020 00:42:32 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a96.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 20 Jan 2020 00:42:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Bubble-Well-Made: 5a4de9c6331ced02_1579480952636_1839294289 X-MC-Loop-Signature: 1579480952636:3868349151 X-MC-Ingress-Time: 1579480952635 Original-Received: from pdx1-sub0-mail-a96.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a96.g.dreamhost.com (Postfix) with ESMTP id 3824E7F083; Sun, 19 Jan 2020 16:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=meV8jwDdzvae4G4vmhYpLVR8M50=; b= QNDilg4GklVMml8Cz/1uI+KNY5LP9bzwen9DfjsRdciZTOAMfM1A/BV8nvGNN+WG yTvCOfwrYYlwWszI5qcKysL1dcAOQegodWTy43jPsq08S+GgYnN04iFbnsfd6DL2 NXpegasndcmel2JQgiWSBRZLWfgCoxpHPDLE+cudIvE= Original-Received: from mail.jurta.org (m91-129-103-201.cust.tele2.ee [91.129.103.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a96.g.dreamhost.com (Postfix) with ESMTPSA id A3FA87F075; Sun, 19 Jan 2020 16:42:25 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a96 In-Reply-To: (Tino Calancha's message of "Sat, 18 Jan 2020 15:37:42 +0100 (CET)") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrudeggddvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvddtudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrddvtddupdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepthhinhhordgtrghlrghntghhrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174896 Archived-At: >> 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.