From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: VHDL and Emacs (My experience) Date: Fri, 11 May 2007 12:31:04 -0700 Message-ID: References: <1178889482.456786.95810@u30g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178911957 21855 80.91.229.12 (11 May 2007 19:32:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 19:32:37 +0000 (UTC) To: "Andy" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 21:32:33 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 1Hmaqs-0000dw-A2 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 21:32:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmayK-0006kf-3i for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 15:40:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hmay3-0006kN-55 for help-gnu-emacs@gnu.org; Fri, 11 May 2007 15:39:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hmay1-0006kA-3K for help-gnu-emacs@gnu.org; Fri, 11 May 2007 15:39:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hmay0-0006k7-Uk for help-gnu-emacs@gnu.org; Fri, 11 May 2007 15:39:52 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HmaqY-0006nN-7C for help-gnu-emacs@gnu.org; Fri, 11 May 2007 15:32:10 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l4BJVvmO004700; Fri, 11 May 2007 13:31:57 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l4BIxLnt009338; Fri, 11 May 2007 13:31:56 -0600 Original-Received: from 141.144.72.255 by acsmt351.oracle.com with ESMTP id 2692473351178911868; Fri, 11 May 2007 12:31:08 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1178889482.456786.95810@u30g2000hsc.googlegroups.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:43905 Archived-At: > 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! You were writing about XEmacs, which I'm not very familiar with. But in GNU Emacs, at least as far back as version 20, you can use `M-y' during incremental search to search for the text in the region. So, just "select a word or phrase in the code" in whatever way you like (e.g. mouse), and use `M-y' during isearch to append that text to the search pattern.