From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Org-mode ELPA repository package is not very updated? Date: Thu, 8 Jun 2017 19:19:12 +0800 Message-ID: References: <87tw3u8tt7.fsf@alphaville.usersys.redhat.com> <87lgp2ycl2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1144e55c8877be05517107f3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIvTe-0000RM-D3 for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 07:19:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIvTc-000621-Rt for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 07:19:46 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:33176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIvTc-00060U-Gu for emacs-orgmode@gnu.org; Thu, 08 Jun 2017 07:19:44 -0400 Received: by mail-wm0-x22e.google.com with SMTP id m7so37257169wmg.0 for ; Thu, 08 Jun 2017 04:19:44 -0700 (PDT) In-Reply-To: <87lgp2ycl2.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: Nick Dokos , Org-mode --001a1144e55c8877be05517107f3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =E2=80=8B=E2=80=8B Seems currently have two solutions: 1. copy the latest `ob-clojure.el` to `.emacs.d/elpa/org-20170608/`. It works, and I'm using this currently. But really not a good way. 2. use `(use-package org :load-path "/path/to/org-mode/source-code/" :pin manual)`. But this has source code mixed issue, because other MELPA packages dependent on `org`. So not sure Emacs will load which one. I use `locate-library` found sometimes is ELPA org, sometimes is source code org. Is there a way to fix this issue? This is the question which I asked in IRC #emacs: I use package with: (use-package org [11:32] :load-path "~/Code/Emacs/org-mode/lisp/" :pin manual ;; :quelpa (org :fetcher git :repo "~/Code/Emacs/org-mode/lisp/") :mode (("\\.org$" . org-mode)) :config ;; (load "~/Code/Emacs/org-mode/lisp/org.el") (use-package org-plus-contrib :load-path "~/Code/Emacs/org-mode/contrib/lisp/" :pin manual) ) But some MELPA packages requires `org`, I use Org-mode ELPA repo (defvar elpa-org '("org" . "http://orgmode.org/elpa/")= ) . But I found `locate-library` "org" library files are mixed, some library is from `:load-path`, some are from ELPA package. How to fix this issue? [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 Thu, Jun 8, 2017 at 6:54 PM, Nicolas Goaziou wrote: > Hello, > > "numbchild@gmail.com" writes: > > > =E2=80=8B=E2=80=8B If so, the latest `ob-clojure.el` commits are bug fi= x obviously. > > > > #+BEGIN_EXAMPLE > > 7ed93eba5 * Fix incorrect argument call in ob-clojure.el > > 98d672de3 * Update "25.2" defcustom :version's that remain in master > > 0d3683f2c * Merge branch 'maint' > > |\ > > 713f78501 | * Update copyright years > > 2c466ebff * | ob-clojure: Normalize :show-process syntax > > cd4186c5c * | ob-clojure: Small refactoring > > 56c0ce4a8 * | ob-clojure: Add :show-process > > |/ > > #+END_EXAMPLE > > > > I need the latest commit bug fix `7ed93eba5 * Fix incorrect argument ca= ll > > in ob-clojure.el`. > > Apparently, this fix landed in master, so it should land in Org 9.1. It > may be so because it sits on top of other modifications to ob-clojure > that are not strict bug-fixes. > > Regards, > > -- > Nicolas Goaziou > --001a1144e55c8877be05517107f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=E2=80=8B=E2=80=8B
Seems curr= ently have two solutions:

1. copy th= e latest `ob-clojure.el` to `.emacs.d/elpa/org-20170608/`. It works, and I&= #39;m using this currently. But really not a good way.
2. use `(use-package org :load-path "/path/to/org-m= ode/source-code/" :pin manual)`. But this has source code mixed issue,= because other MELPA packages dependent on `org`. So not sure Emacs will lo= ad which one. I use `locate-library` found sometimes is ELPA org, sometimes= is source code org. Is there a way to fix this issue?
This is the question which I asked in IRC #emacs:
<= div class=3D"gmail_default" style=3D"font-family:"trebuchet ms",s= ans-serif">
<stardivin= er> I use package with: (use-package org [11:32]
<stardiviner> =C2=A0 :load-path "~/Code/Emacs/org-mod= e/lisp/"
<stardiviner> =C2=A0 = :pin manual
<stardiviner> =C2=A0 ;;= :quelpa (org :fetcher git :repo
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "~/Code/Emacs/org-mode/lisp/= ")
<stardiviner> =C2=A0 :mode = (("\\.org$" . org-mode))
<st= ardiviner> =C2=A0 :config
<stardivi= ner> =C2=A0 ;; (load "~/Code/Emacs/org-mode/lisp/org.el")
<stardiviner> =C2=A0 (use-package org-p= lus-contrib
<stardiviner> =C2=A0 = =C2=A0 :load-path "~/Code/Emacs/org-mode/contrib/lisp/"
<stardiviner> =C2=A0 =C2=A0 :pin manual)
<stardiviner> =C2=A0 ) But some MELPA = packages requires `org`, I use Org-mode ELPA
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 repo (defvar elpa-org = '("org" =C2=A0 . "h= ttp://orgmode.org/elpa/")) .
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 But I found `locate-library` = "org" library files are mixed, some
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 library is from `:loa= d-path`, some are from ELPA package. How to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fix this issue?



[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): stardiv= iner =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.github.io/

On Thu, Jun 8, 2017 at 6:54 PM, Nicolas Goaz= iou <mail@nicolasgoaziou.fr> wrote:
Hello,

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

> =E2=80=8B=E2=80=8B If so, the latest `ob-clojure.el` commits are bug f= ix obviously.
>
> #+BEGIN_EXAMPLE
> 7ed93eba5 * Fix incorrect argument call in ob-clojure.el
> 98d672de3 * Update "25.2" defcustom :version's that rema= in in master
> 0d3683f2c *=C2=A0 =C2=A0Merge branch 'maint'
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|\
> 713f78501 | * Update copyright years
> 2c466ebff * | ob-clojure: Normalize :show-process syntax
> cd4186c5c * | ob-clojure: Small refactoring
> 56c0ce4a8 * | ob-clojure: Add :show-process
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|/
> #+END_EXAMPLE
>
> I need the latest commit bug fix `7ed93eba5 * Fix incorrect argument c= all
> in ob-clojure.el`.

Apparently, this fix landed in master, so it should land in Org 9.1.= It
may be so because it sits on top of other modifications to ob-clojure
that are not strict bug-fixes.

Regards,

--
Nicolas Goaziou

--001a1144e55c8877be05517107f3--