GNU bug report logs - #32390
[ipython 6.x] unmatched quotes break fontification in python.el (superseded by #33959)

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Tue, 7 Aug 2018 18:50:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Found in version 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 32390 <at> debbugs.gnu.org (full text, mbox):

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 32390 <at> debbugs.gnu.org
Date: Tue, 7 Aug 2018 16:10:24 -0300
The buffer is indeed being cleaned up in the output filter:

(defun python-shell-font-lock-comint-output-filter-function (output)
  (if (and (not (string= "" output))
      ...
      (python-shell-font-lock-cleanup-buffer)

The problem is that an unclosed string is an error and in that case
output is "", so that the cleanup part is not reached. I think it
should be made unconditional.




This bug report was last modified 5 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.