unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: jump to end of search substring
Date: Wed, 18 Feb 2009 20:49:14 -0700	[thread overview]
Message-ID: <gnikre$6hv$1@ger.gmane.org> (raw)
In-Reply-To: <c6694726-f233-4850-aab3-7405dab228c1@g1g2000pra.googlegroups.com>

jrwats wrote:
> When you search for a substring in a word such as 'eLong' in
> someLongStringVarName
> the cursor is placed at the beginning of the search predicate (in the
> example that'd be the first 'e')

Not normally.  Both of these leave point between "someLong" and before
"StringName":

C-s eLong RET
M-: (search-forward "eLong")

Does emacs -Q give the same same behavior you describe?

> Is there a commadn that can set the cursor to the end of the substring
> searched for (the 'g' or 'V' in the example)?

-- 
Kevin Rodgers
Denver, Colorado, USA





      reply	other threads:[~2009-02-19  3:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18  2:12 jump to end of search substring jrwats
2009-02-19  3:49 ` Kevin Rodgers [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

  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='gnikre$6hv$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@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.
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).