emacs-devel
[Top][All Lists]
Advanced

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

Re: integration with Python mode


From: Stefan Monnier
Subject: Re: integration with Python mode
Date: Sun, 07 Jan 2007 10:49:38 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

> I'd like to build support of Python mode into my Typesetter minor
> mode [1].  In particular, I don't want it to insert special characters
> outside of Python strings (and maybe comments.)  How do I determine if
> the point is inside a string in Python mode?

How do you do it in other major modes?  I don't think python-mode is special
in this respect.

> Is there a better way than checking 'face property?

How 'bout (nth 3 (syntax-ppss <pos>)) ?


        Stefan




reply via email to

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