Tutorial on how to use Emacs to program Python

Martin Christensen knightsofspamalot-factotum at gvdnet.dk
Sun Feb 23 18:08:33 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Peter" == Peter Wu <peterwu at hotmail.com> writes:
Peter> What if there are many users on a machine? They'd have to carry
Peter> their own .emacs files to enable Python-mode. Why can't we just
Peter> do something so that the Python-mode can be automatically
Peter> launched just like cc-mode or else?

You could just add python-mode.el to your site Lisp repository, which
usually lives in /usr/share/emacs/site-lisp or something similar. Then
modify your site initialisation file to associate python-mode with .py
files as you have with your local .emacs. It's really quite simple.

Martin

- -- 
Homepage:       http://www.cs.auc.dk/~factotum/
GPG public key: http://www.cs.auc.dk/~factotum/gpgkey.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using Mailcrypt+GnuPG <http://www.gnupg.org>

iEYEARECAAYFAj5ZVHEACgkQYu1fMmOQldWk3QCcC2dpTy7juBaRBqlzeNaspU8q
2LIAnRJu7T21BCplbfbcOLU9O9W8++eg
=UWZa
-----END PGP SIGNATURE-----




More information about the Python-list mailing list