From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Newsgroups: gmane.emacs.help Subject: Re: VHDL and Emacs (My experience) Date: 14 May 2007 11:07:40 -0700 Organization: http://groups.google.com Message-ID: <1179166060.895716.172560@w5g2000hsg.googlegroups.com> References: <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com> <5arja8F2poodpU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1179167589 8242 80.91.229.12 (14 May 2007 18:33:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 May 2007 18:33:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 14 20:33:06 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HnfLw-0002Lz-93 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 20:33:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnfTi-0005cm-My for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 14:41:02 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!w5g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: comp.lang.vhdl,gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 192.91.171.42 Original-X-Trace: posting.google.com 1179166067 7769 127.0.0.1 (14 May 2007 18:07:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-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 Original-Xref: shelby.stanford.edu comp.lang.vhdl:66796 gnu.emacs.help:148390 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43983 Archived-At: On May 14, 12:07 pm, Mike Treseler 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