Article View: comp.lang.vhdl
Article #460Re: VHDL and Emacs (My experience)
From: Andy
Date: Mon, 14 May 2007 18:07
Date: Mon, 14 May 2007 18:07
36 lines
2816 bytes
2816 bytes
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
Technical Details
Message-ID:
<1179166060.895716.172560@w5g2000hsg.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!w5g2000hsg.googlegroups.com!not-for-mailReferences:
<OTMYh.92377$ne6.27711@fe1.news.blueyonder.co.uk> <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com> <5arja8F2poodpU1@mid.individual.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089ad,658185d15bd9585d X-Google-Thread: 103b8b,658185d15bd9585d X-Google-Attributes: gid1089ad,gid103b8b,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!w5g2000hsg.googlegroups.com!not-for-mail From: Andy <jonesandy@comcast.net> Newsgroups: comp.lang.vhdl,gnu.emacs.help Subject: Re: VHDL and Emacs (My experience) Date: 14 May 2007 11:07:40 -0700 Organization: http://groups.google.com Lines: 37 Message-ID: <1179166060.895716.172560@w5g2000hsg.googlegroups.com> References: <OTMYh.92377$ne6.27711@fe1.news.blueyonder.co.uk> <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com> <5arja8F2poodpU1@mid.individual.net> NNTP-Posting-Host: 192.91.171.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1179166067 7769 127.0.0.1 (14 May 2007 18:07:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 14 May 2007 18:07:47 +0000 (UTC) In-Reply-To: <5arja8F2poodpU1@mid.individual.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: w5g2000hsg.googlegroups.com; posting-host=192.91.171.42; posting-account=v3yn4A0AAAC7jfVAU7q7tBbLOkQ3ibix