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: How to mark and search text in less keystrokes ? Date: Thu, 2 Oct 2008 08:42:48 -0700 Message-ID: <007401c924a5$85ca9620$c2b22382@us.oracle.com> References: <48E4DA74.80007@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222962195 25447 80.91.229.12 (2 Oct 2008 15:43:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 15:43:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'Lennart Borgman \(gmail\)'" , "'Christiano Farina Haesbaert'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 17:44:13 2008 connect(): Connection refused 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 1KlQLc-0006dg-1N for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 17:44:12 +0200 Original-Received: from localhost ([127.0.0.1]:57445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlQKZ-0004Ff-2Y for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 11:43:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlQKJ-0004Fa-9V for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 11:42:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlQKG-0004FO-RQ for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 11:42:49 -0400 Original-Received: from [199.232.76.173] (port=42861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlQKG-0004FL-LR for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 11:42:48 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:62955) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlQKG-0003YJ-4S for help-gnu-emacs@gnu.org; Thu, 02 Oct 2008 11:42:48 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m92FgiDa017655; Thu, 2 Oct 2008 10:42:44 -0500 Original-Received: from acsmt703.oracle.com (acsmt703.oracle.com [141.146.40.81]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m92FgiYN012898; Thu, 2 Oct 2008 09:42:44 -0600 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 02 Oct 2008 08:42:43 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <48E4DA74.80007@gmail.com> Thread-Index: Ackkm1mvwMjjun6jRKGuKXU36jG0zgACZVww X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/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:58299 Archived-At: > > How can I search for the occurences of the word myfunc at the same > > buffer AND mark my position where I was, so I can iterate > > through the results and get back to my original spot at any time. One reply: > To go back use C-g Another reply, saying the same thing: > C-g will quit search and return point to where you started But C-g takes you back to the beginning only if you never exited Isearch (e.g. with RET). I thought the OP meant that he exited search and later wanted to get back to the search start. For that, just use `C-x C-x'.