all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs list <help-gnu-emacs@gnu.org>,
	Marcin Borkowski <mbork@wmi.amu.edu.pl>
Subject: Re: New to Bookmark+: Bookmarks for reading
Date: Tue, 03 Feb 2015 15:23:21 -0500	[thread overview]
Message-ID: <878ugehhhi.fsf@gmail.com> (raw)
In-Reply-To: <9f819653-1a42-4d4d-bc77-593abe9414d0@default> (Drew Adams's message of "Tue, 3 Feb 2015 11:58:19 -0800 (PST)")

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 <drew.adams@oracle.com> 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.



  reply	other threads:[~2015-02-03 20:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 12:59 New to Bookmark+: Bookmarks for reading Tory S. Anderson
2015-02-03 19:05 ` Marcin Borkowski
2015-02-03 19:58   ` Drew Adams
2015-02-03 20:23     ` Tory S. Anderson [this message]
2015-02-03 22:08       ` Drew Adams
2015-02-08 17:35         ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ugehhhi.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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.