From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: simple requirement, so simple don't know how to search Date: Tue, 02 Feb 2010 13:24:03 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <4D54EB1F2FB441949B8AC66990EF7CF3@us.oracle.com> <383101.73720.qm@web63003.mail.re1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265113982 2039 80.91.229.12 (2 Feb 2010 12:33:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 12:33:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 02 13:33:00 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 1NcHwC-0004fG-1X for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 13:33:00 +0100 Original-Received: from localhost ([127.0.0.1]:35345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcHwA-0004HW-SF for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 07:32:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcHpT-0002UN-PN for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 07:26:03 -0500 Original-Received: from [199.232.76.173] (port=42305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcHpT-0002U0-7J for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 07:26:03 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcHpS-0008RP-03 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 07:26:03 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:57657) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcHpR-0008Qh-2H for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 07:26:01 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NcHnt-0007Zc-UO for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 13:24:25 +0100 Original-Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 13:24:25 +0100 Original-Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 13:24:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.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:71618 Archived-At: Maindoor writes: > When browsing file1.c i come to 400th line in function fnA(). I want to remember > this particular line. so I press F2. Then I goto file2.c, look and I don't want to do anything. Then I go to file3.c, and visit line 50 in > fnB(). I want to remember this, so I press F2. and so on. > Now I want to browse through the marked places so I press F3 and F4 to go back > and forth in the list that I marked. The list now contains two entries 400th line in > FnA() and 50 the line in FnB(). > I can also limit the total number of entries in the list say to 20 or 50. So at most I will > be able to remember 20 or 50 places after which the oldest entries will be > overwritten. > Now registers and bookmarks will have tags associated with them and I don't > want to use tags. I just want to browse through the remembered entries. > > Will things-cmd.el serve the purpose ? or is there some other utility > ? I am pretty sure that *almost* exactly what you want is what I posted before. Find bm-toggle. ,---- | (autoload 'bm-toggle "bm" "Toggle bookmark in current buffer." t) | (autoload 'bm-next "bm" "Goto bookmark." t) | (autoload 'bm-previous "bm" "Goto previous bookmark." t) | (global-set-key (kbd "") 'bm-next) | (global-set-key (kbd "") 'bm-previous) | (global-set-key (kbd "") 'bm-toggle) `---- I dont think there is a 20 or 50 maximum however.