[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inferior Python mode doesn't fontify correctly
From: |
Stefan Monnier |
Subject: |
Re: Inferior Python mode doesn't fontify correctly |
Date: |
Wed, 15 Nov 2006 09:08:43 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
>> The patch below tries to fix just this one case you complain about, but
>> maybe we should go a few steps further?
> The patch makes the inferior Python buffer much easier to read, but it
> means that strings inside double quotes are fontified, while strings
> inside single quotes are, which is kind of weird.
> In most (all?) cases I've seen, it doesn't really make sense to try to
> fontify an inferior process buffer because you can never be sure
> what's going to be there. In these cases, I think the best solution is
> to fontify the prompt and past inputs according to
> comint-highlight-prompt and comint-highlight-input, as is currently
> done, and... that's it.
Agreed. That's what I was thinking of more or less by "go a few steps
further".
Stefan