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

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

Re: associating bookmarks with paragraphs


From: Eric Abrahamsen
Subject: Re: associating bookmarks with paragraphs
Date: Thu, 06 Dec 2018 08:39:15 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Maurer <maurer.michael@gmail.com> writes:

> as far as I know, the bookmark option is tied to a line number. is it
> possible to associate
> it with a paragraph, so when you cut and paste the paragraph to a
> different position in
> your document, the bookmark moves with it?

Bookmarks are implemented with markers, which do move with the
surrounding text. Did you try your cut and paste test with a marker in a
paragraph? The marker should move with it.

When you save them, they're saved as absolute positions in the file, but
even then some textual context is saved with them, to maximize the
changes that the bookmark can be restored correctly.

Eric




reply via email to

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