Note that this package might need to be updated to work with the new Org repo starting 2018. See here for the announcement.
org-track.el aims to add a simple interface to track Org-mode's git
repository on https://code.orgmode.org/bzg/org-mode.git. For non-git users,
org-latest.tar.gz archive is provided and will be downloaded from
The idea was born in a thread on the great emacs-orgmode mailing list on a request from Stefan Vollmer: http://article.gmane.org/gmane.emacs.orgmode/15264.
If you run into trouble, drop us a mail on the great emacs-orgmode Mailinglist.
You will need an initial version of the Org-mode distribution in your load path. For easy upgrading, add the following to your =.emacs=:
#+begin_src emacs-lisp (add-to-list load-path "/path/to/org-mode/lisp") (add-to-list load-path "/path/to/org-mode/contrib/lisp") (require org-install) (require org-track) #+end_src
Adjust at least the variable
org-track-directory. You can use customize for
M-x customize-variable RET org-track-directory RET
From now on, to update and compile the current development version of Org-mode is just a matter of typing:
M-x org-track-update RET
This will download the current
org-latest.tar.gz, update the autoloads file
org-install.el and (optionally) compile the sources.
org-track-directory is the only variable you'll need to adjust. This is
the directory where your local copy of Org-mode will live. I.e., a sub
directory 'org-mode/' will be added here. Also the file
be put here (and deleted after updates):
org-track-directory |-- org-latest.tar.gz (if you download archives) `-- org-mode |-- ... |-- lisp (add this dir to your loadpath) |-- contrib | `-- lisp (add this dir to your loadpath) `-- ...
To see and/or change all the related variables, do:
M-x customize-group RET org-track RET
Here is a list of all variables the script uses:
The `*.tar.gz' version is extracted without external dependencies (tar-mode).
To make sure that
org-latest.tar.gz is opened in tar-mode, the code modifies
#+begin_src emacs-lisp (add-to-list 'auto-mode-alist '("org-latest\\.tar\\.gz\\'" . tar-mode)) #+end_src
The downloaded package can be removed. See the option
org-git-remove-package. Default is not to remove