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

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

Re: Large text files - no line numbers ?


From: jonetsu
Subject: Re: Large text files - no line numbers ?
Date: Fri, 6 Dec 2019 13:56:01 -0500

On Fri, 06 Dec 2019 13:16:10 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> Line numbers shouldn't affect bookmarks at all, so this is likely a
> red herring.

Could very well be.  The main subject is about the display of L??.
Then I noticed that bookmarks on that file did not work.  So maybe by
having the correct line number being displayed ...  It's all
assumption.  Maybe I should have started another thread in retrospect.

> How do you set the bookmarks?  How do you "go back" to them?
> What happens between the two operations?  Where do they go instead of
> where you wanted (they are not supposed to go back to "a line" but to
> a buffer position instead)?

C-x r m for setting.  I always give a name to the bookmark.  Then
bookmark-bmenu-list to show them and cursor or mouse to select one.

I always delete the existing ~/emacs.d/boomarks file before doing any
tests.  Or erase the current ones if they were not saved.

In the 733K log file, I go to line # 423 and set a bookmark named
'test1'.  Then I scroll further down to line # 536 and set a 'test2'
bookmark.  Jumping to the first bookmark will jump to the last one.
Jumping to the last one will jump tot he last one.

Setting a 3rd bookmark named 'test3' at line # 762 makes all bookmarks
jump to that line/location.

Do you think there's a possibility that some other lisp code in
the .emacs file could interfere with the bookmarks behaviour ?
Through time I have copy/pasted some useful snippets found here and
there.




reply via email to

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