Arc Forumnew | comments | leaders | submitlogin
3 points by comatose_kid 6177 days ago | link | parent

Thanks. Incidentally, your .emacs advice didn't work for me (I'm on emacs 23.0.50.2 if that matters), but this did:

(autoload 'arc-mode "arc" "Arc mode." t)

(add-to-list 'auto-mode-alist '("\\.arc$" . arc-mode))



2 points by olifante 6176 days ago | link

The "add-to-list" line for some reason is not enough to automatically activate the arc-mode for *.arc files, although I can activate it manually by doing M-x arc-mode.

By adding a variation of your snippet to my .emacs, I got arc-mode to activate automatically:

(add-to-list 'load-path "~/arc0") (autoload 'arc-mode "arc" "Arc mode." t) (setq auto-mode-alist (append '(("\\.arc$" . arc-mode)) auto-mode-alist))

-----