emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: use bookmark/boomark+ to boomark org-id's ?
Date: Fri, 17 Jul 2015 13:16:05 +0530	[thread overview]
Message-ID: <moabrf$ue3$1@ger.gmane.org> (raw)
In-Reply-To: <CAOQHXPodAzHpcPPKkgkPxz1Dvu9c5DQhe6tEEv8T=wPB9J3otw@mail.gmail.com>

On Friday 17 July 2015 11:42 AM, Xebar Saram wrote:
> Hi all
> 
> After discussing this with the use boomark+ (who dosent use org..go figure
> ;-)) he suggested i take this question to the orgmode list. Does anyone
> use/know how to bookmark orgmode ids and not just location in a file? i
> find that bookmarking locations is very un-reliable as i keep adding new
> content to my org files and the position of headers keep changing
> 
> is there any other alternatives people use to quickly jump to specific org
> files and locations?
> 
> best regards
> 
> Z
> 

org-id, IIRC, has a cache of some sort.  Just look around
org-id-update-id-locations.

----------------------------------------------------------------

A typical bookmark, has the following structure.

(#1="Re_use_bookmarkboomark_to_boomark_org-ids__1437118847606.eml"
    (filename .
"/tmp/Re_use_bookmarkboomark_to_boomark_org-ids__1437118847606.eml")
    (front-context-string . "org-id, IIRC, ha")
    (rear-context-string . "ards\n> \n> Z\n> \n\n")
    (position . 800)
    (defaults "-" #1#))


You have to modify `bookmark-make-record-function', so that it a
returns a record that contains just what you want: filename and
front-context-string (which will hold the ID).  No need to store the
the position in the record.

----------------------------------------------------------------

I still think that bookmark is not what you want.  I have trouble
imagining how your system works.

      parent reply	other threads:[~2015-07-17  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17  6:12 use bookmark/boomark+ to boomark org-id's ? Xebar Saram
2015-07-17  6:23 ` Vaidheeswaran C
2015-07-17  7:46 ` Vaidheeswaran C [this message]

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='moabrf$ue3$1@ger.gmane.org' \
    --to=vaidheeswaran.chinnaraju@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).