From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: associating bookmarks with paragraphs
Date: Thu, 06 Dec 2018 08:39:15 -0800 [thread overview]
Message-ID: <87zhtiwqx8.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAH-0+bCEOaUfAts1Ro6i-C7pb5tgz02s__+F3ZcxutSCJkKNcw@mail.gmail.com
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
next prev parent reply other threads:[~2018-12-06 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-06 8:02 associating bookmarks with paragraphs Michael Maurer
2018-12-06 16:39 ` Eric Abrahamsen [this message]
2018-12-06 16:42 ` Drew Adams
2018-12-11 8:03 ` Michael Maurer
2018-12-11 16:03 ` Drew Adams
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=87zhtiwqx8.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).