From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bigfaceworm@hotmail.com (bigfaceworm) Newsgroups: gmane.emacs.help Subject: looking for: query-replace with a "yank-word" binding ala isearch Date: 7 Nov 2002 20:24:37 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: <2bd747c7.0211072024.1619ac84@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036730262 21538 80.91.224.249 (8 Nov 2002 04:37:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 04:37:42 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18A0to-0005bE-00 for ; Fri, 08 Nov 2002 05:37:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18A0uV-0006ez-00; Thu, 07 Nov 2002 23:38:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 134.134.136.2 Original-X-Trace: posting.google.com 1036729477 3790 127.0.0.1 (8 Nov 2002 04:24:37 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 8 Nov 2002 04:24:37 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106831 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3385 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3385 All, 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))) any help? Thank BFW