unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
To: help-gnu-emacs@gnu.org
Subject: Re: No syntax highlighting in python mode
Date: Mon, 10 May 2010 19:42:14 -0500	[thread overview]
Message-ID: <slrnhuh9s7.78s.tim@bart.johnson.com> (raw)
In-Reply-To: 44hbmfldaq.fsf@be-well.ilk.org

On 2010-05-10, Lowell Gilbert <lgusenet@be-well.ilk.org> wrote:
>>   Hmm! See
>> 	http://www.emacswiki.org/emacs/PythonMode
>> 	where it says: 
>> 	"""
>> 	Emacs post version 21 has its own python mode (python.el). This is
>> 	enabled by default for .py files so you don?t have to add anything to
>> 	your InitFile to use it. 
>> 	"""
>>   I believe the statement above is incorrect. I had to use the
>> 	require form - I.E. (require 'python) to activate the syntax
>> 	highlighting.
>
> I can't reproduce that.  In fact:
>
> emacs -q /usr/share/yum-cli/yumcommands.py
>
> gives me python-mode *with* syntax color.  
> [Also on 23.1.1]

  Then I withdraw this statement:
>>   I believe the statement above is incorrect. I had to use the

  My problem may be from a side effect of something else in my .emacs
	or other configuration.

-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com


  reply	other threads:[~2010-05-11  0:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10  1:42 No syntax highlighting in python mode Tim Johnson
2010-05-10 18:42 ` Tim Johnson
2010-05-10 20:19   ` Lowell Gilbert
2010-05-11  0:42     ` Tim Johnson [this message]
2010-05-11 14:35       ` Lowell Gilbert
2010-05-12 15:42         ` Tim Johnson

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=slrnhuh9s7.78s.tim@bart.johnson.com \
    --to=tim@johnsons-web.com \
    --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.
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).