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

Previous Next

Package: emacs;

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

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

Severity: wishlist

Found in version 27.0.60

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

Bug is archived. No further changes may be made.

Full log


Message #35 received at 39154 <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <tino.calancha <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 39154 <at> debbugs.gnu.org, Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#39154: 27.0.60; Use character history in zap-up-to-char
Date: Wed, 5 Feb 2020 08:21:22 +0100 (CET)

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.




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

Previous Next


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