From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#39154: 27.0.60; Use character history in zap-up-to-char Date: Wed, 5 Feb 2020 08:21:22 +0100 (CET) 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> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69225"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.21 (LSU 202 2017-01-01) Cc: 39154@debbugs.gnu.org, Tino Calancha To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 05 08:22:19 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 1izF0t-000Hrd-7t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 08:22:19 +0100 Original-Received: from localhost ([::1]:42240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izF0s-0000Ci-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 02:22:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55822) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izF0h-0000Cb-25 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 02:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izF0c-0004PJ-4e for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 02:22:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izF0b-0004Os-VP for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 02:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izF0b-0002eL-QH for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 02:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2020 07:22:01 +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.158088730010144 (code B ref 39154); Wed, 05 Feb 2020 07:22:01 +0000 Original-Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 07:21:40 +0000 Original-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 Original-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 Original-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) Original-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) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@localhost.example.com In-Reply-To: <87d0b3b0qk.fsf@mail.linkov.net> 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:175687 Archived-At: 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.