emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: torys.anderson@gmail.com, orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Org Linking to Bookmark [+]
Date: Wed, 11 Feb 2015 06:46:50 -0800 (PST)	[thread overview]
Message-ID: <c4c7d286-82a0-4dbf-9032-a5daf3531cd5@default> (raw)
In-Reply-To: <8761b8acrq.fsf@gmail.com>

>      (defun org-bmkp-store-link ()
>        "Store a link to a bmkp bookmark."
>        (when (memq major-mode '(bookmark-bmenu-mode))
>          (let* ((bookmark (org-bmkp-get-bookmark-name))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                          |
                                          v
                             (bookmark-bmenu-bookmark)

It looks like you are trying to get the name of the bookmark at
point in buffer `*Bookmark List*'.  To do that, just evaluate
(bookmark-bmenu-bookmark).

For Bookmark+, if you pass that function a non-nil arg then you
get the full bookmark record, not just the name.  (But anyway,
most bookmark functions accept either the name or the bookmark.)

(No relation with Org links, but you can also create simple, 
non-persistent bookmark links using `bmkp-insert-bookmark-link'.
Dunno whether that will help with what you want to do.
http://www.emacswiki.org/emacs/BookmarkPlus#BookmarkLinks)

  reply	other threads:[~2015-02-11 14:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11 11:49 Org Linking to Bookmark [+] Tory S. Anderson
2015-02-11 14:46 ` Drew Adams [this message]
2015-02-11 16:45   ` [DONE] " Tory S. Anderson
2015-02-11 21:28   ` Marcin Borkowski

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.orgmode.org/

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

  git send-email \
    --in-reply-to=c4c7d286-82a0-4dbf-9032-a5daf3531cd5@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=torys.anderson@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).