emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] use bookmark/boomark+ to boomark org-id's ?


From: Vaidheeswaran C
Subject: Re: [O] use bookmark/boomark+ to boomark org-id's ?
Date: Fri, 17 Jul 2015 13:16:05 +0530
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0

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.










reply via email to

[Prev in Thread] Current Thread [Next in Thread]