From: dkcombs@panix.com (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) [thread overview]
Message-ID: <eblu5b$9ie$1@reader2.panix.com> (raw)
In-Reply-To: mailman.4806.1154614770.9609.help-gnu-emacs@gnu.org
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
prev parent reply other threads:[~2006-08-13 1:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 3:40 I can't yank regexp for/into isearch-forward-regexp's pmpt David Combs
2006-08-03 14:18 ` Kevin Rodgers
2006-08-04 14:05 ` Kevin Rodgers
2006-08-04 16:37 ` Drew Adams
[not found] ` <mailman.4806.1154614770.9609.help-gnu-emacs@gnu.org>
2006-08-13 1:10 ` David Combs [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eblu5b$9ie$1@reader2.panix.com' \
--to=dkcombs@panix.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.