From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: associating bookmarks with paragraphs Date: Thu, 06 Dec 2018 08:39:15 -0800 Message-ID: <87zhtiwqx8.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544114362 32266 195.159.176.226 (6 Dec 2018 16:39:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 16:39:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 17:39:18 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUwgH-0008Gl-4u for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 17:39:17 +0100 Original-Received: from localhost ([::1]:41883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUwiN-0008Kh-PI for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 11:41:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUwgR-0007OT-I7 for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 11:39:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUwgO-0007kV-A7 for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 11:39:27 -0500 Original-Received: from [195.159.176.226] (port=38999 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUwgO-0007jm-2f for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 11:39:24 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gUweF-0005Pd-64 for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 17:37:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:3JQ+rUoqTBlk5Zfx18xDxg/xkfY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118893 Archived-At: Michael Maurer 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