On 2006-10-17 02:20, Svein Halvor Halvorsen [EMAIL PROTECTED] wrote:
cpghost wrote:
Well, it doesn't cause any harm to add to your ~/.emacs
;; Add python-mode
(autoload 'python-mode python-mode Python editing mode. t)
(setq auto-mode-alist
(cons '(\\.py$ . python-mode) auto-mode-alist
On 2006-10-17 00:21, Alex Zbyslaw [EMAIL PROTECTED] wrote:
Svein Halvor Halvorsen wrote:
Emacs doesn't seem to load files in /usr/local/share/emacs/site-lisp
installed by ports. [...]
In emacs do ESC-x describe-variable load-path which tells you where
emacs is looking. Mine is
Emacs doesn't seem to load files in /usr/local/share/emacs/site-lisp
installed by ports. E.g python-mode installs files in this directory,
but python-mode is not available in emacs afterwards. I have to manually
tell emacs to look in these files.
Are there any way to get emacs to automatically
to look in these files.
Well, it doesn't cause any harm to add to your ~/.emacs
;; Add python-mode
(autoload 'python-mode python-mode Python editing mode. t)
(setq auto-mode-alist
(cons '(\\.py$ . python-mode) auto-mode-alist))
(add-hook 'python-mode-hook 'turn-on-font-lock)
Are there any way
Svein Halvor Halvorsen wrote:
Emacs doesn't seem to load files in /usr/local/share/emacs/site-lisp
installed by ports. E.g python-mode installs files in this directory,
but python-mode is not available in emacs afterwards. I have to manually
tell emacs to look in these files.
Are there any way
cpghost wrote:
Well, it doesn't cause any harm to add to your ~/.emacs
;; Add python-mode
(autoload 'python-mode python-mode Python editing mode. t)
(setq auto-mode-alist
(cons '(\\.py$ . python-mode) auto-mode-alist))
(add-hook 'python-mode-hook 'turn-on-font-lock)
Are there any way
Alex Zbyslaw wrote:
In emacs do ESC-x describe-variable load-path which tells you where
emacs is looking.
/usr/local/share/emacs/site-lisp shows up!
Make sure you environment does not set EMACSLOADPATH which would
override compile-time defaults.
This is not set.
Svein Halvor