From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: integration with Python mode Date: Sun, 07 Jan 2007 10:49:38 -0500 Message-ID: References: <200701062323.37472.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168185003 4839 80.91.229.12 (7 Jan 2007 15:50:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 15:50:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 07 16:49:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H3aHT-0004Gy-IQ for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 16:49:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3aHT-0005z9-2n for ged-emacs-devel@m.gmane.org; Sun, 07 Jan 2007 10:49:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3aHF-0005xA-C7 for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:49:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3aHD-0005wK-J6 for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:49:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3aHD-0005wC-BR for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:49:39 -0500 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H3aHC-0007EQ-TQ for emacs-devel@gnu.org; Sun, 07 Jan 2007 10:49:39 -0500 Original-Received: from pastel.home ([74.12.206.167]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070107154938.FFCA1773.tomts13-srv.bellnexxia.net@pastel.home> for ; Sun, 7 Jan 2007 10:49:38 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2015E6C28A; Sun, 7 Jan 2007 10:49:38 -0500 (EST) Original-To: Paul Pogonyshev In-Reply-To: <200701062323.37472.pogonyshev@gmx.net> (Paul Pogonyshev's message of "Sat\, 6 Jan 2007 23\:23\:37 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64917 Archived-At: > 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 )) ? Stefan