all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Fabian Ezequiel Gallina <galli.87@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Need help fixing comint fontification for python.
Date: Sun, 07 Oct 2012 10:37:28 -0400	[thread overview]
Message-ID: <jwv8vbiwdty.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CABq4mQs3wTnd2_97jGNb9yTqefv6yxYZh74aJ549BzSGWeNfww@mail.gmail.com> (Fabian Ezequiel Gallina's message of "Sun, 7 Oct 2012 10:58:26 -0300")

> What would be the best way remove the syntax class for all the output?

Use a syntax-propertize-function.

Look at the `field' property and wherever its value is `output', place
an appropriate syntax-table property.
Or alternatively, use a "safe" syntax-table in the buffer, but add
Python's syntax-table as a property whereas the `field' property is nil.


        Stefan



  reply	other threads:[~2012-10-07 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-07 13:58 Need help fixing comint fontification for python Fabian Ezequiel Gallina
2012-10-07 14:37 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-08 19:05 Michael Mauger
2012-10-09  1:04 ` Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8vbiwdty.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=galli.87@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.