all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: python mode
Date: Sat, 22 Apr 2006 13:11:38 +0200	[thread overview]
Message-ID: <982AF8FB-B42F-4A07-A628-84370F5C77E6@Web.DE> (raw)
In-Reply-To: <87fyk5zyns.fsf@localhost.localdomain>


Am 22.04.2006 um 12:34 schrieb Gary Wessle:

> I thought that python.el file is included in the installed emacs as it
> has been indicated in the wiki, do I need to get it and place it in
> where the other .el files are?

In my distributions of GNU Emacsen the standard python.el file is  
located in lisp/progmodes. The file is not (pre-)loaded by default,  
it must be loaded when needed as for example htmlize-view or AUCTeX  
or preview-latex etc. If an Elisp file has a provide statement, you  
can require it, otherwise you need to load if. You can you use the  
autoload function to load an Elisp automatically when it's needed,  
maybe this way:

	(autoload 'python-mode "python" "Handle Python files appropriately." t)

But actually such a finesse is not needed since GNU Emacs loads the  
code into memory late, when actually needed for to do specific work.  
So a simple load or require statement in .emacs is good enough.

--
Greetings

   Pete

There is no national science just as there is no national
multiplication table; what is national is no longer science.
          -- Anton Checov

  reply	other threads:[~2006-04-22 11:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-22  8:28 python mode Gary Wessle
2006-04-22  9:03 ` Peter Dyballa
     [not found] ` <mailman.763.1145696607.9609.help-gnu-emacs@gnu.org>
2006-04-22  9:28   ` Gary Wessle
2006-04-22 10:18     ` Peter Dyballa
     [not found]     ` <mailman.764.1145701120.9609.help-gnu-emacs@gnu.org>
2006-04-22 10:34       ` Gary Wessle
2006-04-22 11:11         ` Peter Dyballa [this message]
     [not found]         ` <mailman.767.1145704577.9609.help-gnu-emacs@gnu.org>
2006-04-22 20:08           ` Gary Wessle
2006-04-22 21:10             ` Peter Dyballa
     [not found]             ` <mailman.790.1145740262.9609.help-gnu-emacs@gnu.org>
2006-04-23 11:53               ` Gary Wessle
2006-04-23 12:54                 ` Peter Dyballa
2006-04-24  8:48 ` Stefan Monnier
2006-04-24 10:11   ` Tim X
2006-04-25  8:27     ` tomás zerolo
2006-04-25 11:32     ` Gary Wessle
2006-04-25 21:50       ` maru dubshinki
2006-04-25 22:10       ` Tim X
2006-04-26  8:25       ` tomás zerolo

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=982AF8FB-B42F-4A07-A628-84370F5C77E6@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.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.