From unknown Thu Jun 19 14:03:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39154 <39154@debbugs.gnu.org> To: bug#39154 <39154@debbugs.gnu.org> Subject: Status: 27.0.60; Use character history in zap-up-to-char Reply-To: bug#39154 <39154@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:03:04 +0000 retitle 39154 27.0.60; Use character history in zap-up-to-char reassign 39154 emacs submitter 39154 Tino Calancha severity 39154 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 13:49:33 2020 Received: (at submit) by debbugs.gnu.org; 16 Jan 2020 18:49:33 +0000 Received: from localhost ([127.0.0.1]:38344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isACv-0004r4-NI for submit@debbugs.gnu.org; Thu, 16 Jan 2020 13:49:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:53359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isACq-0004qq-Cg for submit@debbugs.gnu.org; Thu, 16 Jan 2020 13:49:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39816) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isACp-0007bD-0S for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 13:49:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isACn-0006E7-Nh for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 13:49:22 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:39342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isACn-0006D6-HU for bug-gnu-emacs@gnu.org; Thu, 16 Jan 2020 13:49:21 -0500 Received: by mail-wr1-x42c.google.com with SMTP id y11so20250466wrt.6 for ; Thu, 16 Jan 2020 10:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=oA5dJxJt/fEToQr7A5HGJX7O+kj1V11etVFUQX0S0SE=; b=ucABe2ggj0HJOsSvOAP7DuOkhG82mHqioLXFKD73nO3Y4eHc0XoqTBTKa9+sHcQxuD 0MKr9Q6oEYfs3m+QCsWQy3nqbYs0zswgTuF96Knwl/cR+9uVMUw9XxEWfxR7Lo9cTUsL d/YkNAB++6oFdzWBBnC/VyWXij0AXVe7yCjpfNEtX9+OzZmsQAZ6xDcmk+FPWgFKgmUl Q9KQUcD2zwBo57aK7tXi+HXmZJqZuTDe3a0p+WN1paOpb3lCLFQUqtSCBzWtQrtntWxK ZMq0QZ26v8vUVaLSM/JHImKKrYuI5runysoarvWg8wFRFSs6Ec7bMWelUxaesniSrpjc KBWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=oA5dJxJt/fEToQr7A5HGJX7O+kj1V11etVFUQX0S0SE=; b=etmhQR0Teknj5J0odvPnL0ITF4iiG9i+AZ73mpR/UI3QdIrQ6l1l7ncaOjrx+Mf9bK wO3/VNzx34x3Ric1RZQ6udwG7imrTueHzyFTULqTJ6gIAWZpXoXZjYOXpn/EjsXKHwTr WhuSdlSLmFZGGy55SATZS5yCfthwnBEMedOrsYnqdII7ioGckKZ4ZAA7FkPeYumkNNWT xgnMa/UL+jKYMfi2cDQ05PXJRe2etFJP4DrmzOQiZGTuTuuEIcKApWc0GMp0joa0xwxL Ddbj7GncS/OxgqYs0nBsf677c//5D/chBEBQLstyOS0FDb6QSThXqzuM89TPBJgG0VzC G7BQ== X-Gm-Message-State: APjAAAWQ2qHU78amixFVEbOY/xSAsjofUWOux3SGzEOpRpLKZOS18Uf+ ItI1ELVFCo3YsvVtn5dLF9tYaFnW X-Google-Smtp-Source: APXvYqxDDlenMpUqrMhgtRH1H0TLGxhYVRvleFJI6/ccemHAfns5YqZ8UNJrUkg7kzGRa5X0LEmeqw== X-Received: by 2002:adf:b605:: with SMTP id f5mr4635414wre.383.1579200558096; Thu, 16 Jan 2020 10:49:18 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id p18sm5767513wmg.4.2020.01.16.10.49.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 10:49:17 -0800 (PST) From: Tino Calancha To: bug-gnu-emacs@gnu.org Subject: 27.0.60; Use character history in zap-up-to-char Date: Thu, 16 Jan 2020 19:49:12 +0100 Message-ID: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) X-Debbugs-Cc: Juri Linkov Severity: wishlist While zapping I saw in the news about recent `zap-to-char' changes... ( I mean Emacs news, I don't watch TV! :-| ) We might want to extend that to cover `zap-up-to-char' as well; as many others, I weardly use the former, but I often use the latter. --8<-----------------------------cut here---------------start------------->8--- commit 5436b891aadaf649ae6ab3e204b74c76bfa4e6f8 Author: Tino Calancha Date: Thu Jan 16 19:30:03 2020 +0100 Use character history in zap-up-to-char Extend commit 'Add CHARS arg to read-char-from-minibuffer compatible with read-char-choice.' (04ab67470706f1c66bdf08e4078ea3dffd79b41e) to `zap-up-to-char'. * lisp/misc.el (lisp/misc.el): Use same interactive specification as in `zap-to-char'. * etc/NEWS (): Mention zap-up-to-char as well. diff --git a/etc/NEWS b/etc/NEWS index d6eb5d9e66..08e8907a2c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -603,10 +603,10 @@ navigation and editing of large files. +++ ** 'zap-to-char' now uses the history of characters you used to zap to. -'zap-to-char' uses the new 'read-char-from-minibuffer' function to allow -navigating through the history of characters that have been input. -This is mostly useful for characters that have complex input methods -where inputting the character again may involve many keystrokes. +'zap-to-char' and 'zap-up-to-char' use the new 'read-char-from-minibuffer' +function to allow navigating through the history of characters that +have been input. This is mostly useful for characters that have complex +input methods where inputting the character again may involve many keystrokes. +++ ** 'save-some-buffers' now has a new action in the prompt: 'C-f' will diff --git a/lisp/misc.el b/lisp/misc.el index 05244a6ea2..8b6b7a7e0d 100644 --- a/lisp/misc.el +++ b/lisp/misc.el @@ -69,7 +69,9 @@ zap-up-to-char Case is ignored if `case-fold-search' is non-nil in the current buffer. Goes backward if ARG is negative; error if CHAR not found. Ignores CHAR at point." - (interactive "p\ncZap up to char: ") + (interactive (list (prefix-numeric-value current-prefix-arg) + (read-char-from-minibuffer "Zap to char: " + nil 'read-char-history))) (let ((direction (if (>= arg 0) 1 -1))) (kill-region (point) (progn --8<-----------------------------cut here---------------end--------------->8--- In GNU Emacs 27.0.60 (build 52, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2020-01-16 built on calancha-pc.dy.bbexcite.jp Repository revision: 52080b5778cbe535c331fa14539aecd88f2be0a0 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 13:57:04 2020 Received: (at 39154) by debbugs.gnu.org; 16 Jan 2020 18:57:04 +0000 Received: from localhost ([127.0.0.1]:38359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isAKG-00053V-Ka for submit@debbugs.gnu.org; Thu, 16 Jan 2020 13:57:04 -0500 Received: from mail-wm1-f44.google.com ([209.85.128.44]:55803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isAKF-000530-As for 39154@debbugs.gnu.org; Thu, 16 Jan 2020 13:57:03 -0500 Received: by mail-wm1-f44.google.com with SMTP id q9so4889779wmj.5 for <39154@debbugs.gnu.org>; Thu, 16 Jan 2020 10:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:in-reply-to:message-id:mime-version; bh=0PpWuxzlG3GzdLto6Vv55d5Ldkf6UWRlnbP4CUhaTIA=; b=fpWODhfZ7Z5yfgo/9qg5RP8u1iUo+vBlBBZ91FCjPcwlX9WynTE4GgzF1hJfg5Bl3D FvbbUH/TQpBOTcUI+KUwx8yaE96ESf8xCnoHCLUrAb+0RTgrPC1oO17UmC9jgvlqkObI tIn7/KY4HoyEBqh4DLytrI5+mx5WxpWecbfGLOCEgTZh/uWXohQ8A1/NFe5sTE3YaXjZ v3BkEqVBgaHKvnSBQ4BNgIzjaP/L5DWWo4FlAw8pIFJNWFocl9KOfnV0XLI/CNS6Wko2 IwT7N/XG9UDsvHx9KqV5rz1bJ0/uKEVMWdhAhrD45+vytXLRS1fD026W+I5/9OKKvPXe tpXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:in-reply-to:message-id :mime-version; bh=0PpWuxzlG3GzdLto6Vv55d5Ldkf6UWRlnbP4CUhaTIA=; b=BCWLEUkcvZN9YKuYJBVjlEF9tGtnNfocKi2aQaGP9N7bpwAAvWwP1/b+UNiSordToh pt7Ni+vTeeMdkqnJYLethFggbwRwempRcaLO4y9PxjWXhQPb1RZptr7CHNaGPov5U8me MkXveHw6SdzH4HbapF2d5iriPnb/GoX3oG344E0d3beVUGoYwNicVs6L8JHMIE8MuRMA vd5pKqmjQ9EHqJzVgvJZAGtj/OqPwoUVwDjuXf5cXYbk9eAGKXKGrSPNLJCFgaPotPQO cB848z5M62AyX73tN/BtFqIx8Ywux5gQZ6DdxPRS+l8HVX4dlgqys9cSAjag8LrUJb7Z VqaQ== X-Gm-Message-State: APjAAAUaQf8wsbj03tmxleF5UWEPr4CSdPFSkJmiTGKGzjOwlAglLOVp dg4uDqk4kt84luY0WBBOrt7dycrp X-Google-Smtp-Source: APXvYqwglLwuqDN5ZubEDE1P9p6FBYhL6ijL1N1WHbZ0GflTnOWeZDwF2lfhWczqB2XbOHib/wg4ug== X-Received: by 2002:a7b:cf0d:: with SMTP id l13mr486760wmg.13.1579201017295; Thu, 16 Jan 2020 10:56:57 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id n187sm5990690wme.28.2020.01.16.10.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 10:56:56 -0800 (PST) From: Tino Calancha To: 39154@debbugs.gnu.org Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char Date: Thu, 16 Jan 2020 19:56:55 +0100 In-Reply-To: Tino Calancha's message of "Thu, 16 Jan 2020 19:49:12 +0100 (5 minutes, 8 seconds ago)" Message-ID: <878sm71b7s.fsf@calancha-pc.dy.bbexcite.jp> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: juri linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Tino Calancha >diff --git a/lisp/misc.el b/lisp/misc.el >index 05244a6ea2..8b6b7a7e0d 100644 >--- a/lisp/misc.el >+++ b/lisp/misc.el >@@ -69,7 +69,9 @@ zap-up-to-char > Case is ignored if `case-fold-search' is non-nil in the current buffer. > Goes backward if ARG is negative; error if CHAR not found. > Ignores CHAR at point." >- (interactive "p\ncZap up to char: ") >+ (interactive (list (prefix-numeric-value current-prefix-arg) >+ (read-char-from-minibuffer "Zap to char: " >+ nil 'read-char-history))) > (let ((direction (if (>= arg 0) 1 -1))) > (kill-region (point) Typo above, it should read '"Zap up to char: "', as follows: >+ (read-char-from-minibuffer "Zap up to char: " Sorry for that :-) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 19:27:57 2020 Received: (at 39154) by debbugs.gnu.org; 17 Jan 2020 00:27:57 +0000 Received: from localhost ([127.0.0.1]:38649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isFUT-0002GF-Gm for submit@debbugs.gnu.org; Thu, 16 Jan 2020 19:27:57 -0500 Received: from bonobo.elm.relay.mailchannels.net ([23.83.212.22]:5044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isFUQ-0002Fy-Cu for 39154@debbugs.gnu.org; Thu, 16 Jan 2020 19:27:56 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 52AD314132F; Fri, 17 Jan 2020 00:27:53 +0000 (UTC) Received: from pdx1-sub0-mail-a67.g.dreamhost.com (100-96-83-43.trex.outbound.svc.cluster.local [100.96.83.43]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC90A141DD6; Fri, 17 Jan 2020 00:27:52 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a67.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); Fri, 17 Jan 2020 00:27:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Harmony-Descriptive: 1524595676d2144d_1579220873130_3308847502 X-MC-Loop-Signature: 1579220873130:431385829 X-MC-Ingress-Time: 1579220873130 Received: from pdx1-sub0-mail-a67.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a67.g.dreamhost.com (Postfix) with ESMTP id 909EF81DC3; Thu, 16 Jan 2020 16:27:47 -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=fvJRjG/yT1pwVL4bkig+LG9joKU=; b= gV/8sTQM6sRBK/FGVbcnA68jS6QxTjiW+jlXCoEA/mJnTdiPAJFsvaoOKumSA5cL dnhgp0ehkt0IHbIt4zK/NF7QqMxemAdhcRA/p5A8Kt2ldRXYIAQWMQVW2C9Zw4SJ VzpMH/tz0Av1DsbtQTHtP+/4mj26iw93Dp53vaJIA5U= Received: from mail.jurta.org (m91-129-104-253.cust.tele2.ee [91.129.104.253]) (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-a67.g.dreamhost.com (Postfix) with ESMTPSA id 378AE81DCD; Thu, 16 Jan 2020 16:27:45 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a67 From: Juri Linkov To: Tino Calancha Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char Organization: LINKOV.NET References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> Date: Fri, 17 Jan 2020 02:18:57 +0200 In-Reply-To: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> (Tino Calancha's message of "Thu, 16 Jan 2020 19:49:12 +0100") Message-ID: <877e1rexzi.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrtdeigddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtgedrvdehfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdegrddvheefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepthhinhhordgtrghlrghntghhrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > While zapping I saw in the news about recent `zap-to-char' changes... > ( I mean Emacs news, I don't watch TV! :-| ) These are old news, these changes were made a long time ago - more than 2 months have passed. > We might want to extend that to cover `zap-up-to-char' as well; as many others, > I weardly use the former, but I often use the latter. Thanks, zap-up-to-char definitely needs the same treatment. 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 18 09:37:51 2020 Received: (at 39154) by debbugs.gnu.org; 18 Jan 2020 14:37:51 +0000 Received: from localhost ([127.0.0.1]:40743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ispEV-0002HS-6g for submit@debbugs.gnu.org; Sat, 18 Jan 2020 09:37:51 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:33936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ispET-0002HG-Ve for 39154@debbugs.gnu.org; Sat, 18 Jan 2020 09:37:50 -0500 Received: by mail-wr1-f47.google.com with SMTP id t2so25328262wrr.1 for <39154@debbugs.gnu.org>; Sat, 18 Jan 2020 06:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=2nOBGGOMKtxgulBbzUw3em8fJ/BKxQHj/DCUnqO8wUY=; b=JVhZa9UZAwRWe/Oly1GaR4HDjiSz4QQC9VDdCmjYuvEaTo873oSM02HemeNZ2wOMIP c5C2JqW8BJTSFWh7GamazHBs4cNrjXFPvSxgCUPfX6OxAjGvf2xg5yt3qZQV3kREUTqY bvFm6Z8xBBF08NLzxNGKJW/08NEsNeeEGfRwHDEEeBG+tZKYhU3QXIK5lYYuP3q0n7QZ OQtT0dhHXr4mYNXQ9NG/piFCRU78hSahg+E74x8Y1c/UGRvGDa0+R0qzQWH8gCxxeVya pQjly5N69OyeEcyZNYZJPzaJGA1PsZp5T5GF7Wf9JOHSGKD4gLWwHxY8gvVM6peQa3U7 f32Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=2nOBGGOMKtxgulBbzUw3em8fJ/BKxQHj/DCUnqO8wUY=; b=jV4Q04UlEzBAXkvl2Vr6Pn35zIvPKeNiERAnr7Iuh2Qa7rmrWz6McVLvPv6+HOU4Xd fU8/P8nWNkHbM2t9qocfTcM/371y14IzSpHLMoD1sjL0kAwwj9nsptdxB9rXvgyPmm3r gN49U2IyTpAVh1OIAr9ba7exAirDhze9HBBIsXIwTheuw6K3S0UeWRqf34QEsAnBYjuH lYqg/sc6ccY5c4ZRlquPoCFNnaAusqF505CbvV8GANc8o3xOOI4TJj8XR9ryvvT8OQU+ Mh8xlHt2IFeVd6aTmRnM9RIY7MxWosoyjnOX5hiXYTM9SPgM9czY3EQ2g+f6UUrbWnga KuYA== X-Gm-Message-State: APjAAAXOuwMgOEvDveoTwu/mjNsNWfl8TkDOATpdKzjR/ICdY8j/y38y /Xy1b8Lod0gVdm/va4DPgVo= X-Google-Smtp-Source: APXvYqy1cA+xDPHE1Uh6WbM0k7G91hwnnxds/9RhBXvtgX6Kfm1U7L/tAwV7641Q++bkgffMXLCFzw== X-Received: by 2002:adf:eb46:: with SMTP id u6mr8806407wrn.239.1579358264047; Sat, 18 Jan 2020 06:37:44 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id v62sm938580wmg.3.2020.01.18.06.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jan 2020 06:37:43 -0800 (PST) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Sat, 18 Jan 2020 15:37:42 +0100 (CET) X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp To: Juri Linkov Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char In-Reply-To: <877e1rexzi.fsf@mail.linkov.net> Message-ID: References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, 17 Jan 2020, Juri Linkov wrote: > 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). The following changes might be worth: - A rename, or an alias, of above function to `isearch-yank-up-to-char' - Add similar funtion `iseach-yank-to-char' (i.e. one that inserts CHAR in the seach string). From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 19 19:42:36 2020 Received: (at 39154) by debbugs.gnu.org; 20 Jan 2020 00:42:36 +0000 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 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 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) 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 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 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= 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 From: Juri Linkov To: Tino Calancha Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char Organization: LINKOV.NET References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> Date: Mon, 20 Jan 2020 02:24:30 +0200 In-Reply-To: (Tino Calancha's message of "Sat, 18 Jan 2020 15:37:42 +0100 (CET)") Message-ID: <87a76jm0u9.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrudeggddvgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvddtudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrddvtddupdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepthhinhhordgtrghlrghntghhrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 08:51:38 2020 Received: (at 39154) by debbugs.gnu.org; 23 Jan 2020 13:51:38 +0000 Received: from localhost ([127.0.0.1]:51996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuctW-00078m-9C for submit@debbugs.gnu.org; Thu, 23 Jan 2020 08:51:38 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:34033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuctU-00078Y-7V for 39154@debbugs.gnu.org; Thu, 23 Jan 2020 08:51:36 -0500 Received: by mail-wr1-f41.google.com with SMTP id t2so3192673wrr.1 for <39154@debbugs.gnu.org>; Thu, 23 Jan 2020 05:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WAxlh7uYqgN7OZqktk8fZQu4BsnsW6MIPUoiT5KMTuA=; b=SY5PjRAKKeGjCGpV7+D8V0da8bce/sjMs7+FxMhkD2PXVU042D2mgD6+TvEXBudTVy nt1HnO0kBbWxGKIKmqC7igy2h8asv9yqwERLBp6dnB6I8Us6eKkinxQAPqe7MgHPyNvd zsq+v/fXAztvfkO7v3GkS/HdHjyHNOKMGpWg5JXT2eRu42RwGHhJggZphGimw2yyzsnJ 9iIc9NGiXH+jrK8hPcoRWBO77Mk1q5t4HMPuE4RE5pAp4ivABpEdEsxDwuAUQ/5L4PMy rfyn7yL9AZgef4oS4wvQC8T7ubhvIcZVNd3smgzEZvqAOW1shf/bps22w1MChhZIHWCQ tr+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=WAxlh7uYqgN7OZqktk8fZQu4BsnsW6MIPUoiT5KMTuA=; b=FPayEvP9cUSUta+C1kZBoZT4CBfLwpVKDcghxZs2UC8fdAA7xELrWhGX29lG92h+/F MsTLjuS1j0U3hGMnpLmfsqynuzwtZ25xTa9KuNW0XU0C93UBX+yaoVJ9mJDH9xtNucv9 VwLAjDSnYuHGgM7/hnsMaOIsAidcKhva49mBiQ40fkhczBCR9FNxI/wctjbMY++6OzDt vYI5k9dAHdRgejwppivW/YkQZjuGR9P95Oo6HLxpAreALqR2un42HGgPz0n8b9i7qS+H mNQkbe5mGat7lSYg4VtYD6rf61kerjnrCHAEjjN3cftQhKXCroebiP3kwi75709nF5ph ID+g== X-Gm-Message-State: APjAAAWs/cSwLFKtqThAspkYs/TaUID9xBElhxVeVYV29Db/iSlUNrpM yJMfAsFeHqrYRrFFVeROFvjQsScl X-Google-Smtp-Source: APXvYqzvmcUSXfLtUgy9CtF060hE8Ci+EDiOOPaVqcbz+IGUAvbBBNyOS79Hxxk6wrqoI/6M0aN2+g== X-Received: by 2002:adf:e5ca:: with SMTP id a10mr19048276wrn.347.1579787489619; Thu, 23 Jan 2020 05:51:29 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([195.135.221.19]) by smtp.gmail.com with ESMTPSA id k16sm3421061wru.0.2020.01.23.05.51.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 05:51:28 -0800 (PST) From: Tino Calancha To: Juri Linkov Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> Date: Thu, 23 Jan 2020 14:51:23 +0100 In-Reply-To: <87a76jm0u9.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 20 Jan 2020 02:24:30 +0200") Message-ID: <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > 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. We have discussed two topics in this report, thus I am proposing the following two commits: I) Adjust interactive specificaion for `zap-up-to-char': --8<-----------------------------cut here---------------start------------->8--- commit fe77bb9c2793fd7856c514f41e7a2ce4ccbc4f18 Author: Tino Calancha Date: Thu Jan 23 14:42:29 2020 +0100 Use character history in zap-up-to-char Extend commit 'Add CHARS arg to read-char-from-minibuffer compatible with read-char-choice.' (04ab67470706f1c66bdf08e4078ea3dffd79b41e) to `zap-up-to-char'. * lisp/misc.el (lisp/misc.el): Use same interactive specification as in `zap-to-char' (Bug#39154). * etc/NEWS (Editing Changes in Emacs 27.1): Mention zap-up-to-char as well. diff --git a/etc/NEWS b/etc/NEWS index 792851e5af..2228a4bd25 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -603,10 +603,10 @@ navigation and editing of large files. +++ ** 'zap-to-char' now uses the history of characters you used to zap to. -'zap-to-char' uses the new 'read-char-from-minibuffer' function to allow -navigating through the history of characters that have been input. -This is mostly useful for characters that have complex input methods -where inputting the character again may involve many keystrokes. +'zap-to-char' and 'zap-up-to-char' use the new 'read-char-from-minibuffer' +function to allow navigating through the history of characters that +have been input. This is mostly useful for characters that have complex +input methods where inputting the character again may involve many keystrokes. +++ ** 'save-some-buffers' now has a new action in the prompt: 'C-f' will diff --git a/lisp/misc.el b/lisp/misc.el index 05244a6ea2..af5725555b 100644 --- a/lisp/misc.el +++ b/lisp/misc.el @@ -69,7 +69,9 @@ zap-up-to-char Case is ignored if `case-fold-search' is non-nil in the current buffer. Goes backward if ARG is negative; error if CHAR not found. Ignores CHAR at point." - (interactive "p\ncZap up to char: ") + (interactive (list (prefix-numeric-value current-prefix-arg) + (read-char-from-minibuffer "Zap up to char: " + nil 'read-char-history))) (let ((direction (if (>= arg 0) 1 -1))) (kill-region (point) (progn --8<-----------------------------cut here---------------end--------------->8--- II) Add new command `isearch-yank-to-char'. - It is desirable to add a keybinding for it as well. Tentatively, I have used C-M-p in this patch; please, suggest me the one that fit better. --8<-----------------------------cut here---------------start------------->8--- commit 97ffdf08dc5311989d8ee8fa0a07ce0f6695c021 Author: Tino Calancha Date: Thu Jan 23 14:42:34 2020 +0100 Add command isearch-yank-to-char * lisp/isearch.el (isearch-yank-to-char): New command; bind it to C-M-p at isearch-mode-map (Bug#39154). * etc/NEWS (Search and Replace): Announce it. * doc/emacs/search.texi (Isearch Yank): Update the manual. diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 16916617a2..0ebae16d99 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -283,6 +283,14 @@ Isearch Yank useful for keyboard macros, for example in programming languages or markup languages in which that character marks a token boundary. With a prefix numeric argument of @var{n}, the command appends everything +from point up to the @var{n}th occurrence of the specified character. + +@kindex C-M-p @r{(Incremental search)} +@findex isearch-yank-to-char + Likewise, @kbd{C-M-p} (@code{isearch-yank-to-char}) appends to +the search string everything from point to the next occurrence of +a specified character (including that character). With +a prefix numeric argument of @var{n}, the command appends everything from point to the @var{n}th occurrence of the specified character. @kindex C-y @r{(Incremental search)} diff --git a/etc/NEWS b/etc/NEWS index 2228a4bd25..10dd121c50 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1803,7 +1803,9 @@ highlight in one iteration while processing the full buffer. 'C-M-z' invokes new function 'isearch-yank-until-char', which yanks everything from point up to but not including the specified character into the search string. This is especially useful for -keyboard macros. +keyboard macros. Likewise, 'C-M-p' calls the new function +'isearch-yank-to-char', which yanks everything from point to +the specified character (including it) into the search string. 'C-M-w' in isearch changed from 'isearch-del-char' to the new function 'isearch-yank-symbol-or-char'. 'isearch-del-char' is now bound to diff --git a/lisp/isearch.el b/lisp/isearch.el index ddf9190dc6..cb52e4ffd4 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -709,6 +709,7 @@ isearch-mode-map (define-key map "\M-\C-y" 'isearch-yank-char) (define-key map "\C-y" 'isearch-yank-kill) (define-key map "\M-\C-z" 'isearch-yank-until-char) + (define-key map "\M-\C-p" 'isearch-yank-to-char) (define-key map "\M-s\C-e" 'isearch-yank-line) (define-key map "\M-s\M-<" 'isearch-beginning-of-buffer) @@ -1004,6 +1005,8 @@ isearch-forward string and search for it. Type \\[isearch-yank-until-char] to yank from point until the next instance of a specified character onto end of search string and search for it. +Type \\[isearch-yank-to-char] to yank from point to the next instance of a + specified character onto end of search string and search for it. Type \\[isearch-yank-line] to yank rest of line onto end of search string\ and search for it. Type \\[isearch-yank-kill] to yank the last string of killed text. @@ -2593,6 +2596,24 @@ isearch-yank-until-char (sit-for 2))) (point))))) +(defun isearch-yank-to-char (char &optional arg) + "Pull everything to next instance of CHAR from buffer into search string. +Interactively, prompt for CHAR. +If optional ARG is non-nil, pull to next ARGth instance of CHAR. + +See `isearch-yank-until-char' for a similar command that pull everything +until CHAR, i.e. it doesn't include CHAR." + (interactive "cYank to character: \np") + (isearch-yank-internal + (lambda () (let ((inhibit-field-text-motion t)) + (condition-case nil + (progn + (search-forward (char-to-string char) nil nil arg)) + (search-failed + (message "`%c' not found" char) + (sit-for 2))) + (point))))) + (defun isearch-yank-line (&optional arg) "Pull rest of line from buffer into search string. If optional ARG is non-nil, yank the next ARG lines." --8<-----------------------------cut here---------------end--------------->8--- Patches on top of emacs-27 commit 'Minor doc string clarification in use-hard-newlines' (7d1e9c943ffa3ded122ef3c8755e05dfb5e9c33f) From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 13:16:17 2020 Received: (at 39154) by debbugs.gnu.org; 23 Jan 2020 18:16:17 +0000 Received: from localhost ([127.0.0.1]:53163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuh1c-0007KX-TR for submit@debbugs.gnu.org; Thu, 23 Jan 2020 13:16:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuh1a-0007KI-Of for 39154@debbugs.gnu.org; Thu, 23 Jan 2020 13:16:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuh1T-0001nq-NX; Thu, 23 Jan 2020 13:16:07 -0500 Received: from [176.228.60.248] (port=3745 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuh1T-0007Aj-2k; Thu, 23 Jan 2020 13:16:07 -0500 Date: Thu, 23 Jan 2020 20:16:00 +0200 Message-Id: <831rrqt4wv.fsf@gnu.org> From: Eli Zaretskii To: Tino Calancha In-reply-to: <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> (message from Tino Calancha on Thu, 23 Jan 2020 14:51:23 +0100) Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Tino Calancha > Date: Thu, 23 Jan 2020 14:51:23 +0100 > Cc: 39154@debbugs.gnu.org > > * etc/NEWS (Editing Changes in Emacs 27.1): Mention zap-up-to-char as well. This should go to master, not to emacs-27. No new features on the release branch, please, unless they are so important that we really cannot do without them. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 25 14:43:55 2020 Received: (at 39154) by debbugs.gnu.org; 25 Jan 2020 19:43:55 +0000 Received: from localhost ([127.0.0.1]:56347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivRLX-0003Hz-4G for submit@debbugs.gnu.org; Sat, 25 Jan 2020 14:43:55 -0500 Received: from mail-wm1-f43.google.com ([209.85.128.43]:33020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivRLV-0003Hk-A2 for 39154@debbugs.gnu.org; Sat, 25 Jan 2020 14:43:53 -0500 Received: by mail-wm1-f43.google.com with SMTP id m10so5803047wmc.0 for <39154@debbugs.gnu.org>; Sat, 25 Jan 2020 11:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=vRrNviN3JNRkfMyjyCorHGBWO4JY7i4uUX/tEdER0h4=; b=D6UhkKVJaGyA94xBeEpzkhkL0dbokF+QkWtzoD7Mx7pGNaDRlAinN6IBHcbezQSTrN LqSj/BK1v8PSCwecHW6Kg0zfc/CofD9Ur42su2lP4Deo7mOWjjsWIwN2888avm0U4lmd U2ly6fd1brg74BLFzclkorAW3tEUs6qow41ixmSaiSCf5vML8vBhon3jJHsDskj+KWK5 DUON8gPC1uojWuTGakaIgMlkUl2k8AqGNBt49IAOINP/bYjtLOdifinAHEgWDCOKl9EG fEJcydnO2taHd+x2SRCH4ccH0k6UaTvVxF4aEEGR0xwknkGHyB5KRnLYT2aIiI68g6mp w20A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=vRrNviN3JNRkfMyjyCorHGBWO4JY7i4uUX/tEdER0h4=; b=lj3mSM7INeGE7SXti0VS8NQyZoD6+T+OAh+wsNb9MmuFpLl+Ccs5z3kONfF3aeUiw7 sOUWmZujWgMGIisaQhQwCY4sli+8Me1mFd8gxzf+s6L7ABt5jWKHDXXzZYI6mjMuH5Da IZkW6ciuDXs1Stivi3tVR7ZTDxYeDeFlU7Tv/n+Pj3Inel8eqWG7YHam90zDDPQNk6a7 HVo7UzlOrGTOweHxTbzdqX3J7WcHnX4MckP3Gtj6VjiuqxRDAWtxU1P8QY+BOiiRaIzu qYfRs3wvV50zaGDiyxQ6VdMuRF6PA1BZSM281Z0Imi4Qb+LcnlX6XGoZEirxkBSKsGDM UIxg== X-Gm-Message-State: APjAAAWQ6G+aDQ+dl4KZ0t/5QGd8+zH5RJV2WY4QU1YGOdKbViOdwVc7 B2AjSP/jm+yUiz7z8wKyi6E= X-Google-Smtp-Source: APXvYqxsF0kMl72kV8bWrfXvnj81AqYNjU8mG7TCEgUN1I7mBUNNX146v1PKhHMBxL7Ki1cHfovKYg== X-Received: by 2002:a7b:c750:: with SMTP id w16mr5302337wmk.46.1579981427284; Sat, 25 Jan 2020 11:43:47 -0800 (PST) Received: from [10.200.4.55] ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id t8sm13055356wrp.69.2020.01.25.11.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2020 11:43:46 -0800 (PST) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Sat, 25 Jan 2020 20:43:37 +0100 (CET) X-X-Sender: calancha@localhost.localdomain To: Eli Zaretskii Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char In-Reply-To: <831rrqt4wv.fsf@gnu.org> Message-ID: References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <831rrqt4wv.fsf@gnu.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, 23 Jan 2020, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Thu, 23 Jan 2020 14:51:23 +0100 >> Cc: 39154@debbugs.gnu.org >> >> * etc/NEWS (Editing Changes in Emacs 27.1): Mention zap-up-to-char as well. > > This should go to m [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.43 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.43 listed in wl.mailspike.net] 1.3 MALFORMED_FREEMAIL Bad headers on message from free email service X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, juri@linkov.net, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 23 Jan 2020, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Thu, 23 Jan 2020 14:51:23 +0100 >> Cc: 39154@debbugs.gnu.org >> >> * etc/NEWS (Editing Changes in Emacs 27.1): Mention zap-up-to-char as well. > > This should go to master, not to emacs-27. No new features on the > release branch, please, unless they are so important that we really > cannot do without them. OK, I got it. Thanks for let me know :-) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 28 18:53:30 2020 Received: (at 39154) by debbugs.gnu.org; 28 Jan 2020 23:53:30 +0000 Received: from localhost ([127.0.0.1]:33043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwafi-0002mt-Ce for submit@debbugs.gnu.org; Tue, 28 Jan 2020 18:53:30 -0500 Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:11036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwafg-0002me-8e for 39154@debbugs.gnu.org; Tue, 28 Jan 2020 18:53:28 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 32FD85E2143; Tue, 28 Jan 2020 23:53:27 +0000 (UTC) Received: from pdx1-sub0-mail-a93.g.dreamhost.com (100-96-8-113.trex.outbound.svc.cluster.local [100.96.8.113]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C6C925E251C; Tue, 28 Jan 2020 23:53:26 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a93.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); Tue, 28 Jan 2020 23:53:27 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Continue-Company: 1e49ea10652d6201_1580255607034_3275193368 X-MC-Loop-Signature: 1580255607034:1996627243 X-MC-Ingress-Time: 1580255607034 Received: from pdx1-sub0-mail-a93.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a93.g.dreamhost.com (Postfix) with ESMTP id 659A28127C; Tue, 28 Jan 2020 15:53:25 -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=fFSzDawcx6WLnfvjBG6UNUo/jVc=; b= oozhwVlzDIJpKIj2D/z53+olJv7Sk3683dszRfYfKfrBtMWDCZZ3GZBe2KTS03nr vZxeKK0ChRhKKde/mxlQ3N+EBvQuwMUdH9KCITi8mmJIaxor9jeXTMPL5gSCmCAr 7SJI4XoXFwgLQesrmcTYPBMrALEh7LUR7t98ODNRnH4= Received: from mail.jurta.org (m91-129-105-126.cust.tele2.ee [91.129.105.126]) (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-a93.g.dreamhost.com (Postfix) with ESMTPSA id CF9028126F; Tue, 28 Jan 2020 15:53:23 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a93 From: Juri Linkov To: Tino Calancha Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char Organization: LINKOV.NET References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> Date: Wed, 29 Jan 2020 01:49:23 +0200 In-Reply-To: <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> (Tino Calancha's message of "Thu, 23 Jan 2020 14:51:23 +0100") Message-ID: <87d0b3b0qk.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrfeehgddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddthedruddvieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddthedruddviedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehtihhnohdrtggrlhgrnhgthhgrsehgmhgrihhlrdgtohhm X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > II) Add new command `isearch-yank-to-char'. Thanks. > - It is desirable to add a keybinding for it as well. Tentatively, I > have used C-M-p in this patch; please, suggest me the one that fit better. Sorry, C-M-p can't be overridden because C-M-p is bound globally to 'backward-list', so C-M-p should exit Isearch and run this command. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 02 08:54:11 2020 Received: (at 39154) by debbugs.gnu.org; 2 Feb 2020 13:54:11 +0000 Received: from localhost ([127.0.0.1]:39626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyFhT-0001tY-0d for submit@debbugs.gnu.org; Sun, 02 Feb 2020 08:54:11 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:36144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyFhR-0001tI-BJ for 39154@debbugs.gnu.org; Sun, 02 Feb 2020 08:54:09 -0500 Received: by mail-wm1-f50.google.com with SMTP id p17so14008513wma.1 for <39154@debbugs.gnu.org>; Sun, 02 Feb 2020 05:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=tAno+VWNDlHJRmZb54SdVzErx9oOLj9AeAPMDL0/MXM=; b=M/hTX+2LBMg+8GeEgqRMBbAoaxcOz/lw/0l9vYDa+efZ8sFR8hbpTmu6dRMoHtsVmT 5ESMY0ivPuI53icxyPjcUvizw/xQHZASFe+fRgqTCY9vlJw9Dx6cUhzHj0IZ2pHbZ84w R980ogmN2bq8icMrEnwUW4M3h/1p+A0fCmEMPXYR6ZM6BmPZ9Of7ToskT6EqFYI/6gTN N6h/Gyo/VOuMNP8eBobMpE2e3Ji6tqPuNNyRBI8NkeAZPqdv4XDwRUXQAeWCLVSEnAmS w5zPQub3jrNJc5hR2hq60gKLyYOIHsXsG5Sc5YiIPbzLZPnFpYDvyyjR/uzY+zVbuToR R+Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=tAno+VWNDlHJRmZb54SdVzErx9oOLj9AeAPMDL0/MXM=; b=ZObc13vaOLZUAMsCzhvysGDFCpbGkhAMx/rjjYNsLLOO116Aem2NUxJSbp21uSrW+W +ATbZnnlQeHkiuQ7fLTPH8uOU9rGTlek+idJbFIEF+xCkmxed2dnZ8gmmiEFDkTl70Oz l0jTJ03IpO0UgxOD+qjj/gwGrdNvrKy+/PdL2tpWissn3YGSv1AoeD+s+Y2bnzdDJWQG IYCLszQN0J2d0MHnSWZ43pKR+0gC3CL7+TLr5I//5EZWBRR3j4Da+vPT7JdgkcJ99CA4 T/no9mR7Mr9jTjtb+3f8xu7aurSCtUxRKR/B9qOuspJF2MAce99dnGYymQ6ZOstcdmMU LC1g== X-Gm-Message-State: APjAAAUEwDt4BwWwzmmYyPBSBFHnBxAz/ogSv/HnIuXHg2fGYN8cyLcP beqoADRzaXV0MhwXHKiDKyE= X-Google-Smtp-Source: APXvYqxUox8mSq/Cw3tQKyO9IZgorG66nBTOafEabWrimL+lxkcUtEg8sy0tG7QxrvbPPMpwMdQZrA== X-Received: by 2002:a7b:c76a:: with SMTP id x10mr22430960wmk.49.1580651643413; Sun, 02 Feb 2020 05:54:03 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id d22sm19857840wmd.39.2020.02.02.05.54.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2020 05:54:02 -0800 (PST) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Sun, 2 Feb 2020 14:54:01 +0100 (CET) X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp To: Juri Linkov Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char In-Reply-To: <87d0b3b0qk.fsf@mail.linkov.net> Message-ID: References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 29 Jan 2020, Juri Linkov wrote: >> - It is desirable to add a keybinding for it as well. Tentatively, I >> have used C-M-p in this patch; please, suggest me the one that fit better. > > Sorry, C-M-p can't be overridden because C-M-p is bound globally to > 'backward-list', so C-M-p should exit Isearch and run this command. I see. We might add the command without keybinding (adding a TODO comment in the code); we always can add a sensible binding later. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 02:21:40 2020 Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 07:21:40 +0000 Received: from localhost ([127.0.0.1]:45068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izF0G-0002dU-DP for submit@debbugs.gnu.org; Wed, 05 Feb 2020 02:21:40 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:52328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izF0D-0002dF-KS for 39154@debbugs.gnu.org; Wed, 05 Feb 2020 02:21:38 -0500 Received: by mail-wm1-f42.google.com with SMTP id p9so1213706wmc.2 for <39154@debbugs.gnu.org>; Tue, 04 Feb 2020 23:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=F4p/tiod28xEyIsG0iydXKaytQ2UCWR66moJc8+zvD0=; b=g5xaItPxBLb6+AR/d3FF0KCq8VymuFRHCMIXzrszhGOz3qdCvuDgi8lw6MQ/hGk1VM FdyihWAtomYGUhVT7rYXT8GC24L+k1yMu7JOPogPCFLmA1FW0h5tPoVpEe5O+//O1gi3 cz08HruM74Gxe8pnFuEaqX/LXHpTl2Yp7+PgtnLCfsVzONAGIbA4a3J//D4ofotYHgJX +IDpGo22DBl6bmmZjcSFaYJ2ZzlgUY3x3taCTAStyZGJxTYFviacrKz/15WEGOqn7RlT SG86Vr/K/8qeCex/KpUmJsPyR6f7vIL8OSDEtXf54+9+xD3IutHiInf5BOlJs7TvKv2l zl4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=F4p/tiod28xEyIsG0iydXKaytQ2UCWR66moJc8+zvD0=; b=aLnIHVGVgw+UrY+GOv4j45Lec3RUTs63aB+O15hdB+DTyhlJnYfVyWz49/YCBkLPU2 sYSB977tSFY617GkgZz2KiD6gmD9ZJWYBZzDyCsDPFXrkDBdGeNiI6YDa4d34iG9j/ll DPoOA1gQf5qHHPMtd48fmvX9h3hoQvdtnAxQXMJ6aFudr+3k+ATMXM0/5a2s6SG0jrZn coSfYKHz3fQgyMrHRfMyA06gtplK9a8a1fvPWICeYu2UUhaU+avo0ntMBgNw7ntGsZfb LleRwkGzMP7FQWSfx9KaEYhlckFZg/VDuH8M4sOaymHU2V+TFP4+7yfov6I3bkRvPn5j 46hg== X-Gm-Message-State: APjAAAWsx0FpUpcZnVQxlm72xu8NOIO5/59L5AiHWYji3rA2UgVa5b5j UNHMyQT2e53xpRMBq0grx00= X-Google-Smtp-Source: APXvYqxjSBOCEeK2Nb1EMsgekfUJiKpAn+Na0oJxHzmAe5wuhPsFYYs4Yi5KFSQuYkC367QJ8NCnFw== X-Received: by 2002:a1c:6588:: with SMTP id z130mr3869151wmb.0.1580887291875; Tue, 04 Feb 2020 23:21:31 -0800 (PST) Received: from dhcp154.suse.cz (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id s65sm7278891wmf.48.2020.02.04.23.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 23:21:31 -0800 (PST) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Wed, 5 Feb 2020 08:21:22 +0100 (CET) X-X-Sender: calancha@localhost.example.com To: Juri Linkov Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char In-Reply-To: <87d0b3b0qk.fsf@mail.linkov.net> Message-ID: References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri, do we have a similar command (as those pulling things into the search string) that pulls the region? I mean something as the following code (I find useful having a binding for it in isearch-mode-map): (defun my-isearch-yank-selection (beg end) "Pull selection into search string." (interactive (let ((region (and (use-region-p) (region-bounds)))) (unless region (user-error "No selected region")) (list (caar region) (cdar region)))) (isearch-yank-internal (lambda () (goto-char (if (= (point) beg) end beg)) (when select-active-regions (deactivate-mark)) (point)))) If we don't have it I can open a separated bug report for it. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 10:22:27 2020 Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 15:22:27 +0000 Received: from localhost ([127.0.0.1]:46559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izMVX-0006Yz-3r for submit@debbugs.gnu.org; Wed, 05 Feb 2020 10:22:27 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:49594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izMVV-0006Yk-Ki for 39154@debbugs.gnu.org; Wed, 05 Feb 2020 10:22:26 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 015FGH7c194910; Wed, 5 Feb 2020 15:22:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=P7jmO0p2iYfuR2fwEmaBN/XN4gFspK02lD2swXctJZQ=; b=RupPhjYPTyKtmykdP8E6vGfkqbJZ1cCYRYH83Tw2NKOzGtBRSvybRQOUkCQlCX075BUf GyvyzOYybjoIuZl1QvfWyUca80woG0tEV13reE8X+5jh3NwkhVzcjJT/4v4hWFvCCjqk T1iHRswWdn6z2iIPirnQxRYOq9c7/ze8hJI2dRWskfVMchtCKVoQfu8qxE1rjijPpQaf jDQy0TxL+en0ZNNnxJPuDzoj+DkYcJt3tBljrI17oz9FaU5s2lI5vx9CFYzHXOanefoD LxGiUP/qF5EcnjSMlpDGwk+kr6sQe7XjxubG6ousY+9qVMrJB/tdLi4x7Vl1PeiuGIRd 6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=P7jmO0p2iYfuR2fwEmaBN/XN4gFspK02lD2swXctJZQ=; b=fK0Qt5Qe3G2jG1HjmRZg3kakUucfh55YrdgFX0M4//od+BDVos41paJPeI5axd0V+8TM 36ipx/WybbnQchl9/4Tp/Z9IdslEETJs5VWQOzbeNLnvKmGQcIyIMmVzxkIDKIrI3pMw i8MfD7Do82pdW7gWnhYVXzxwOxrKtdg4kssas5ykgqx5HSfE/D3apuW8Q/6RLZgJYm4n zcfIEp/ou4Hy+vEEJbFBOwu28Wn+zn8nFuT6A40oUuXjYgwhhrQTf09GrTh5P21cWHoC zL6I8/ydP5kHp5g7GLktDZis8WTf+K71sX5G0VQEPTnxaKZ7xyz1+xJGi8b6qb/KzCnh dg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2xykbpbpky-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Feb 2020 15:22:19 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 015FEVqW031719; Wed, 5 Feb 2020 15:22:19 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2xykc3426m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Feb 2020 15:22:19 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 015FMHJ4009250; Wed, 5 Feb 2020 15:22:17 GMT MIME-Version: 1.0 Message-ID: <8229cde0-432c-4e0a-89a8-5b2c50bea46a@default> Date: Wed, 5 Feb 2020 07:22:17 -0800 (PST) From: Drew Adams To: Tino Calancha , Juri Linkov Subject: RE: bug#39154: 27.0.60; Use character history in zap-up-to-char References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4954.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9521 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=843 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002050121 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9521 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=923 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002050121 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > do we have a similar command (as those pulling things into the > search string) that pulls the region? Does `isearch-yank-kill' (`C-y') do what you want? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 14:46:17 2020 Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 19:46:17 +0000 Received: from localhost ([127.0.0.1]:46745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izQcr-0006LP-5l for submit@debbugs.gnu.org; Wed, 05 Feb 2020 14:46:17 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:37447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izQcq-0006LD-Hr for 39154@debbugs.gnu.org; Wed, 05 Feb 2020 14:46:16 -0500 Received: by mail-wr1-f51.google.com with SMTP id w15so4264880wru.4 for <39154@debbugs.gnu.org>; Wed, 05 Feb 2020 11:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=gdeQl3G3vEe3GuJEQLXJVWSr1OjpihbW320qjtwFPQw=; b=CryELTe8mGVhB0MYCYO+x4zWGAzrYT68rGXQ2REKvcJuYMcyqR2K6eAu/gONO145C7 dhxAmLvhA3MKWgSul/DplVie72DA+JgfWM+gqJ/Hu7Ra0C4z6NUVx1/gy/fdq8kNNPRW 2L/tV86TyzYYDnKdz5j6yxAjwXWo3fZZQ48goHsclYqmF4buJNUGBFKdfZzkGbJTcMBI wT6OYGA6DdCZunjNUQdm/dQiuLX4ODxvzVkOMgsBoJR+PthqR5VByNLgQ1mU5wU/9N56 Kv2HkV0XHwf/TFRwGcJ6sbHULBSY7RebxXFLd4iV6N/XHgnj1qS0tFW4X3YwX3v3ERC9 BALA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=gdeQl3G3vEe3GuJEQLXJVWSr1OjpihbW320qjtwFPQw=; b=WesHfDNfqTSr/jhI9zJLUsmrQVoUDDKxxKFYedFPgu0dZ3Dnmxi6TEOTNL0K0soRq5 UZZy6XLVNoGlfwfgVaQ9DoARu4HTj05Ws8UcqUnpjsfdIFSpZdjnC1d3jPX2qNKi4Cg/ 1HnRFwXI0KJQoeib5BnULVJc8x/tSop+unAHV77jIv1jvWSqBFUTTYMQK34vv89Cktii mit/IDNFTY64GgjiBIoShSfMhp2dNmEx01ZeXFvOofj26sP3gP2GWGTIy/Kj9UBsYlBP nao7Fs1J0Vl4avFqHD5QRNqqk0mWoe91Di13apOIbFR2vfcStpMorTzrGJ3eHqu2QEpE ki2Q== X-Gm-Message-State: APjAAAWZPVWPq8S6vyy92OyYyI/X6xSPFnjoTp5QFzXiZmcT+/qRcHvh 95wkiYrxtfRbOwGaa2btKL8= X-Google-Smtp-Source: APXvYqzz6pouf8frMD8w9rGjn6MiFPkJJlak4Vyyqxa5fpODhbdcMiPDY8sOdXQ/JADyf2H8VJsKKw== X-Received: by 2002:adf:f606:: with SMTP id t6mr120195wrp.304.1580931970636; Wed, 05 Feb 2020 11:46:10 -0800 (PST) Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id t81sm670535wmg.6.2020.02.05.11.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 11:46:09 -0800 (PST) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Wed, 5 Feb 2020 20:46:08 +0100 (CET) X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp To: Drew Adams Subject: RE: bug#39154: 27.0.60; Use character history in zap-up-to-char In-Reply-To: <8229cde0-432c-4e0a-89a8-5b2c50bea46a@default> Message-ID: References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> <8229cde0-432c-4e0a-89a8-5b2c50bea46a@default> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, 5 Feb 2020, Drew Adams wrote: >> do we have a similar command (as those pulling things into the >> search string) that pulls the region? > > Does `isearch-yank-kill' (`C-y') do what you want? That's true, in my case this works bec [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tino.calancha[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.51 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.51 listed in wl.mailspike.net] 1.1 MALFORMED_FREEMAIL Bad headers on message from free email service X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Juri Linkov , Tino Calancha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, 5 Feb 2020, Drew Adams wrote: >> do we have a similar command (as those pulling things into the >> search string) that pulls the region? > > Does `isearch-yank-kill' (`C-y') do what you want? That's true, in my case this works because I set `select-enable-primary' non-nil; quite similar, but not exactly the same thing: the command I am suggesting should work regardless on the user settings (ie, emacs -Q). From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 16:12:51 2020 Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 21:12:51 +0000 Received: from localhost ([127.0.0.1]:46873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izRyd-0008Rz-Ce for submit@debbugs.gnu.org; Wed, 05 Feb 2020 16:12:51 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:47716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izRya-0008Rk-RJ for 39154@debbugs.gnu.org; Wed, 05 Feb 2020 16:12:49 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 015L393q106576; Wed, 5 Feb 2020 21:12:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=PweRh4cAIZsXyespyH2rx+5pFfF5Z1KchZf2KYNbDeE=; b=K29nEkkNy2Xhh/pzCHOeU4gM/jSnRw/b4wkugynOpe9TIAAKNOup8emNxruCWQOMd6yH 13pcKv3+WAOaBrTANvpi6o78XEPQOgMKO8uQq4cjUyG7W9IMOK7PFRCLS/N1AQlt2CHa h1iJfltGjreGrY4PPP3bIBEunxXEDn+NHNtxm4wLIFYLYB/pe03+74PWRFErY40brHyQ Wsgc/SpsPzSn/gIp0O2XYLwRDCOAAsXh4XdnrovlQzw9U9QfssZm6YGrKT+/JKMei/x4 TJzszMiZtfWkYOod18vaEb9T3fGHUcuKoPlzaUdbyvOR4B3/Tv58k75m4kdZSEtar6bX mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=PweRh4cAIZsXyespyH2rx+5pFfF5Z1KchZf2KYNbDeE=; b=Rfwlj5JchgGafgalJBq0J6zaMomj/DRFtiMPnmLc+9oFhA3jazvS21B8U7HAqRUfOR1u sjChBvS8zd3pdUnpjMm00Na1TZVEN6w2aNW1GsZciW0ri1/Awiw2D3lPhohUlFoPY/Fv y0PnOvhX1OCCUF9mz4uKlO3Fn/eDqDu1QYqhD/31VD5HRHEgPF8bKkx7qpk5/1W1SVPs +v/o9cfXx+71RsGXL4GKupA20QQvu8RXpmo15PH/G8o2CC3v7DBkc9OQ8YQWG8ZKebas MRW0QYmK1tlM04f5l7hvomKAG/zgTqCtdGjcG3hdQGce0wwV8gmdJOOAlF+nRk+7IjDD RQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 2xykbpdr5t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Feb 2020 21:12:42 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 015L4BBG146219; Wed, 5 Feb 2020 21:10:42 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2xykc8mbr7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Feb 2020 21:10:41 +0000 Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 015LAf5Y015473; Wed, 5 Feb 2020 21:10:41 GMT MIME-Version: 1.0 Message-ID: <67e24ae9-ff87-4900-9bd3-453bcf993d10@default> Date: Wed, 5 Feb 2020 13:10:40 -0800 (PST) From: Drew Adams To: Tino Calancha Subject: RE: bug#39154: 27.0.60; Use character history in zap-up-to-char References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> <8229cde0-432c-4e0a-89a8-5b2c50bea46a@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4954.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9522 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002050162 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9522 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002050162 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > >> do we have a similar command (as those pulling things into the > >> search string) that pulls the region? > > > > Does `isearch-yank-kill' (`C-y') do what you want? > > That's true, in my case this works because I set > `select-enable-primary' non-nil; I kinda guessed that. (Me too: I have non-nil `select-enable-clipboard'. There's also `select-active-regions'.) > quite similar, but not exactly the same thing: > the command I am suggesting should work > regardless on the user settings (ie, emacs -Q). OK, but why? Do you really see a use case for a separate such thing for Isearch? If a user typically doesn't want mere selection to also copy to the `kill-ring' or primary or whatever, would she want a selection during Isearch to be available for yanking? I'm not objecting - just trying to understand why we'd want both `isearch-yank-kill' and what you propose. --- On the other hand, because the secondary selection is a different critter entirely from the primary (clipboard...), a separate Isearch yank command for it makes sense to me. (I have it as `isearch-yank-secondary', and I bind it to both `C-M-y' and `C-y 2' in Isearch. I bind `isearch-yank-kill' to `C-y C-y'.) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 17:41:03 2020 Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 22:41:03 +0000 Received: from localhost ([127.0.0.1]:46921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izTLz-00024e-Fw for submit@debbugs.gnu.org; Wed, 05 Feb 2020 17:41:03 -0500 Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:51425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izTLx-000240-IH for 39154@debbugs.gnu.org; Wed, 05 Feb 2020 17:41:02 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4977C20167; Wed, 5 Feb 2020 22:41:00 +0000 (UTC) Received: from pdx1-sub0-mail-a97.g.dreamhost.com (100-96-215-16.trex.outbound.svc.cluster.local [100.96.215.16]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6FA8D201ED; Wed, 5 Feb 2020 22:40:58 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a97.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); Wed, 05 Feb 2020 22:40:59 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Gusty-Daffy: 59f00d536d8724d2_1580942458905_2818454751 X-MC-Loop-Signature: 1580942458905:466817800 X-MC-Ingress-Time: 1580942458905 Received: from pdx1-sub0-mail-a97.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a97.g.dreamhost.com (Postfix) with ESMTP id B32407F10C; Wed, 5 Feb 2020 14:40:57 -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=s8KG0RbpjbxfzlDByv1SGy90x2c=; b= xaVZKg5ZfRGLPHFQqsVnwZdwWQ/uxzUwvKK33b4jbYbPmhVu33HbOkxgg6lpfQ91 IDOWHq39lSDj/uR1UUPOyx9vC+MIE58cDDLVhY1O9z3N+qSIJku4+U6kVmo3Q0Lg c2mJBFQle2cxOyb79sluXt/hJaxU0rhjZSYA2FzQ5rY= Received: from mail.jurta.org (m91-129-105-126.cust.tele2.ee [91.129.105.126]) (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-a97.g.dreamhost.com (Postfix) with ESMTPSA id EE8C67F109; Wed, 5 Feb 2020 14:40:55 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a97 From: Juri Linkov To: Tino Calancha Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char Organization: LINKOV.NET References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> <87d0b3b0qk.fsf@mail.linkov.net> Date: Wed, 05 Feb 2020 23:56:22 +0200 In-Reply-To: (Tino Calancha's message of "Wed, 5 Feb 2020 08:21:22 +0100 (CET)") Message-ID: <87v9okemhd.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrhedvgddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeeluddruddvledruddthedruddvieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddthedruddviedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehtihhnohdrtggrlhgrnhgthhgrsehgmhgrihhlrdgtohhm X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Juri, do we have a similar command (as those pulling things into the search > string) that pulls the region? > > I mean something as the following code (I find useful having a binding for > it in isearch-mode-map): > > (defun my-isearch-yank-selection (beg end) > "Pull selection into search string." > (interactive > (let ((region (and (use-region-p) (region-bounds)))) > (unless region (user-error "No selected region")) > (list (caar region) (cdar region)))) > (isearch-yank-internal > (lambda () (goto-char (if (= (point) beg) end beg)) > (when select-active-regions (deactivate-mark)) > (point)))) > > > If we don't have it I can open a separated bug report for it. Yes, please open a new separate bug report, and then also add links to the recent emacs-devel discussions: https://lists.gnu.org/archive/html/emacs-devel/2019-04/msg01125.html https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00003.html From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 07:28:50 2020 Received: (at 39154) by debbugs.gnu.org; 25 Sep 2020 11:28:50 +0000 Received: from localhost ([127.0.0.1]:42876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLluE-0001Zq-KA for submit@debbugs.gnu.org; Fri, 25 Sep 2020 07:28:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLluC-0001ZY-Cc for 39154@debbugs.gnu.org; Fri, 25 Sep 2020 07:28:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JxrDue+8xxocfp/B1lrHW1vDkFklJrzfCQLQdLOfLdU=; b=oeEklSLI4g4luY/CfwzjhUvyI4 YwP+i1CSPalPAQQOtr8SE/OJnx7YP+I+5H4uew+A+0PKY7yESiNDgtMLDheY8VTL8tgov4D3btC/G orzm/muWWhLdmvuDAsjGssxwHou+m0GE8uqI+lC4ydjNqxxJVSmtuYEWTRAhfnkWZxYA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLlu3-0001gR-1j; Fri, 25 Sep 2020 13:28:41 +0200 From: Lars Ingebrigtsen To: Tino Calancha Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char References: <87blr31bkn.fsf@calancha-pc.dy.bbexcite.jp> <877e1rexzi.fsf@mail.linkov.net> <87a76jm0u9.fsf@mail.linkov.net> <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> X-Now-Playing: Thievery Corporation's _The Mirror Conspiracy_: "The Mirror Conspiracy" Date: Fri, 25 Sep 2020 13:28:37 +0200 In-Reply-To: <87lfpyp9gk.fsf@calancha-pc.dy.bbexcite.jp> (Tino Calancha's message of "Thu, 23 Jan 2020 14:51:23 +0100") Message-ID: <87blhuqemy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Tino Calancha writes: > We have discussed two topics in this report, thus I am proposing the > following two commits: > > I) Adjust interactive specificaion for `zap-up-to-char': > > commit fe77bb9c2793fd7856c514f41e7a2ce4 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39154 Cc: 39154@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tino Calancha writes: > We have discussed two topics in this report, thus I am proposing the > following two commits: > > I) Adjust interactive specificaion for `zap-up-to-char': > > commit fe77bb9c2793fd7856c514f41e7a2ce4ccbc4f18 > Author: Tino Calancha > Date: Thu Jan 23 14:42:29 2020 +0100 > > Use character history in zap-up-to-char I've now applied this patch to Emacs 28; it seems "obviously correct" to do the same as zap-to-char here. > II) Add new command `isearch-yank-to-char'. > - It is desirable to add a keybinding for it as well. Tentatively, I > have used C-M-p in this patch; please, suggest me the one that fit better. There was pushback here on both the key binding and the utility of the command. I have no opinion on the latter; all those keybindings in isearch are kinda obscure to me, but they have lots of fans, I've noticed. So I'm closing this bug report; if this is something that should be explored further, opening a new bug report for this would be welcome. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 25 07:28:57 2020 Received: (at control) by debbugs.gnu.org; 25 Sep 2020 11:28:58 +0000 Received: from localhost ([127.0.0.1]:42879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLluK-0001a8-SP for submit@debbugs.gnu.org; Fri, 25 Sep 2020 07:28:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLluJ-0001Zj-6K for control@debbugs.gnu.org; Fri, 25 Sep 2020 07:28:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KUGh9smv6O9I0EQuvjQZA22h56xzwny5JxtsOF6nkto=; b=iMOWexVwONyq5I952e2JKshBSr Sb6A6SemmT/U7gCAw0TzYOnBcLjq0d5rnZOGL/Xa+C/pVgL54B4AI3tY3Wwnxq5wmDbVADgqGP7Cu 7vLx02RiXASX3VQ4w96IRtA6+Ks+C65sfQb1YcWhnbkhqYq5epXrPrWQI3y/3jjNe/oU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLluB-0001gb-EO for control@debbugs.gnu.org; Fri, 25 Sep 2020 13:28:49 +0200 Date: Fri, 25 Sep 2020 13:28:46 +0200 Message-Id: <87a6xeqemp.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #39154 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 39154 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 39154 quit From unknown Thu Jun 19 14:03:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Oct 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator