7

As is asked and answered in here, Aquamacs has the org-mode that is pretty old, and there are some problems with capturing.

How can I upgrade the org-mode with Aquamacs? Is it OK just copy lisp/*.el to somewhere?

prosseek
  • 5,794
  • 21
  • 59
  • 78

3 Answers3

7

You can put the .el files pretty much where you want to, but you'll need to add the directory to your emacs load-path with something like:

(setq load-path (cons "~/path/to/orgdir/lisp" load-path))

Stick that in your .emacs file.

There's more info on the org-mode installation page.

Doug Harris
  • 27,333
  • 17
  • 78
  • 105
5

Let me summarize the steps I carried out eventually, to use the package manager. Note, I am using emacs 23 based editor which was shipped with org-mode 6.33.

Install the package manager

  • Download the packages.el file from here. Save in in ~/Library/elisp for example.
  • Add the following code to the .emacs:

    (setq load-path (cons "~/Library/elisp" load-path)) (require 'package) (package-initialize)

Verify

To verify this part, in emacs hit M-x list-packages RET org. Here you should see a list of optional packages. Note: you may ignore the warning: failed to download org-mode archive.

Updating org-mode

  • Enter the list-packages Hit M-x list-packages RET.
  • In there mark for installation by i the org package and the x for the actual installation.

    Restart emacs

Verify

Hit M-x locate-library RET org to verify the installation. You should now have org-mode up and running.

Doug Harris
  • 27,333
  • 17
  • 78
  • 105
Dror
  • 1,880
  • 3
  • 18
  • 28
  • 1
    Aquamacs 3.0 (in alpha) is based on Emacs 24 so the package manager is built in./ So you can start with the Updating org-mode section. – studgeek Jan 10 '14 at 07:05
0

I found this slightly more helpful snippet from the EmacsWiki (http://www.emacswiki.org/emacs/CustomizeAquamacs):

Upgrading org-mode or other major-modes in Aquamacs

    # Name of your emacs binary
    EMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs

    # Where local lisp files go.
    lispdir   = /Applications/Aquamacs.app/Contents/Resources/lisp 

    # Where info files go.
    infodir = /Applications/Aquamacs.app/Contents/Resources/info

--D.H. Ardell

Update (March 2013): Make the assignments above in local.mk after having first cloned it from mk/default.mk
Be sure to save the updated clone (local.mk) into the top-level directory (i.e. above mk itself) to avoid compilation errors.

iainH
  • 103
  • 4
Peter
  • 251
  • 2
  • 6
  • and where do the styles from the etc directory go for the OpenDocument Text Export? – Jonathan Komar Sep 19 '12 at 13:50
  • Nevermind, I figured it out—just put the entire etc directory next to the lisp directory. so in the following example, it would be in the orgdir (setq load-path (cons "~/path/to/orgdir/lisp" load-path)) (taken from Doug Harris' answer) – Jonathan Komar Sep 19 '12 at 14:00