-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-mode installed via straight.el does not appear to be latest version #168
Comments
Just |
One thing that could cause this symptom is if you have some code in your init-file which triggers an autoload for Org, and this happens before |
Here's the test I ran:
;; Bootstrap straight.el, the new functional Emacs package manager
(let ((bootstrap-file (concat user-emacs-directory "straight/bootstrap.el"))
(bootstrap-version 2))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(provide '.emacs) I started Emacs with this configuration. Right away, I then interactively ran So it is installing the package (the location changes), but it's still installing an old version. Is there a way I can add the Org ELPA (http://orgmode.org/elpa.html) repository, to ensure that the latest version is installed? Thanks! |
There are three things here which are actively misleading, and conspire to confound your test. The first is that when you do your test, the first time you run The second misleading thing is that the implementation of The third misleading thing is that, even if you do a proper isolated test and load Org using In summary, there are two problems:
So in other words, you actually do have the latest version of Org mode, despite
This is unnecessary since EmacsMirror always carries the latest version anyway. And in fact, cloning from Org ELPA is a bad idea since it's over HTTP(?!?). See #36. |
Hi @raxod502 - thanks for your feedback! Indeed it seems to be the case that the correct version of org-mode is installed. Still, this is very confusing behavior :( |
(followup from thread started at jwiegley/use-package#319)
I am trying to use
straight
to install the latest version oforg-mode
. I am using Emacs 25.3.1 on macOS installed using Nix, which comes with org-mode 8.2.10 included:Here's what I have tried so far, followed by the resulting org-mode version (after each step, I have removed
~/.emacs.d/straight/[build,repo]/org*
to ensure it gets reinstalled):(this produces a warning:
Warning (straight): Package "org" has two incompatible recipes (:local-repo cannot be both "org" and "org-mode")
)I just started using
straight
today, so I'm sure I'm missing something trivial. Thanks for any help!The text was updated successfully, but these errors were encountered: