|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110472: Fix shell handling of unbalanced quotes and parens in output. |
Date: | Mon, 08 Oct 2012 20:34:04 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> (set (make-local-variable 'syntax-propertize-function) > - python-syntax-propertize-function)) > + (syntax-propertize-rules > + (comint-prompt-regexp > + (0 (ignore > + (put-text-property > + comint-last-input-start end 'syntax-table > + python-shell-output-syntax-table) > + (font-lock-unfontify-region comint-last-input-start end)))) Calling font-lock-unfontify-region from syntax-propertize looks wrong. So it at least deserves a detailed comment explaining the problem ut's trying to fix and why you decided to do it this way. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |