From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: VHDL and Emacs (My experience) Date: Mon, 14 May 2007 20:51:26 +0200 Message-ID: <4648AFAE.1000503@gmail.com> References: <86r6povroi.fsf@harnisch.dyndns.org> <1178889482.456786.95810@u30g2000hsc.googlegroups.com> <5arja8F2poodpU1@mid.individual.net> <1179166060.895716.172560@w5g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179168711 12530 80.91.229.12 (14 May 2007 18:51:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 May 2007 18:51:51 +0000 (UTC) Cc: 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:51:48 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 1Hnfe3-00073A-AY for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 20:51:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hnflp-000639-Jg for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 14:59:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hnflb-0005yy-Oc for help-gnu-emacs@gnu.org; Mon, 14 May 2007 14:59:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnflZ-0005yZ-CO for help-gnu-emacs@gnu.org; Mon, 14 May 2007 14:59:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnflZ-0005yW-6H for help-gnu-emacs@gnu.org; Mon, 14 May 2007 14:59:29 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hnfdl-0002Rx-QV for help-gnu-emacs@gnu.org; Mon, 14 May 2007 14:51:26 -0400 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:65029 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1Hnfdj-0005Do-8D for help-gnu-emacs@gnu.org; Mon, 14 May 2007 20:51:24 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 In-Reply-To: <1179166060.895716.172560@w5g2000hsg.googlegroups.com> X-Antivirus: avast! (VPS 000740-0, 2007-05-13), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1Hnfdj-0005Do-8D. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Hnfdj-0005Do-8D 995955565e04e90966bf298f02b3e584 X-detected-kernel: Linux 2.6? (barebone, rare!) 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:43985 Archived-At: Andy wrote: > 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. You can use M-y to yank (ie paste) text into the C-s search string.