Article View: comp.lang.vhdl
Article #458Re: VHDL and Emacs (My experience)
From: Martin Thompson
Date: Mon, 14 May 2007 08:07
Date: Mon, 14 May 2007 08:07
34 lines
2194 bytes
2194 bytes
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
Technical Details
Message-ID:
<uodknx1ya.fsf@trw.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<OTMYh.92377$ne6.27711@fe1.news.blueyonder.co.uk> <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com>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!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Martin Thompson <martin.j.thompson@trw.com> Newsgroups: comp.lang.vhdl,gnu.emacs.help Subject: Re: VHDL and Emacs (My experience) Followup-To: comp.lang.vhdl Date: Mon, 14 May 2007 09:07:57 +0100 Organization: TRW Conekt Lines: 34 Message-ID: <uodknx1ya.fsf@trw.com> References: <OTMYh.92377$ne6.27711@fe1.news.blueyonder.co.uk> <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net oUjWBJGkcH1z5i3xaijxHQGLULs9UecHvya5ksvjT1CuIsDvs= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt) Cancel-Lock: sha1:jAgcCwvRC3hv7PhAu6mil+NB48k=