From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Fast linking to files in private git repos through a hyperlink Date: Thu, 26 Apr 2012 16:00:14 +0200 Message-ID: <87zk9yh9u9.fsf@gnu.org> References: <87k41awr1m.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNPE8-0005Ao-TT for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 09:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNPDy-0007pA-UF for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 09:59:20 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:35359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNPDy-0007os-L7 for emacs-orgmode@gnu.org; Thu, 26 Apr 2012 09:59:10 -0400 Received: by werj55 with SMTP id j55so1026773wer.0 for ; Thu, 26 Apr 2012 06:59:08 -0700 (PDT) In-Reply-To: (Dov Grobgeld's message of "Sun, 22 Apr 2012 00:19:10 +0300") 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: Dov Grobgeld Cc: emacs-orgmode Hi Dov, Dov Grobgeld writes: > Thanks for the link. I wasn't aware of that package. I see that I > have a conflict in syntax as I used double colon for indicating the > git repo while org-git-link.el used double colon for search pattern. The double colon is standard in Org for indicating the search pattern, please use it this way too. > Thus to join the packages I need to change the syntax. Which of the > following would make more sense: > >    git:@repo:file-in-repo::pattern-in-file >    git://repo/file-in-repo::pattern-in-file > > or perhaps some other syntax? Suggestions? git:[user@?][repo-server]:[git-repo-itself]::[search-pattern] When user is set, the repo-server URL won't have a protocol (git will be used by default as a protocol.) When user is not set, the repo-server may contain git:// or http:// as the protocol. But I didn't test your packing, so I'm maybe shooting in the dark for this syntax suggestion. HTH, -- Bastien