"Eric" <[EMAIL PROTECTED]> writes:

> I would like to use a python major mode, which emacs doesnt have. I
> found and downloaded a package that includes a python major mode file.
> Where do I define that particular file so it can be referenced as a
> mode in emacs?

  Is there some install notes?  Where did you find it?  I guess
something like this can help:

    ;; If the file is in a directory not yet in the 'load-path'.
    (push "~/.elisp" load-path)
    (autoload 'python-mode "python-mode" "Major mode to edit Python." t)
    (push '("\\.py\\'" . python-mode) auto-mode-alist)

  Or at least 'M-x load-library <RET> python-mode <RET>' and then
'M-x python-mode'.

--drkm
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to