I’ve reinstalled emacs and all the packages, it works now. Thank you!





> On 20 Feb 2016, at 00:44, John Kitchin <jkitc...@andrew.cmu.edu> wrote:
> 
> It could also be that orgmode does not come from melpa, it comes from 
> "http://orgmode.org/elpa/ <http://orgmode.org/elpa/>" If you have a list of 
> packages that get installed, make sure org is first. Any package that 
> requires org will interfere with the installation of the org package.
> 
> (setq package-archives
>       '(("elpy" . "http://jorgenschaefer.github.io/packages/ 
> <http://jorgenschaefer.github.io/packages/>")
>       ("org"         . "http://orgmode.org/elpa/ <http://orgmode.org/elpa/>")
>       ("gnu"         . "http://elpa.gnu.org/packages/ 
> <http://elpa.gnu.org/packages/>")
>       ("melpa-stable" . "http://melpa-stable.milkbox.net/packages/ 
> <http://melpa-stable.milkbox.net/packages/>")
>       ("melpa" . "http://melpa.org/packages/ <http://melpa.org/packages/>")))
> 
> 
> 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 <http://kitchingroup.cheme.cmu.edu/>
> 
> 
> On Fri, Feb 19, 2016 at 2:37 AM, Alan Schmitt <alan.schm...@polytechnique.org 
> <mailto:alan.schm...@polytechnique.org>> wrote:
> On 2016-02-19 08:00, 童俊翔 <tongjunxi...@gmail.com 
> <mailto:tongjunxi...@gmail.com>> writes:
> 
> > I’m using melpa, and org is updated to the newest version
> >
> > but my org-version is still 8.2.10, as follows
> >
> > Org-mode version 8.2.10 (release_8.2.10 @ 
> > /Users/mac/.emacs.d/elpa/org-20160215/)
> >
> > How to solve this problem?
> 
> You probably have a mixed installation, which can happen if org-mode is
> loaded when you install the elpa version.
> 
> What you can try is the following (please anyone correct me if I'm
> giving incorrect instructions):
> - uninstall orgmode from elpa
> - restart emacs and do not load orgmode (which means do not execute any
> org-related code)
> - install the org-mode package
> 
> You then need to make sure that any org-related function in your init
> file is called after `package-initialize'.
> 
> Hope this helps,
> 
> Alan
> 
> --
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂ (2016-01, Mauna Loa Obs.): 402.52
> 

Reply via email to