From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maindoor Newsgroups: gmane.emacs.help Subject: RE: simple requirement, so simple don't know how to search Date: Tue, 2 Feb 2010 00:35:20 -0800 (PST) Message-ID: <383101.73720.qm@web63003.mail.re1.yahoo.com> References: <4D54EB1F2FB441949B8AC66990EF7CF3@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1676481821-1265099720=:73720" X-Trace: ger.gmane.org 1265101097 19615 80.91.229.12 (2 Feb 2010 08:58:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 08:58:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: 'Mario Domenech Goulart' , Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 02 09:58:13 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 1NcEaK-0001zL-PE for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 09:58:13 +0100 Original-Received: from localhost ([127.0.0.1]:42704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcEaJ-0006aR-2P for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Feb 2010 03:58:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcEKl-000606-8k for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 03:42:07 -0500 Original-Received: from [199.232.76.173] (port=58716 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcEKk-0005yi-7d for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 03:42:06 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcEKi-0003xm-As for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 03:42:06 -0500 Original-Received: from web63003.mail.re1.yahoo.com ([69.147.96.214]:30651) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NcEKh-0003x1-Ua for help-gnu-emacs@gnu.org; Tue, 02 Feb 2010 03:42:04 -0500 Original-Received: (qmail 74177 invoked by uid 60001); 2 Feb 2010 08:35:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1265099721; bh=S5jeHH87agVotb2QQgx+yXid6bG6UAaYRcbWTqRhEvY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=5Nm+1mChQ/la5Ih9IPYEm/W3ZdN22e59a2tgs942cc9pERn2W2f9AZjYGQQMREYadn4NSB/Zbtno37PzcXUz27lrVEYzP/1DRyfRAqlF4OROpsGZlEiMopq0lxYfwUqCRh2ZaMGKSnI+pFAksxw7UbRCTQv6Nz6kb3UulpHIl6U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=GS/ArTXWp6oG0Cl1Fy//JRGan/A0beXu0kjsBbedQQPOPv7whq7y3KJw1Xj0Wmj6tA7hvM5GTJSsH0a5VBigyt2Ex3McIyIYP0KHmdgbzIkUS+OyShy6vZdaJDh99tovx1st8rrFsmYUMBUCx7CiMa2ymJHSwgsRFQuATpieqNM=; X-YMail-OSG: LQYCaeIVM1kiUmBgo8Tq7wo34UIGxtrSs9s0Tbdm6Gb08KjAxnTMu5qy6zrN35_1wm5H7nU4c7BkfjNazQBmtQy.d9YGnhFLTVKiApb6uZFHKC9uSrkF6zwCLwb0yzf9FhkUpdxHya4Vf2pRlGBt.UwEcnYVRIvF.eWQl8PO3Lk60GCTbu9jrt1uNZEZJA0Y_srTrRsM_LQdDPWWxzMfHzgxj8Sy3xR.hybuFpGXS2BPywAKktJURKqTN12U3b5.._L8A9_LrCV8Q69ergtP55c0SQmNKlfbBOXh7haD.3jk2CgHNB8dJephIHjjYspqo4gJGtbXr1vzHyv5WAdUwXo- Original-Received: from [61.12.14.5] by web63003.mail.re1.yahoo.com via HTTP; Tue, 02 Feb 2010 00:35:20 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 In-Reply-To: <4D54EB1F2FB441949B8AC66990EF7CF3@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:71617 Archived-At: --0-1676481821-1265099720=:73720 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, I'll be more verbose on my requirements this time. and looking at yo= ur=20 contributions to emacswiki, I can safely assume that such a thing does not = exist if you don't know the answer.=20 When browsing file1.c i come to 400th line in function fnA(). I want to rem= ember=20 this particular line. so I press F2.=A0 Then I goto file2.c, look=A0 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.=20 Now I want to browse through the marked places so I press F3 and F4 to go b= ack=20 and forth in the list that I marked. The list now contains two entries 400t= h line in=20 FnA() and 50 the line in FnB(). I can also limit the total number of entries in the list say to 20 or 50. S= o at most I will be able to remember 20 or 50 places after which the oldest entries will be= =20 overwritten.=20 Now registers and bookmarks will have tags associated with them and I don't= =20 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 ? Thanks for taking the time to reply. Maindoor. --- On Mon, 2/1/10, Drew Adams wrote: From: Drew Adams Subject: RE: simple requirement, so simple don't know how to search To: "'Maindoor'" , "'Mario Domenech Goulart'" Cc: help-gnu-emacs@gnu.org Date: Monday, February 1, 2010, 8:52 PM =A0=A0=A0 Thanks for the info, but registers limit the marked entries =A0=A0=A0 and I will not be able to cycle through them. So that is=20 =A0=A0=A0 out of the question. =A0=A0=A0 After looking around I found thing-cmds.el . The description =A0=A0=A0 looks good but I need to try it out. =A0=A0=A0 I'm looking for something like: =A0=A0=A0 press F2 -> put the current position where cursor is in a =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 list with limit of 20 entries. =A0=A0=A0 press F3 -> go forward in the list. =A0=A0=A0 press F4 -> go backward in the list. I wrote thing-cmds.el. Dunno if it will help you here - it's not clear to m= e what you really want to do. I thought previously that what you wanted was essentially bookmarks. =20 Now you say you just want to move through a list, that is, move forward a s= exp (list element) at a time. For that you can use `C-M-f', `C-M-b', and so on.= What you mean by your description of F2 is also unclear to me. People's replies to you have been all over the map, which is an indication = that maybe your requirement isn't well specified. ;-) Most replies take the need= to be to bounce around among predefined positions. Hence people have suggested marks (and global marks), registers, and bookmarks, all of which let you do that. =0A=0A=0A --0-1676481821-1265099720=:73720 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry, I'll be more verbose on my requirement= s this time. and looking at your
contributions to emacswiki, I can safe= ly assume that such a thing does not exist
if you don't know the answer.=
When browsing file1.c i come to 400th line in function fnA(). I want t= o 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 v= isit line 50 in fnB(). I want to remember this, so I press F2. and so on. <= br>Now I want to browse through the marked places so I press F3 and F4 to g= o back
and forth in the list that I marked. The list now contains two e= ntries 400th line in
FnA() and 50 the line in FnB().
I can also limi= t the total number of entries in the list say to 20 or 50. So at most I wil= l
be able to remember 20 or 50 places after which the oldest entries wil= l be
overwritten.
Now registers and bookmarks will have tags associa= ted with them and I don't
want to use tags. I just want to browse throu= gh the remembered entries.

Will things-cmd.el serve the purpose ? or= is there some other utility ?

Thanks for taking the time to reply.<= br>Maindoor.

--- On Mon, 2/1/10, Drew Adams <drew.adams@ora= cle.com> wrote:

From: Drew Adams= <drew.adams@oracle.com>
Subject: RE: simple requirement, so simpl= e don't know how to search
To: "'Maindoor'" <sanjeevfiles@yahoo.com&g= t;, "'Mario Domenech Goulart'" <mario.goulart@gmail.com>
Cc: help-= gnu-emacs@gnu.org
Date: Monday, February 1, 2010, 8:52 PM

    Thanks for the info, but registers lim= it the marked entries
    and I will not be able to cycle through them. So that is
    out of the question.=
    After looking around I found thing-cmds.el . The des= cription
    looks good but I need to try it out.
&nbs= p;   I'm looking for something like:
    press = F2 -> put the current position where cursor is in a
    &nb= sp;             list with limit of 20 entries= .
    press F3 -> go forward in the list.
 &nb= sp;  press F4 -> go backward in the list.

I wrote thing-cmds= .el. Dunno if it will help you here - it's not clear to me
what you real= ly want to do. I thought previously that what you wanted was
essentially= bookmarks.

Now you say you just want to move through a list, that = is, move forward a sexp
(list element) at a time. For that you can use `= C-M-f', `C-M-b', and so on. What
you mean by your description of F2 is also unclear to me.

People's replies to you have been all ove= r the map, which is an indication that
maybe your requirement isn't well= specified. ;-) Most replies take the need to
be to bounce around among = predefined positions. Hence people have suggested
marks (and global mark= s), registers, and bookmarks, all of which let you do
that.


<= br>

=0A=0A --0-1676481821-1265099720=:73720--