|
Re: Tuareg mode with Aquamacs: msg#00039emacs.macintosh.osx
According to the tuareg-mode README, you should place both tuareg.el and camldebug.el somewhere in your load-path (follow David's suggestion) and add the following to your ~/Library/Preferences/Aquamacs Emacs/Preferences.el : (setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist)) (autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t) (autoload 'camldebug "camldebug" "Run the Caml debugger" t) After doing so and doing "M-x eval-buffer" on Preferences.el (or re-starting Aquamacs), Aquamacs will open .ml files in tuareg-mode. Worked for me. --Nathaniel On 12/15/06, David Reitter <david.reitter@xxxxxxxxx> wrote: ---------------------------- Info ----------------------------- List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx> List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Tuareg mode with Aquamacs: 00039, David Reitter |
|---|---|
| Next by Date: | Re: Tuareg mode with Aquamacs: 00039, Holger Schulz |
| Previous by Thread: | Re: Tuareg mode with Aquamacsi: 00039, David Reitter |
| Next by Thread: | Re: Tuareg mode with Aquamacs: 00039, Holger Schulz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |