From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Ezequiel Gallina Newsgroups: gmane.emacs.devel Subject: Need help fixing comint fontification for python. Date: Sun, 7 Oct 2012 10:58:26 -0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349618310 24219 80.91.229.3 (7 Oct 2012 13:58:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 13:58:30 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 15:58:36 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKrNM-00050N-Mm for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 15:58:36 +0200 Original-Received: from localhost ([::1]:44649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrNG-0001NQ-T8 for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 09:58:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrNF-0001Me-0G for emacs-devel@gnu.org; Sun, 07 Oct 2012 09:58:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKrNE-0003r8-4A for emacs-devel@gnu.org; Sun, 07 Oct 2012 09:58:28 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:37645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrND-0003qv-Tj for emacs-devel@gnu.org; Sun, 07 Oct 2012 09:58:28 -0400 Original-Received: by mail-wg0-f49.google.com with SMTP id gg4so2143401wgb.30 for ; Sun, 07 Oct 2012 06:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=T5CElHcWnQCYMqn6m1zbSrK1p3v+LACqHLBbqYLuS/E=; b=RzdiFPtVk7EJyLSXJZQxk5rCN+wV5V5SwyohEmmwg+fkUeNJedd58m4NkSC6YzwqYs ku/Cp8DxtZpW7PN6wZz7BxfT0Xy5B9v+q+zdzpbWJdzjh/luw9zmQxzWhjzIIoU2308c ocgAFkh9QjZ/F3orAp5QCRop/47M80JorjjeV+gvt4+9q4iP4C0yssN/h4rn04b8iBQw fSGkTgsRQWaGlGIiRO/B6IBFfrFEsfwdAVWM6XFV2pd0PxewO59MJVGisNvuM8Nz9/gJ hJmG/2NFM409HTi/7KH8Vxe3KN2vEqKgfMwVeU8j3i5KYe6gYRf0U9orCVLwbKDlOmbo xMwQ== Original-Received: by 10.216.145.88 with SMTP id o66mr8480137wej.169.1349618306363; Sun, 07 Oct 2012 06:58:26 -0700 (PDT) Original-Received: by 10.227.164.68 with HTTP; Sun, 7 Oct 2012 06:58:26 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154177 Archived-At: 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=E1n.