From: Gary Wessle <phddas@yahoo.com>
Subject: Re: python mode
Date: 22 Apr 2006 19:28:55 +1000 [thread overview]
Message-ID: <87k69iyn54.fsf@localhost.localdomain> (raw)
In-Reply-To: mailman.763.1145696607.9609.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 22.04.2006 um 10:28 schrieb Gary Wessle:
>
> > I opened a file.py but emacs 21.4.1 on debian testing didn't switch
> > the mode to the python mode. what do I need to do to fix this.
>
> Check auto-mode-alist. If it does not contain an entry for Python
> files or the wrong mode correct this with something like:
>
> (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
>
I placed the line you suggested in my .emacs and load-file .emacs
then opened my.py file but I am getting
file mode specification error: (void function python-mode)
next prev parent reply other threads:[~2006-04-22 9:28 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 [this message]
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
[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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k69iyn54.fsf@localhost.localdomain \
--to=phddas@yahoo.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).