From: Kevin Rodgers <kevinr@ihs.com>
Subject: Re: looking for: query-replace with a "yank-word" binding ala isearch
Date: Fri, 08 Nov 2002 10:10:22 -0700 [thread overview]
Message-ID: <3DCBEFFE.2030202@ihs.com> (raw)
In-Reply-To: 2bd747c7.0211072024.1619ac84@posting.google.com
bigfaceworm wrote:
> I was wondering if anyone had a yank-word binding for query-replace
> similar to the C-w binding for isearch-forward.
>
> I tried defining my own, but because the control switches to the
> minibuffer, I'm not sure how to find the buffer in which to do:
>
> (buffer-substring (point) (progn (forward-word 1) (point)))
Try wrapping that in
(save-excursion
(set-buffer (window-buffer minibuffer-scroll-window))
...)
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
next prev parent reply other threads:[~2002-11-08 17:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 4:24 looking for: query-replace with a "yank-word" binding ala isearch bigfaceworm
2002-11-08 17:10 ` Kevin Rodgers [this message]
2002-11-11 16:36 ` looking for: query-replace with a yank-word " Ehud Karni
2002-11-11 22:21 ` looking for: query-replace with a "yank-word" " bigfaceworm
2002-11-12 17:46 ` Kevin Rodgers
2002-11-13 17:53 ` bigfaceworm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DCBEFFE.2030202@ihs.com \
--to=kevinr@ihs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).