all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 32390@debbugs.gnu.org
Subject: bug#32390:
Date: Tue, 7 Aug 2018 16:10:24 -0300	[thread overview]
Message-ID: <CAELgYhfTgms8=ZLc0YqmhrpaLFn08w39GDBtQzbEwcbUAB2xww@mail.gmail.com> (raw)
In-Reply-To: <87sh3q1075.fsf@gmail.com>

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.





  reply	other threads:[~2018-08-07 19:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-07 18:49 bug#32390: 26.1; python.el: cleanup font lock buffer after input is sent Carlos Pita
2018-08-07 19:10 ` Carlos Pita [this message]
2018-08-07 19:34   ` bug#32390: Carlos Pita
2018-08-07 19:52     ` bug#32390: Carlos Pita
2018-08-07 20:28       ` bug#32390: Carlos Pita
2018-09-06  2:32       ` bug#32390: [ipython 6.x] unmatched quotes break fontification in run-python Noam Postavsky
2018-08-23  3:24 ` bug#32390: 26.1; python.el: cleanup font lock buffer after input is sent Noam Postavsky
2018-08-31 11:56   ` Carlos Pita
2018-09-01  3:01     ` Noam Postavsky
2018-09-05 15:38       ` Carlos Pita
2018-09-06  2:27         ` Noam Postavsky
2018-09-12 16:56           ` Carlos Pita
2018-12-04 22:35             ` Carlos Pita
2018-12-05 16:00               ` Carlos Pita
2019-01-03  5:43                 ` Carlos Pita
2019-10-15  0:21                   ` Noam Postavsky
2019-10-15  0:27                     ` Carlos Pita
2019-10-15  0:30                       ` Carlos Pita
2019-10-15  0:36                         ` Lars Ingebrigtsen
2019-10-15  0:40                         ` Noam Postavsky
2019-02-14 11:50 ` bug#32390: (no subject) Carlos Pita

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELgYhfTgms8=ZLc0YqmhrpaLFn08w39GDBtQzbEwcbUAB2xww@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=32390@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.