From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: one shortcut next occurrence search Date: Thu, 23 Dec 2010 14:50:55 +0100 Message-ID: <87hbe4mwcg.fsf@member.fsf.org> References: <30512323.post@talk.nabble.com> <4CCD7DCBAE5F44F5864A81B1C70096F8@us.oracle.com> <30519989.post@talk.nabble.com> <87vd2kops3.fsf@member.fsf.org> <30520429.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293112311 16516 80.91.229.12 (23 Dec 2010 13:51:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 13:51:51 +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:51:47 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 1PVla7-0001r1-54 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 14:51:47 +0100 Original-Received: from localhost ([127.0.0.1]:43634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVla6-00083R-Lx for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Dec 2010 08:51:46 -0500 Original-Received: from [140.186.70.92] (port=44425 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVlZX-00082a-4q for help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:51:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PVlZW-0006ve-4U for help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:51:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PVlZV-0006vM-SY for help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 08:51:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PVlZU-0001L4-AJ for help-gnu-emacs@gnu.org; Thu, 23 Dec 2010 14:51:08 +0100 Original-Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Dec 2010 14:51:08 +0100 Original-Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Dec 2010 14:51:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:7qq23sjO2/+tUHvrxMSK3SZI8os= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:77828 Archived-At: zismad writes: Hi Zvika, > 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 For me, doing M-x highlight-symbol-next when point is on the first line's ex1-ex2 jumps to the ex1-ex2 in line 3, just as you want it to behave. BTW: I'd pretty much advise against binding that to F3 (or F4), because these are bound to macre creation and call by default. Those are much too useful features to override their bindings. Bye, Tassilo