From: Stephen Berman <stephen.berman@gmx.net>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: List line numbers for easy navigation
Date: Thu, 18 Apr 2024 22:32:08 +0200 [thread overview]
Message-ID: <87o7a6fm47.fsf@gmx.net> (raw)
In-Reply-To: <jMDTrpue1BcyHOZW-pM7_zILqdVEIpaV4aE7WVJ1LJ0FdedhcilZ6TfYYk0yCQ2GMC4HLkgtDZflRnhFJUZf_Egint1DP4IAmgTXPOSza2g=@protonmail.com> (Heime's message of "Thu, 18 Apr 2024 20:23:17 +0000")
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?
> 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
next prev parent reply other threads:[~2024-04-18 20:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 19:38 List line numbers for easy navigation Heime
2024-04-18 20:14 ` Stephen Berman
2024-04-18 20:23 ` Heime
2024-04-18 20:32 ` Stephen Berman [this message]
2024-04-18 20:38 ` Heime
2024-04-18 20:54 ` Stephen Berman
2024-04-18 21:02 ` Heime
2024-04-18 21:16 ` Stephen Berman
2024-04-18 22:06 ` Heime
2024-04-18 23:10 ` Heime
2024-04-19 4:52 ` Yuri Khan
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7a6fm47.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).