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

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

Re: List line numbers for easy navigation


From: Heime
Subject: Re: List line numbers for easy navigation
Date: Thu, 18 Apr 2024 20:38:44 +0000

On Friday, April 19th, 2024 at 8:32 AM, Stephen Berman <stephen.berman@gmx.net> 
wrote:

> On Thu, 18 Apr 2024 20:23:17 +0000 Heime heimeborgia@protonmail.com wrote:
> 
> > On Friday, April 19th, 2024 at 8:14 AM, Stephen Berman
> > stephen.berman@gmx.net wrote:
> > 
> > > On Thu, 18 Apr 2024 19:38:53 +0000 Heime heimeborgia@protonmail.com wrote:
> > > 
> > > > I want to have a list of line numbers so that I can easily navigate to 
> > > > them
> > > > in the current buffer.
> > > 
> > > (number-sequence 1 (count-lines (point-min) (point-max)))
> > > 
> > > Steve Berman
> > 
> > I would like to have a command that adds the current row to the list,
> 
> 
> Is the current row the line at point? If so, it's already in the list,
> since the list contains all line numbers in the current buffer, isn't
> that what you wanted?
> 
> > then have a command to move from one to the next, etc.
> 
> 
> To move from one line to the next? C-n. If that's not what you want, can
> you rephrase?

To move cursor from one row in the list to the next row in the list.
 
> > I frequently
> > have to navigate quickly between different parts of a buffer and need
> > some good commands to do this.
> 
> What specifically do you mean by different parts?
> 
> Steve Berman

Suppose I am writing some code at row 1358 and want to check on two functions,
one starting at row 355, the other at row 589.  I want to go to the row and add
the current row to the list (Will do this three times).  Then have a command to 
navigate between them.  Call command te get me to the respective row. 






reply via email to

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