unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Christoph Scholtes <cschol2112@googlemail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Key map translations
Date: Wed, 13 Apr 2011 09:07:44 +0200	[thread overview]
Message-ID: <BANLkTikRps_2YPLU=0po4FBPfhsj1PuedQ@mail.gmail.com> (raw)
In-Reply-To: <4DA51578.4010301@gmail.com>

2011/4/13 Christoph Scholtes <cschol2112@googlemail.com>:
> On 4/12/2011 8:53 PM, Sean Sieger wrote:
>
>> Christoph, does C-s C-w already do something similar to what your custom
>> function does?
>
> I use C-s C-w alot, but my function works differently.
>
>    this-is-a-long-word
>         ^
> With cursor here, C-s C-w will yank
>
>    this-is-a-long-word
>         **
>
> in the search string.
>
> C-S-s, at the same position, would yank
>
>    this-is-a-long-word
>    *******************
>
> i.e. the entire word at point.
>
> Then I can press C-s like normal to move to the next occurrence of the word.
> I think this is very handy and usually saves me a lot of C-s C-w C-w C-w
> etc.
>

This is something I've been wanting for a long time but never really
realized it. Is there really nothing similar in isearch already? Maybe
we could add it?

-- 
Deniz Dogan



  reply	other threads:[~2011-04-13  7:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12  1:32 Key map translations Christoph Scholtes
2011-04-12  3:35 ` Sean Sieger
2011-04-13  1:59   ` Christoph Scholtes
2011-04-13  2:53     ` Sean Sieger
2011-04-13  3:16       ` Christoph Scholtes
2011-04-13  7:07         ` Deniz Dogan [this message]
2011-04-13 23:06           ` isearch-yank-word-at-point (was Re: Key map translations) Christoph Scholtes
2011-04-14  5:21             ` Deniz Dogan
2011-04-27 17:35             ` Jambunathan K
2011-04-27 17:45               ` Drew Adams
2011-04-12  8:18 ` Key map translations Lennart Borgman
2011-04-13  1:59   ` Christoph Scholtes
2011-04-15  1:35     ` Stefan Monnier

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='BANLkTikRps_2YPLU=0po4FBPfhsj1PuedQ@mail.gmail.com' \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=cschol2112@googlemail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).