[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: snarf up text when at query-replace from: prompt
From: |
Dan Jacobson |
Subject: |
Re: snarf up text when at query-replace from: prompt |
Date: |
10 Jan 2003 12:03:55 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "RMS" == Richard Stallman <rms@gnu.org> writes:
RMS> You can copy the text with M-w then do query-replace-interactive and then
RMS> yank it with C-y.
SMR> ah, but setting that variable back and forth is quite inconvenient.
RMS> Sorry, I meant to type query-replace-regexp, not
RMS> query-replace-interactive. (M-/ must have found
RMS> query-replace-interactive.)
RMS> Is it clear now? You can use C-y to yank into the minibuffer
RMS> because it is an ordinary buffer and ordinary commands work.
Ah, but after enjoying C-s C-w C-w... one thirsts for other smart
commands that can snarf up text like that... that the cursor is in the
minibuffer is probably just a technical distraction. The smart
command would remember where the cursor used to be in the big buffer
above and still snarf.
The 'M-w first' method requires forethought where my so called smart
method would be usable right there...
compare {M-w plus old non interactive search}, vs. {isearch plus C-w}.
--
http://jidanni.org/ Taiwan(04)25854780