help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple requirement, so simple don't know how to search


From: Richard Riley
Subject: Re: simple requirement, so simple don't know how to search
Date: Tue, 02 Feb 2010 13:24:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Maindoor <sanjeevfiles@yahoo.com> 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 "<f8>")   'bm-next)
| (global-set-key (kbd "<M-f8>") 'bm-previous)
| (global-set-key (kbd "<C-f8>") 'bm-toggle)
`----

I dont think there is a 20 or 50 maximum however.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]