From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: New to Bookmark+: Bookmarks for reading Date: Tue, 03 Feb 2015 15:23:21 -0500 Message-ID: <878ugehhhi.fsf@gmail.com> References: <871tm7jglo.fsf@gmail.com> <87fvamg6in.fsf@wmi.amu.edu.pl> <9f819653-1a42-4d4d-bc77-593abe9414d0@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422995024 32705 80.91.229.3 (3 Feb 2015 20:23:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 20:23:44 +0000 (UTC) Cc: emacs list , Marcin Borkowski To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 21:23:43 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIk0c-00080n-K0 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 21:23:42 +0100 Original-Received: from localhost ([::1]:33060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIk0c-0008LC-0u for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 15:23:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIk0O-0008L6-RU for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 15:23:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIk0L-0005io-8T for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 15:23:28 -0500 Original-Received: from mail-yh0-x22e.google.com ([2607:f8b0:4002:c01::22e]:62060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIk0L-0005iV-3X for help-gnu-emacs@gnu.org; Tue, 03 Feb 2015 15:23:25 -0500 Original-Received: by mail-yh0-f46.google.com with SMTP id c41so19480479yho.5 for ; Tue, 03 Feb 2015 12:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=TTzRjB92j1oE9usHKtz3tTT3WekrFyDvOHrh1oXz+RA=; b=qypKMzbHUeeAiUMddjpxeP7YmTFcIUrSWx152nYASEK3HxPeG2NAEOLEkCZBWpGPee XrNq4GeHuPaCOcvGdpyhM+J7ufCbvWtixvhxpcKH4rry6OaqVil9lw3oWOUIRVdrtOuG +a8VGpZS/Olbi95gI6KbK8zShNhd9Z+s23noMnEKKQTe979jF9x0AEuor9HB5PRZ6Xyr uuA1LPlC2Fm6hc+LLAOlvwGHOT+nmVEIV82dKX29J4/LV7cHz/RmtT9/Fqdiye0E0WaD qhJWfLhdmwP9dgNAfR6ZIM4kyTSDt12WvZNjm0jdDjTkyWZCkrHRfr4Ri2vyhdw/8NSt 4kDA== X-Received: by 10.170.224.3 with SMTP id q3mr12476737ykf.60.1422995003969; Tue, 03 Feb 2015 12:23:23 -0800 (PST) Original-Received: from localhost.localdomain (lawn-143-215-49-162.lawn.gatech.edu. [143.215.49.162]) by mx.google.com with ESMTPSA id d63sm218827yhd.23.2015.02.03.12.23.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Feb 2015 12:23:22 -0800 (PST) In-Reply-To: <9f819653-1a42-4d4d-bc77-593abe9414d0@default> (Drew Adams's message of "Tue, 3 Feb 2015 11:58:19 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102461 Archived-At: I think you took a different meaning (although your post is very helpful). My usage is as follows: Suppose I've begun reading a lengthy file in a buffer. I bookmark my place to return later: my bookmark is on line 100. Later, I visit the bookmark and resume at line 100. I read for a while and now want to bookmark my place at line 500. With vanilla bookmarks, I would just use `C-x r m`, hit "enter" to use the suggestion (current bookmark), and next time I'll resume at line 500. As per your suggestion I've tested out methods in BM+. However, simply resetting (`C-x r m`) DOES lose any tag information, while the name-and-location commands not only force me through extra menus, but seem geared for changes of hard drive location, not line/point location. Is there a simple way to update a bookmark's point location in Bookmark+? Drew Adams writes: >> > I'm making the transition from vanilla bookmarks to bookmark+ and am >> > realizing that BM+ has a completely different level of usage. I look forward >> > to learning it, but for now I'm struggling with the basics. In particular, >> > since I use bookmarks for actual reading, how do I update the bookmark of >> > the current buffer to my new location (within the buffer)? That used to be >> > the default with `C-x r m`, but now that things like tags and information >> > are involved, I'm worried about wiping all of that out every time I >> > "replace" a bookmark. >> > >> > Searchign through the bkmp lists doesn't reveal anything for updating. How >> > do I simply (and easily) update the file location the bookmark points to? >> >> +1: I'd also like this. (And I'm also looking at bookmark+, though >> I had a bit of hiatus.) > > (Replying to Marcin's message, since I haven't (yet) received Tory's > original message, for some reason.) > > Bookmark+ uses the same relocation mechanism as vanilla bookmark.el. > Well, it uses a better one ;-), but the idea is essentially the same. > > And no, you should not lose any bookmark data when a bookmark is > relocated, whether that relocation is automatic (e.g., when you set > a bookmark or jump to a bookmark) or on-demand (see below). > > (See also option `bmkp-save-new-location-flag'.) > > But as always, it doesn't hurt to first try out whatever you are > asking about on a single bookmark that you create just for a test > and can then toss. Consider too that I might misunderstand your > question ;-). You didn't specify in detail just what you are doing. > > In general, do not do anything that affects something important > without first trying it out on something not so important. > > Wrt relocating bookmarks on demand: If you hit `?' in *Bookmark List* > then you see this in the middle of the *Help* page. Note the first > three lines. Outside *Bookmark List*, use `C-x p r' (same as `r'). > > ,---- > | Modify, Delete Bookmarks > | ------------------------ > | > | (See also `Tags', next.) > | > | r - Rename or relocate bookmark > | M-r - Relocate bookmark > | M-R - Relocate marked bookmarks > | T e - Edit bookmark's tags > | C-u a - Edit bookmark's annotation > | e - Edit internal Lisp record for bookmark > | E - Edit internal Lisp records of marked bookmarks (`C-u': all) > | C-M-x - Toggle temporary/savable status of bookmark > | M-X - Toggle temporary/savable status of marked bookmarks > | M-x bmkp-delete-all-temporary-bookmarks - Delete all temp bookmarks > | x - Delete (visible) bookmarks flagged `D' > | D - Delete (visible) bookmarks marked `>' > `---- > > --- > > And while on the subject of being careful, consider backing up your > bookmark file from time to time. The Bookmark+ doc for option > `bookmark-version-control' says this: > > ,---- > | bookmark-version-control is a variable defined in `bookmark+-1.el'. > | Its value is t > | > | Documentation: > | Whether to make numbered backups of your bookmarking files. > | This includes bookmark files such as `bookmark-default-file' and also > | Bookmark+ files `bmkp-bmenu-commands-file' and > | `bmkp-bmenu-state-file'. > | > | The option can have value `nospecial', `t', `nil', or `never' . Value > | `nospecial' means to use the `version-control' value. The others have > | the same meanings as for option `version-control'. > | > | Use value `t' if your bookmarks are important to you. Consider also > | using numeric backups. See also nodes `Backup Names' and `Backup > | Deletion' in the Emacs manual. > | > | You can customize this variable. > `---- > > Note that the default value of this option is `t' in Bookmark+, > but it is `nospecial' in vanilla Emacs. > > You might also be interested in reading the thread for Emacs bug > #12507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12507.