help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't yank regexp for/into isearch-forward-regexp's pmpt


From: David Combs
Subject: Re: I can't yank regexp for/into isearch-forward-regexp's pmpt
Date: Sun, 13 Aug 2006 01:10:03 +0000 (UTC)

In article <mailman.4806.1154614770.9609.help-gnu-emacs@gnu.org>,
Kevin Rodgers  <ihs_4664@yahoo.com> wrote:
>
>You might be able to do what you want with a little hacking:
>
>(defun isearch-yank-kill-as-regexp ()
>   "Like `isearch-yank-kill', except during regular expression search:
>Search for the text that matches the string (as a regexp) instead of
>searching for the literal string itself."
>   (let ((isearch-regexp nil))
>     (isearch-yank-kill)))
>
>(define-key isearch-mode-map "\M-z" 'isearch-yank-kill-as-regexp)
>

Thanks! -- I'll give it a try and report back (don't hold breath,
though).

Thanks also for the explanations.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]