unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Martin Thompson <martin.j.thompson@trw.com>
To: help-gnu-emacs@gnu.org
Subject: Re: VHDL and Emacs (My experience)
Date: Mon, 14 May 2007 09:07:57 +0100	[thread overview]
Message-ID: <uodknx1ya.fsf@trw.com> (raw)
In-Reply-To: 1178889482.456786.95810@u30g2000hsc.googlegroups.com

Andy <jonesandy@comcast.net> writes:

> I use xemacs with cua mode and it handles most of the windows
> shortcuts (including C-c, C-x and C-v). I had to set another couple of
> options to get it to treat the selected text as "pending delete" too.
> 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!
>

Hi Andy,

Does C-s, M-y do what you want?

This calls up a search and pastes your previous copy into it.  I have
C-s bound to isearch-forward, which may be non-default.  C-s might be
a normal (non-incremental) search, in which case, C-s, C-y might do
the trick?

Alternatively, "M-x occur" is useful, it opens another window listing
which lines a particular phrase (well, regexp) occurs in.  If you
like it, bind a key for that too :-)

I also have a key bound to mark and copy the word/signalname/etc that
is under the cursor, all in one go. which is quite handy for these
sorts of things...

Cheers,
Martin

-- 
martin.j.thompson@trw.com 
TRW Conekt - Consultancy in Engineering, Knowledge and Technology
http://www.conekt.net/electronics.html

  parent reply	other threads:[~2007-05-14  8: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 [this message]
2007-05-14 17:07     ` Mike Treseler
2007-05-14 18:07       ` Andy
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=uodknx1ya.fsf@trw.com \
    --to=martin.j.thompson@trw.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).