​​
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:

<stardiviner> I use package with: (use-package org [11:32]
<stardiviner>   :load-path "~/Code/Emacs/org-mode/lisp/"
<stardiviner>   :pin manual
<stardiviner>   ;; :quelpa (org :fetcher git :repo
              "~/Code/Emacs/org-mode/lisp/")
<stardiviner>   :mode (("\\.org$" . org-mode))
<stardiviner>   :config
<stardiviner>   ;; (load "~/Code/Emacs/org-mode/lisp/org.el")
<stardiviner>   (use-package org-plus-contrib
<stardiviner>     :load-path "~/Code/Emacs/org-mode/contrib/lisp/"
<stardiviner>     :pin manual)
<stardiviner>   ) 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]           <Hack this world!>      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 Thu, Jun 8, 2017 at 6:54 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr>
wrote:

> Hello,
>
> "numbch...@gmail.com" <numbch...@gmail.com> writes:
>
> > ​​ If so, the latest `ob-clojure.el` commits are bug fix 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 call
> > 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
>

Reply via email to