help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No syntax highlighting in python mode


From: Tim Johnson
Subject: Re: No syntax highlighting in python mode
Date: Wed, 08 Dec 2010 15:07:48 -0000
User-agent: slrn/0.9.9p1 (Linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]