From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-git-link does not support locational information within file Date: Fri, 11 Feb 2011 18:17:58 +0100 Message-ID: <87zkq2trqx.fsf@gnu.org> References: <877hdh2m7a.fsf@univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58018 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnwd4-00030W-V7 for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 12:17:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnwd3-0007H2-E2 for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 12:17:58 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:59537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnwd3-0007Go-5N for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 12:17:57 -0500 Received: by ewy27 with SMTP id 27so1401918ewy.0 for ; Fri, 11 Feb 2011 09:17:56 -0800 (PST) In-Reply-To: <877hdh2m7a.fsf@univie.ac.at> (Gregor Kappler's message of "Thu, 03 Feb 2011 16:04:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gregor Kappler Cc: emacs-orgmode@gnu.org Hi Gregor, Gregor Kappler writes: > 2. use git versioned files transparently, i.e. org-git-store-link > should support search (org-ids and text files) in linked git > revisions of files. I've look into this. We could code things to add a search string: [[git:~/my.org::master@{2011-02-07}::Org code]] ^^ ... but I'm reluctant to change the general syntax of links, even if that's just for git links. > 3. define an interactive function that can update the revision > information of a link at mark to the current branch head of the > file (so I can update all links to new FS folder structure.) You mean update [[git:~/my.org::master@{2011-02-07}::Org code]] to [[git:~/my.org::master@{2011-02-11}::Org code]] ? Can you provide an explicit example? > I am still lame at elisp - so my implementation skills are > limited. With the great work in org-git-link all backend stuff seems > there, only needing more glue. Any hints how to achieve this would be > very welcome! org-git-link.el is quite readable, and I'd welcome ideas on how to extend it to fulfill your wishes without extending Org's link syntax too much... Thanks! -- Bastien