unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andy <jonesandy@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: Re: VHDL and Emacs (My experience)
Date: 14 May 2007 11:07:40 -0700	[thread overview]
Message-ID: <1179166060.895716.172560@w5g2000hsg.googlegroups.com> (raw)
In-Reply-To: <5arja8F2poodpU1@mid.individual.net>

On May 14, 12:07 pm, Mike Treseler <mike_trese...@comcast.net> wrote:
> Andy wrote:
> >  I had to set another couple of
> > options to get it to treat the selected text as "pending delete" too.
>
> I do that with query-replace.
>
> > I just wish there was a handy way to select a word or phrase in the
> > code and then search for other occurrences of it, with minimal
> > additional typing. There probably is, but I just don't know it yet!
>
> Like most tasks, it's easy once you know how to do it :)
>
> C-s
>
> Then type enough letters to see the instances light up.
>
> C-s again to jump to the next instance, etc.
>
>      -- Mike Treseler

Mike,

Thanks, but I already know how to use C-s (that's what I end up
using). Unfortunately, it still requires me to type the word (or
enough of it to be sufficiently unique) to start the search. I was
looking for something that allows me to select an existing word,
usually a port or signal/variable name (with mouse or keyboard), and
search for other occurrences of that word. Typing the entire word gets
tedious when using long names with specific suffixes, which require
that virtually the entire name be re-typed. When in I-search (C-s), a
C-v (paste) does not act like I typed it, but actually inserts the
copy buffer at the cursor location. It's like the C-v operation
overrides the fact that one is already in I-search mode.

Andy

  reply	other threads:[~2007-05-14 18:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 19:03 VHDL and Emacs (My experience) mans
2007-04-28 19:38 ` Mike Treseler
2007-04-29  0:30 ` Lennart Borgman (gmail)
     [not found] ` <mailman.2661.1177807020.7795.help-gnu-emacs@gnu.org>
2007-04-29 14:47   ` mans
2007-04-30  9:57     ` JK
2007-04-30 11:27       ` mans
2007-04-30 12:02         ` Lennart Borgman (gmail)
2007-04-30 15:59         ` JK
2007-05-10  8:58         ` mit.brooks
2007-04-30 19:47       ` Mike Treseler
2007-05-10 13:54     ` Robert Thorpe
2007-05-10  2:00 ` JussiJ
2007-05-10 11:33 ` Marcus Harnisch
2007-05-11 13:18   ` Andy
2007-05-11 19:31     ` Drew Adams
2007-05-14  8:07     ` Martin Thompson
2007-05-14 17:07     ` Mike Treseler
2007-05-14 18:07       ` Andy [this message]
2007-05-14 18:47         ` Drew Adams
2007-05-14 18:56           ` Lennart Borgman (gmail)
2007-05-14 19:02             ` Drew Adams
2007-05-14 18:51         ` Lennart Borgman (gmail)
2007-05-14 19:10         ` Mike Treseler
2007-05-15 13:28           ` Andy
2007-05-15 13:57             ` Seweryn Kokot
2007-05-15 14:01             ` Drew Adams
2007-05-15 16:49             ` Mike Treseler

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=1179166060.895716.172560@w5g2000hsg.googlegroups.com \
    --to=jonesandy@comcast.net \
    --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).