From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: links-9.0 v3 Date: Fri, 8 Jul 2016 18:04:08 -0400 Message-ID: References: <87oa6afmeu.fsf@saiph.selenimh> <87k2gxg8qm.fsf@saiph.selenimh> <8737nlfqdv.fsf@saiph.selenimh> <87y45bvm12.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114b30e256dae3053726fb6f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLdsd-00042N-B1 for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 18:04:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLdsZ-000107-2k for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 18:04:14 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:36029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLdsY-0000zt-Oj for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 18:04:10 -0400 Received: by mail-wm0-x232.google.com with SMTP id f126so26544388wma.1 for ; Fri, 08 Jul 2016 15:04:09 -0700 (PDT) In-Reply-To: <87y45bvm12.fsf@saiph.selenimh> 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" To: John Kitchin , "emacs-orgmode@gnu.org" --001a114b30e256dae3053726fb6f Content-Type: text/plain; charset=UTF-8 K On Friday, July 8, 2016, Nicolas Goaziou wrote: > John Kitchin > writes: > > > Here are the new revisions that implement the previous solution you > > suggested and that incorporate the commit merges as far as I can see. > > Thank you. > > > +(defcustom org-link-parameters > > + '(("file" :complete 'org-file-complete-link) > > #'org-file-complete-link > > > + ("file+emacs" :follow (lambda (path) (org-open-file path '(4)))) > > + ("file+sys" :follow (lambda (path) (org-open-file path 'system))) > > This will ignore so-called "option" part, e.g. > > [[file:test.org::3]] > > :follow functions need to extract it somehow. Good catch. I can probably do that tomorrow. Thanks! > > Once this issue is resolved, I think the whole change-set can be pushed > to master, AFAIC. > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --001a114b30e256dae3053726fb6f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable K

On Friday, July 8, 2016, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
John Kitchin <jkitchin@andrew.c= mu.edu> writes:

> Here are the new revisions that implement the previous solution you > suggested and that incorporate the commit merges as far as I can see.<= br>
Thank you.

> +(defcustom org-link-parameters
> +=C2=A0 '(("file"=C2=A0 :complete 'org-file-complete= -link)

#'org-file-complete-link

> +=C2=A0 =C2=A0 ("file+emacs" :follow (lambda (path) (org-ope= n-file path '(4))))
> +=C2=A0 =C2=A0 ("file+sys" :follow (lambda (path) (org-open-= file path 'system)))

This will ignore so-called "option" part, e.g.

=C2=A0 [[file:test.org::3]]

:follow functions need to extract it somehow.

Good catch. I can probably do that tomorrow. Thanks!=C2=A0<= /div>

Once this issue is resolved, I think the whole change-set can be pushed
to master, AFAIC.


--
John
=
-----------------------------------
Professor John Kitchin=C2=A0
= Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon= University
Pittsburgh, PA 15213
412-268-7803

--001a114b30e256dae3053726fb6f--