all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: drkm <usenet@fgeorges.org>
Subject: Re: Adding/installing a Major Mode
Date: Wed, 15 Jun 2005 21:34:01 +0200	[thread overview]
Message-ID: <wkoea7wh1y.fsf@fgeorges.org> (raw)
In-Reply-To: 1118861445.444270.229380@f14g2000cwb.googlegroups.com

"Eric" <ericvlach@gmail.com> 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

  parent reply	other threads:[~2005-06-15 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15 18:50 Adding/installing a Major Mode Eric
2005-06-15 19:11 ` Eric
2005-06-15 19:34 ` drkm [this message]
2005-06-15 19:54 ` Stefan Reichör

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wkoea7wh1y.fsf@fgeorges.org \
    --to=usenet@fgeorges.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.