emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Python mode doesn't fontify correctly


From: Otto Maddox
Subject: Re: Inferior Python mode doesn't fontify correctly
Date: Wed, 15 Nov 2006 13:15:54 +0000

Stefan Monnier <address@hidden> said:

> 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.
-- 
  Otto Maddox
  address@hidden

-- 
http://www.fastmail.fm - Does exactly what it says on the tin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]