Re: python-mode in emacs

2006-10-17 Thread Giorgos Keramidas
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 >

Re: python-mode in emacs

2006-10-17 Thread Giorgos Keramidas
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)

Re: python-mode in emacs

2006-10-16 Thread Svein Halvor Halvorsen
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

Re: python-mode in emacs

2006-10-16 Thread Svein Halvor Halvorsen
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

Re: python-mode in emacs

2006-10-16 Thread Alex Zbyslaw
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

Re: python-mode in emacs

2006-10-16 Thread cpghost
On Tue, Oct 17, 2006 at 12:56:01AM +0200, 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 em

python-mode in emacs

2006-10-16 Thread Svein Halvor Halvorsen
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 rea