From mboxrd@z Thu Jan 1 00:00:00 1970 From: Drew Adams Subject: Re: Org Linking to Bookmark [+] Date: Wed, 11 Feb 2015 06:46:50 -0800 (PST) Message-ID: References: <8761b8acrq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLYZF-0005ze-JJ for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 09:47:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLYZA-0007QY-Fu for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 09:47:05 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:36940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLYZA-0007O3-9e for emacs-orgmode@gnu.org; Wed, 11 Feb 2015 09:47:00 -0500 In-Reply-To: <8761b8acrq.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: torys.anderson@gmail.com, orgmode list > (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,=20 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)