From: Fabian Ezequiel Gallina <galli.87@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Need help fixing comint fontification for python.
Date: Sun, 7 Oct 2012 10:58:26 -0300 [thread overview]
Message-ID: <CABq4mQs3wTnd2_97jGNb9yTqefv6yxYZh74aJ549BzSGWeNfww@mail.gmail.com> (raw)
In python.el there's an option called `python-shell-enable-font-lock'
that enables fontification in the comint buffer. It works pretty good
except for one thing, if the shell returns some output with unbalanced
quotes then all the following text after the
`comint-last-prompt-overlay' will be fontified as a string.
What would be the best way remove the syntax class for all the output?
I tried with set-text-properties to font-lock-unfontify-buffer with no
luck.
Thanks in advance,
Fabián.
next reply other threads:[~2012-10-07 13:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-07 13:58 Fabian Ezequiel Gallina [this message]
2012-10-07 14:37 ` Need help fixing comint fontification for python Stefan Monnier
-- 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=CABq4mQs3wTnd2_97jGNb9yTqefv6yxYZh74aJ549BzSGWeNfww@mail.gmail.com \
--to=galli.87@gmail.com \
--cc=emacs-devel@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.
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.