Re: Inferior Python mode doesn't fontify correctly

2006-11-15 Thread Otto Maddox
Stefan Monnier [EMAIL PROTECTED] 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

Re: Inferior Python mode doesn't fontify correctly

2006-11-15 Thread Stefan Monnier
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

Inferior Python mode doesn't fontify correctly

2006-11-14 Thread Otto Maddox
For instance: M-x run-python RET import os RET help(os) RET Fontification gets very confused when, for example, single quotes are used as apostrophes rather than delimiting strings. It makes the output really difficult to read. In GNU Emacs 22.0.90.1 (powerpc-apple-darwin8.8.0, Carbon Version

Re: Inferior Python mode doesn't fontify correctly

2006-11-14 Thread Stefan Monnier
M-x run-python RET import os RET help(os) RET Fontification gets very confused when, for example, single quotes are used as apostrophes rather than delimiting strings. It makes the output really difficult to read. Indeed, using the programming language's syntax-table for the inferior