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: Wed, 05 Feb 2020 23:56:22 +0200 Organization: LINKOV.NET Message-ID: <87v9okemhd.fsf@mail.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="62625"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (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 Wed Feb 05 23:42:16 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 1izTN8-000G83-I1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 23:42:14 +0100 Original-Received: from localhost ([::1]:57850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izTN7-0006cJ-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 17:42:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56440) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izTMy-0006bu-Mq for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 17:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izTMx-0005IA-2i for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 17:42:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izTMw-0005GV-Gy for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 17:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izTMw-00026M-F1 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 17:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2020 22:42:02 +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.15809424637985 (code B ref 39154); Wed, 05 Feb 2020 22:42:02 +0000 Original-Received: (at 39154) by debbugs.gnu.org; 5 Feb 2020 22:41:03 +0000 Original-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 Original-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 Original-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) Original-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 Original-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 Original-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= Original-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 In-Reply-To: (Tino Calancha's message of "Wed, 5 Feb 2020 08:21:22 +0100 (CET)") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrhedvgddtudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeeluddruddvledruddthedruddvieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddthedruddviedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehtihhnohdrtggrlhgrnhgthhgrsehgmhgrihhlrdgtohhm 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:175717 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. 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