2

I have a scimax based configuration and my source block fontification is broken. I suspect it has to do with the release of Org-mode 9.3 which I am currently using. Thats why I am trying to roll-back the org version.

How can I install org-plus-contrib (or even just org 9.2) ?

Thanks in advance

3
  • Welcome to emacs.SE! Is your question about downgrading org to version 9.2? Also what's scimax? Is it usefull to know to answer the question?
    – JeanPierre
    Commented Dec 11, 2019 at 14:36
  • I have added a link to scimax repo. I am simply trying to roll-back the org-mode version to see if that fixes my bug. I mentioned scimax so that other users with the same problem can find it. Thank you
    – ArtPe
    Commented Dec 12, 2019 at 13:11
  • old versions of packages are available on elpa.gnu.org/packages/org.html, I guess it's doable to manually install such an old version.
    – JeanPierre
    Commented Dec 12, 2019 at 15:08

1 Answer 1

1

There is currently no builtin roll-back available from emacs builtin package manager, so you have to do it manually.

You could follow the install instructions in the org-mode manual:

  1. Go to Org-mode homepage
  2. Click on browse the development version from code.orgmode.org
  3. Click on releases
  4. download the release you'd like to use in you case, probably version 9.2.6
  5. unpack this downloaded archive into your home directory (i.e. ~/.emacs.d/org-mode) and remember that location!
  6. enter that location from within a command line and run make autoloads
  7. edit your emacs init files and add the lines at the end of this post
  8. open package list with M-x list-packages and uninstall org-mode version 9.3
  9. restart emacs

Optional: run make doc same way like you did with make autoloads to generate info and pdf manuals.


How to revert those changes to use a recent version of org-mode again:

  1. remove the aditional lines from your emacs init files
  2. reinstall org-mode from package manager M-x list-packages
  3. restart emacs
  4. remove the older downloaded org-mode version (i.e. rm ~/.emacs.d/org-mode)

Thats it.


lines to add to emacs init files (with example path):

(add-to-list 'load-path "~/.emacs.d/org-mode/lisp")
(add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp" t)
1
  • great answer, thank you!
    – ArtPe
    Commented Dec 19, 2019 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.