From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 9 May 2017 09:21:20 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f6668261747054f0d2ecd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7tqb-0003rv-KA for emacs-orgmode@gnu.org; Mon, 08 May 2017 21:21:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7tqa-0008Sp-MB for emacs-orgmode@gnu.org; Mon, 08 May 2017 21:21:53 -0400 Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:38748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7tqa-0008SW-GT for emacs-orgmode@gnu.org; Mon, 08 May 2017 21:21:52 -0400 Received: by mail-it0-x22e.google.com with SMTP id e65so48544376ita.1 for ; Mon, 08 May 2017 18:21:51 -0700 (PDT) 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: Org-mode --001a113f6668261747054f0d2ecd Content-Type: text/plain; charset=UTF-8 Here is the original discussion we disscusses. https://github.com/jkitchin/org-ref/issues/433 And Here is the patch: #+BEGIN_SRC diff modified lisp/org.el @@ -9730,7 +9730,7 @@ active region." (setq sfuns (delq nil (mapcar (lambda (f) - (let (fs) (if (funcall f) (push f fs)))) + (let (fs) (if (and (stringp f) (funcall f)) (push f fs)))) (org-store-link-functions))) sfunsn (mapcar (lambda (fu) (symbol-name (car fu))) sfuns)) (or (and (cdr sfuns) #+END_SRC [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --001a113f6668261747054f0d2ecd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Here is the original discussion we disscusses.= =C2=A0https://gi= thub.com/jkitchin/org-ref/issues/433

And Here is the patch:

#+BEGIN_SRC diff
modified =C2=A0 lisp/org.el
@@ -9730,7 +973= 0,7 @@ active region."
=C2=A0 =C2=A0 =C2=A0 (setq sfuns
=
=C2=A0= = =C2=A0 (delq
=C2=A0 =C2=A0 =C2=A0nil (mapcar (lambda (f)
- =C2=A0(l= et (fs) (if (funcall f) (push f fs))))
+ =C2=A0(let (fs) (if (and (str= ingp f) (funcall f)) (push f fs))))
=C2=A0 (org-store-link-functions)))=
=C2=A0 =C2=A0 sfunsn (mapcar (lambda (fu) (symbol-name (car fu))) sfuns= ))
=C2=A0 =C2=A0 =C2=A0 (or (and (cdr sfuns)
#+END_SRC
=

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint = =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.gi= thub.io/
--001a113f6668261747054f0d2ecd-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 09 May 2017 08:41:55 +0200 Message-ID: <877f1q5y6k.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7yqN-00054d-8f for emacs-orgmode@gnu.org; Tue, 09 May 2017 02:42:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7yqM-0007CH-Fm for emacs-orgmode@gnu.org; Tue, 09 May 2017 02:41:59 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:44299) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7yqM-0007Bt-9Z for emacs-orgmode@gnu.org; Tue, 09 May 2017 02:41:58 -0400 In-Reply-To: (numbchild@gmail.com's message of "Tue, 9 May 2017 09:21:20 +0800") 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: "numbchild@gmail.com" Cc: Org-mode Hello, "numbchild@gmail.com" writes: > Here is the original discussion we disscusses. > https://github.com/jkitchin/org-ref/issues/433 > > And Here is the patch: > > #+BEGIN_SRC diff > modified lisp/org.el > @@ -9730,7 +9730,7 @@ active region." > (setq sfuns > (delq > nil (mapcar (lambda (f) > - (let (fs) (if (funcall f) (push f fs)))) > + (let (fs) (if (and (stringp f) (funcall f)) (push f fs)))) > (org-store-link-functions))) The change above doesn't make sense, does it? If F is a string, it cannot be funcall'ed. Since `org-store-link-functions' only contains functions, this patch is basically skipping the whole variable. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 9 May 2017 16:07:58 +0800 Message-ID: References: <877f1q5y6k.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113f6668666e7d054f12dc08" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d80C7-0001Ya-9Y for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:08:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d80C6-0000aO-3F for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:08:31 -0400 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:35954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d80C5-0000a5-UV for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:08:30 -0400 Received: by mail-it0-x22a.google.com with SMTP id o5so748046ith.1 for ; Tue, 09 May 2017 01:08:29 -0700 (PDT) In-Reply-To: <877f1q5y6k.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode --001a113f6668666e7d054f12dc08 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =E2=80=8BIs there any other possible potential functions will have relation= with this issue?=E2=80=8B [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > Here is the original discussion we disscusses. > > https://github.com/jkitchin/org-ref/issues/433 > > > > And Here is the patch: > > > > #+BEGIN_SRC diff > > modified lisp/org.el > > @@ -9730,7 +9730,7 @@ active region." > > (setq sfuns > > (delq > > nil (mapcar (lambda (f) > > - (let (fs) (if (funcall f) (push f fs)))) > > + (let (fs) (if (and (stringp f) (funcall f)) (push f fs)))) > > (org-store-link-functions))) > > The change above doesn't make sense, does it? > > If F is a string, it cannot be funcall'ed. Since > `org-store-link-functions' only contains functions, this patch is > basically skipping the whole variable. > > Regards, > > -- > Nicolas Goaziou > --001a113f6668666e7d054f12dc08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=E2=80=8BIs there any other possible potential= functions will have relation with this issue?=E2=80=8B

[st= ardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
= IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitt= er:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 = CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaz= iou <mail@nicolasgoaziou.fr> wrote:
Hello,

"numbchild@gmail.com" = <numbchild@gmail.com> writ= es:

> Here is the original discussion we disscusses.
> https://github.com/jkitchin/org-ref/issues/4= 33
>
> And Here is the patch:
>
> #+BEGIN_SRC diff
> modified=C2=A0 =C2=A0lisp/org.el
> @@ -9730,7 +9730,7 @@ active region."
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(setq sfuns
>=C2=A0 =C2=A0 =C2=A0(delq
>=C2=A0 =C2=A0 =C2=A0 nil (mapcar (lambda (f)
> -=C2=A0 (let (fs) (if (funcall f) (push f fs))))
> +=C2=A0 (let (fs) (if (and (stringp f) (funcall f)) (push f fs))))
>=C2=A0 =C2=A0(org-store-link-functions)))

The change above doesn't make sense, does it?

If F is a string, it cannot be funcall'ed. Since
`org-store-link-functions' only contains functions, this patch is
basically skipping the whole variable.

Regards,

--
Nicolas Goaziou

--001a113f6668666e7d054f12dc08-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 9 May 2017 16:06:42 +0800 Message-ID: References: <877f1q5y6k.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c05a232d51160054f12d728 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d80As-0000In-Nt for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d80Ar-0007nw-ED for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:07:14 -0400 Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231]:33819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d80Ar-0007nh-6F for emacs-orgmode@gnu.org; Tue, 09 May 2017 04:07:13 -0400 Received: by mail-io0-x231.google.com with SMTP id k91so65317141ioi.1 for ; Tue, 09 May 2017 01:07:13 -0700 (PDT) In-Reply-To: <877f1q5y6k.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode --94eb2c05a232d51160054f12d728 Content-Type: text/plain; charset=UTF-8 Weird, but this patch does fixed my issue. When I `org-store-link` in opened clojure babel src block will has this issue. But not in other languages babel src blocks like Python, Ruby, C etc. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > Here is the original discussion we disscusses. > > https://github.com/jkitchin/org-ref/issues/433 > > > > And Here is the patch: > > > > #+BEGIN_SRC diff > > modified lisp/org.el > > @@ -9730,7 +9730,7 @@ active region." > > (setq sfuns > > (delq > > nil (mapcar (lambda (f) > > - (let (fs) (if (funcall f) (push f fs)))) > > + (let (fs) (if (and (stringp f) (funcall f)) (push f fs)))) > > (org-store-link-functions))) > > The change above doesn't make sense, does it? > > If F is a string, it cannot be funcall'ed. Since > `org-store-link-functions' only contains functions, this patch is > basically skipping the whole variable. > > Regards, > > -- > Nicolas Goaziou > --94eb2c05a232d51160054f12d728 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Weird, but this patch does fixed my issue. When I `org-sto= re-link` in opened clojure babel src block will has this issue. But not in = other languages babel src blocks like Python, Ruby, C etc.

= [stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &= lt;Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433<= br>IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Tw= itter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2= =A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaz= iou <mail@nicolasgoaziou.fr> wrote:
Hello,

"numbchild@gmail.com" = <numbchild@gmail.com> writ= es:

> Here is the original discussion we disscusses.
> https://github.com/jkitchin/org-ref/issues/4= 33
>
> And Here is the patch:
>
> #+BEGIN_SRC diff
> modified=C2=A0 =C2=A0lisp/org.el
> @@ -9730,7 +9730,7 @@ active region."
>=C2=A0 =C2=A0 =C2=A0 =C2=A0(setq sfuns
>=C2=A0 =C2=A0 =C2=A0(delq
>=C2=A0 =C2=A0 =C2=A0 nil (mapcar (lambda (f)
> -=C2=A0 (let (fs) (if (funcall f) (push f fs))))
> +=C2=A0 (let (fs) (if (and (stringp f) (funcall f)) (push f fs))))
>=C2=A0 =C2=A0(org-store-link-functions)))

The change above doesn't make sense, does it?

If F is a string, it cannot be funcall'ed. Since
`org-store-link-functions' only contains functions, this patch is
basically skipping the whole variable.

Regards,

--
Nicolas Goaziou

--94eb2c05a232d51160054f12d728-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 09 May 2017 12:51:38 +0200 Message-ID: <87k25q481x.fsf@nicolasgoaziou.fr> References: <877f1q5y6k.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d82k3-0001wZ-55 for emacs-orgmode@gnu.org; Tue, 09 May 2017 06:51:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d82k2-0002kk-DM for emacs-orgmode@gnu.org; Tue, 09 May 2017 06:51:43 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:40462) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d82k2-0002kR-7Z for emacs-orgmode@gnu.org; Tue, 09 May 2017 06:51:42 -0400 In-Reply-To: (numbchild@gmail.com's message of "Tue, 9 May 2017 16:07:58 +0800") 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: "numbchild@gmail.com" Cc: Org-mode "numbchild@gmail.com" writes: > =E2=80=8BIs there any other possible potential functions will have relati= on with > this issue?=E2=80=8B According to the backtrace mentioned in the bug report, the culprit is probably `org-label-store-link', which is probably one of the functions returned by `org-store-link-functions'. Since a consequence of your patch is to ignore all functions returned by `org-store-link-functions', it "solves" the issue you're having, in a way. Anyway, there is no such function in Org code base, so you may want to check where it is defined. Regards, From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 9 May 2017 07:01:26 -0400 Message-ID: References: <877f1q5y6k.fsf@nicolasgoaziou.fr> <87k25q481x.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c194056f7c334054f154680" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d82tW-0007op-O8 for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:01:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d82tV-0006fJ-3t for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:01:30 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:35129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d82tU-0006er-Np for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:01:28 -0400 Received: by mail-wr0-x231.google.com with SMTP id z52so67560695wrc.2 for ; Tue, 09 May 2017 04:01:28 -0700 (PDT) In-Reply-To: <87k25q481x.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org-mode --94eb2c194056f7c334054f154680 Content-Type: text/plain; charset="UTF-8" On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou wrote: > org-store-link-functions That is a function in org-ref. I will check it out this morning. Thanks for the pointer to the root of the issue! 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 --94eb2c194056f7c334054f154680 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

= On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou <mail@nicolasgoaziou.= fr> wrote:
org-store-link-f= unctions

That is a function in org-ref. I will check = it out this morning.=C2=A0 Thanks for the pointer to the root of the issue!=


John

-----------------------------------
Professor= John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Enginee= ring
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803<= /div>
--94eb2c194056f7c334054f154680-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Tue, 9 May 2017 07:14:00 -0400 Message-ID: References: <877f1q5y6k.fsf@nicolasgoaziou.fr> <87k25q481x.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114b4206e5c225054f157380" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d835e-0002oA-O7 for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:14:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d835d-0003hx-NZ for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:14:02 -0400 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:36768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d835d-0003hn-Hx for emacs-orgmode@gnu.org; Tue, 09 May 2017 07:14:01 -0400 Received: by mail-qk0-x233.google.com with SMTP id u75so75735242qka.3 for ; Tue, 09 May 2017 04:14:01 -0700 (PDT) In-Reply-To: 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: Nicolas Goaziou Cc: Org-mode --001a114b4206e5c225054f157380 Content-Type: text/plain; charset="UTF-8" I think I have just fixed it. The offending command was trying to get an org-element in the special edit buffer which wasn't in org-mode. Its not clear why it worked in some codes and not others though! 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 On Tue, May 9, 2017 at 7:01 AM, John Kitchin wrote: > > On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou > wrote: > >> org-store-link-functions > > > That is a function in org-ref. I will check it out this morning. Thanks > for the pointer to the root of the issue! > > > John > > ----------------------------------- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 <(412)%20268-7803> > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > --001a114b4206e5c225054f157380 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I think I have just fixed it. The offending command was tr= ying to get an org-element in the special edit buffer which wasn't in o= rg-mode. Its not clear why it worked in some codes and not others though!

John

-----------------------------------
Professor John = Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical EngineeringCarnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
<= div dir=3D"ltr">@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Tue, May 9, 2017 at 7:01 AM, John Kitchin= <jkitchin@andrew.cmu.edu> wrote:

On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou <mail@n= icolasgoaziou.fr> wrote:
or= g-store-link-functions

That is a function in org-ref.= I will check it out this morning.=C2=A0 Thanks for the pointer to the root= of the issue!


<= div class=3D"m_1329270467108751015gmail_signature" data-smartmail=3D"gmail_= signature">
John

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

--001a114b4206e5c225054f157380-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: A small patch for org.el to fix error in clojure babel src block code ref Date: Wed, 10 May 2017 10:01:31 +0800 Message-ID: References: <877f1q5y6k.fsf@nicolasgoaziou.fr> <87k25q481x.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c08ee2cae34d0054f21dbd6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8Gx2-0001yq-7C for emacs-orgmode@gnu.org; Tue, 09 May 2017 22:02:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8Gx0-0007gX-T9 for emacs-orgmode@gnu.org; Tue, 09 May 2017 22:02:04 -0400 Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:36371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8Gx0-0007g4-Lu for emacs-orgmode@gnu.org; Tue, 09 May 2017 22:02:02 -0400 Received: by mail-it0-x234.google.com with SMTP id o5so16793919ith.1 for ; Tue, 09 May 2017 19:02:02 -0700 (PDT) In-Reply-To: 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 Cc: Org-mode , Nicolas Goaziou --94eb2c08ee2cae34d0054f21dbd6 Content-Type: text/plain; charset=UTF-8 Thanks for fixing, John. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 7:14 PM, John Kitchin wrote: > I think I have just fixed it. The offending command was trying to get an > org-element in the special edit buffer which wasn't in org-mode. Its not > clear why it worked in some codes and not others though! > > John > > ----------------------------------- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 <(412)%20268-7803> > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > On Tue, May 9, 2017 at 7:01 AM, John Kitchin > wrote: > >> >> On Tue, May 9, 2017 at 6:51 AM, Nicolas Goaziou >> wrote: >> >>> org-store-link-functions >> >> >> That is a function in org-ref. I will check it out this morning. Thanks >> for the pointer to the root of the issue! >> >> >> John >> >> ----------------------------------- >> Professor John Kitchin >> Doherty Hall A207F >> Department of Chemical Engineering >> Carnegie Mellon University >> Pittsburgh, PA 15213 >> 412-268-7803 <(412)%20268-7803> >> @johnkitchin >> http://kitchingroup.cheme.cmu.edu >> >> > --94eb2c08ee2cae34d0054f21dbd6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for fixing, John.

[stardiviner]= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this = world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeen= ode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @n= umbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8= E5 47C3 2433
Blog: http://stardiviner.github.io/

On Tue, May 9, 2017 at 7:14 PM, John Kitchin= <jkitchin@andrew.cmu.edu> wrote:
I think I have just fixed it. The offending = command was trying to get an org-element in the special edit buffer which w= asn't in org-mode. Its not clear why it worked in some codes and not ot= hers though!

John

--= ---------------------------------
Professor John Kitchin=C2=A0
D= oherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon = University
Pittsburgh, PA 15213
412-268-7803
<= /div>

On Tue, May 9,= 2017 at 7:01 AM, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

On Tue, May 9, 2017 at 6:51 AM,= Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
org-store-link-functions

= That is a function in org-ref. I will check it out this morning.=C2=A0 Than= ks for the pointer to the root of the issue!


John

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


--94eb2c08ee2cae34d0054f21dbd6--