all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maindoor <sanjeevfiles@yahoo.com>
To: 'Mario Domenech Goulart' <mario.goulart@gmail.com>,
	Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: simple requirement, so simple don't know how to search
Date: Tue, 2 Feb 2010 00:35:20 -0800 (PST)	[thread overview]
Message-ID: <383101.73720.qm@web63003.mail.re1.yahoo.com> (raw)
In-Reply-To: <4D54EB1F2FB441949B8AC66990EF7CF3@us.oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2727 bytes --]

Sorry, I'll be more verbose on my requirements this time. and looking at your 
contributions to emacswiki, I can safely 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 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 ?

Thanks for taking the time to reply.
Maindoor.

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

From: Drew Adams <drew.adams@oracle.com>
Subject: RE: simple requirement, so simple don't know how to search
To: "'Maindoor'" <sanjeevfiles@yahoo.com>, "'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 limit 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 description
    looks good but I need to try it out.
    I'm looking for something like:
    press F2 -> put the current position where cursor is in a
                  list with limit of 20 entries.
    press F3 -> go forward in the list.
    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 really 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 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.






      

[-- Attachment #2: Type: text/html, Size: 3333 bytes --]

  reply	other threads:[~2010-02-02  8:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 12:39 simple requirement, so simple don't know how to search Maindoor
2010-01-28 12:50 ` Mario Domenech Goulart
2010-02-01  5:47   ` Maindoor
2010-02-01 15:22     ` Drew Adams
2010-02-02  8:35       ` Maindoor [this message]
2010-02-02 12:24         ` Richard Riley
2010-02-02 15:50         ` Drew Adams
2010-02-03  4:50           ` Maindoor
     [not found]         ` <mailman.589.1265113565.14305.help-gnu-emacs@gnu.org>
2010-02-02 19:07           ` rustom
2010-02-02 20:36             ` Richard Riley
2010-02-03  4:50               ` Maindoor
2010-02-03  7:32                 ` Drew Adams
2010-02-03  7:47                 ` Richard Riley
     [not found]                 ` <mailman.636.1265183360.14305.help-gnu-emacs@gnu.org>
2010-02-03 16:57                   ` rustom
2010-02-03 17:58                     ` Richard Riley
2010-02-04  6:03                       ` Maindoor
2010-01-28 13:22 ` Richard Riley
2010-01-28 14:36   ` Tassilo Horn
2010-01-28 17:36     ` Richard Riley
2010-01-29  7:56       ` Tassilo Horn
2010-01-30  9:19         ` tomas
2010-01-29  8:14       ` Thierry Volpiatto
     [not found] <mailman.680.1265263392.14305.help-gnu-emacs@gnu.org>
2010-02-05 10:03 ` rustom
     [not found] <mailman.354.1264682403.14305.help-gnu-emacs@gnu.org>
2010-02-18  9:27 ` Stefan Kamphausen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=383101.73720.qm@web63003.mail.re1.yahoo.com \
    --to=sanjeevfiles@yahoo.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mario.goulart@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.