From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zismad Newsgroups: gmane.emacs.help Subject: Re: one shortcut next occurrence search Date: Thu, 23 Dec 2010 05:26:50 -0800 (PST) Message-ID: <30520429.post@talk.nabble.com> References: <30512323.post@talk.nabble.com> <4CCD7DCBAE5F44F5864A81B1C70096F8@us.oracle.com> <30519989.post@talk.nabble.com> <87vd2kops3.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293110898 9905 80.91.229.12 (23 Dec 2010 13:28:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 13:28:18 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 23 14:28:14 2010 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.69) (envelope-from ) id 1PVlCX-0004BE-Or for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 14:28:14 +0100 Original-Received: from localhost ([127.0.0.1]:47316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVlCK-0007ls-J4 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 08:27:12 -0500 Original-Received: from [140.186.70.92] (port=36853 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVlC2-0007jc-6w for Help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:26:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVlBz-0001JM-J3 for Help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:26:53 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:39585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVlBz-0001J7-FE for Help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:26:51 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PVlBy-000701-8R for Help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 05:26:50 -0800 In-Reply-To: <87vd2kops3.fsf@member.fsf.org> X-Nabble-From: zismad@gmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:77824 Archived-At: thanks a lot Tassilo this is almost exactly as i wanted it to be. is there anyway where i could search next my makred word example if i mark ex1-ex2 from line 1 and I hit f3 i want to it to jump to line 3 and not line2 as it does now : ex1-ex2 ex3 ex1 ex1-ex2 thanks again Zvika Tassilo Horn-5 wrote: > > zismad writes: > > Hi! > >> I want the the marked word to be found next when I hit f3. maybe >> you'll call me lazy but `C-s C-w' is too much for me ... > > I use highlight-symbol.el for that (and many other things): > > http://nschum.de/src/emacs/highlight-symbol/ > > That's my config: > > (require 'highlight-symbol) > (global-set-key [f8] 'highlight-symbol-at-point) > (global-set-key [(control f8)] 'highlight-symbol-next) > (global-set-key [(meta f8)] 'highlight-symbol-prev) > > So F8 highlights any occurrence of the current word (symbol), C-F8 moves > to the next occurrence, M-F8 to the previous occurrence. > > Bye, > Tassilo > > > > -- View this message in context: http://old.nabble.com/one-shortcut-next-occurrence-search-tp30512323p30520429.html Sent from the Emacs - Help mailing list archive at Nabble.com.