From: Drew Adams <drew.adams@oracle.com>
To: Michael Maurer <maurer.michael@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: associating bookmarks with paragraphs
Date: Tue, 11 Dec 2018 08:03:02 -0800 (PST) [thread overview]
Message-ID: <e534bd6b-2db8-4bb4-bd66-0ac8fda8f4a2@default> (raw)
In-Reply-To: <CAH-0+bA3rVROyBC51=yXyrBrXsfvexuX_yuR1G6VtBMsb0N1bA@mail.gmail.com>
> Yes, this is what I was aiming at. I'll give it a try.
> Just one question: How is Emacs able to determine the relevancy of
> context? I guess this only works with writing code? Doesn't this go
> into semantics? I'm probably mistaking "context" for something far
> more complicated here.
As I said, the bookmark records text immediately before and after the bookmarked position (or positions, if recording a region).
When you jump to a bookmarked position, it looks for a match of the recorded text that was before and after the recorded position. If a match is found elsewhere (not at the recorded position) then it jumps to that found match position and asks you if you want to record that (i.e., update the bookmarked position and context text).
prev parent reply other threads:[~2018-12-11 16:03 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
2018-12-06 16:42 ` Drew Adams
2018-12-11 8:03 ` Michael Maurer
2018-12-11 16:03 ` Drew Adams [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e534bd6b-2db8-4bb4-bd66-0ac8fda8f4a2@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=maurer.michael@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.