From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#33959: 26.1.90; python.el font-lock buffer wreaks havoc when company is enabled Date: Fri, 10 May 2019 23:51:30 -0400 Message-ID: <87y33dir7h.fsf@gmail.com> References: <87zhp5ch5n.fsf_-_@gmail.com> <87pnply5da.fsf@gmail.com> <87mukpy2pc.fsf@gmail.com> <87k1fty0ed.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="29984"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 33959@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 11 05:56:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hPJ7I-0007XJ-Jw for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 May 2019 05:56:08 +0200 Original-Received: from localhost ([127.0.0.1]:53372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPJ7H-0003PI-KD for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 May 2019 23:56:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPJ75-0003Mg-48 for bug-gnu-emacs@gnu.org; Fri, 10 May 2019 23:55:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPJ3K-0004PA-H2 for bug-gnu-emacs@gnu.org; Fri, 10 May 2019 23:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPJ3K-0004Ow-BB for bug-gnu-emacs@gnu.org; Fri, 10 May 2019 23:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hPJ3K-0006fY-5a for bug-gnu-emacs@gnu.org; Fri, 10 May 2019 23:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 May 2019 03:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 33959-submit@debbugs.gnu.org id=B33959.155754670025597 (code B ref 33959); Sat, 11 May 2019 03:52:02 +0000 Original-Received: (at 33959) by debbugs.gnu.org; 11 May 2019 03:51:40 +0000 Original-Received: from localhost ([127.0.0.1]:39599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPJ2y-0006em-8i for submit@debbugs.gnu.org; Fri, 10 May 2019 23:51:40 -0400 Original-Received: from mail-it1-f174.google.com ([209.85.166.174]:54724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hPJ2w-0006ea-48 for 33959@debbugs.gnu.org; Fri, 10 May 2019 23:51:38 -0400 Original-Received: by mail-it1-f174.google.com with SMTP id a190so12511700ite.4 for <33959@debbugs.gnu.org>; Fri, 10 May 2019 20:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YQi3oA9cbWy/caS3IQNdKKZBjy5zS3VRUtgD+dfgGMc=; b=Ux7r5gGm2ZTwUcUGdOelQBHprhXPyTA+N1P5z2PJGwq/eBOVO4MWVfwb7+xOIlml/r CaDke59pyllyb7TBA93+aUgvo9+H8SOqAQRgiHNhcLgvb1QEA0npe+IGk6EEKytCTuK4 3zr+lyClGyyGSA/rMXkChZ2ct0fNEdOjLONN3SSpECr++kUo/wf72HROu548VSwdfeAy Huu81BQqRrOMHF7j+sSW6fmoMpqooCN6YdO5yOVO3Sb4IdRLyPwNZgivUF7aUnVOfLt5 8i1oAXz8hhEkoC30cplHXPChCpcwJK1G8HC1lXn/pZxpjwBgjXc18UsNPSg47xjGKdgu 23lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YQi3oA9cbWy/caS3IQNdKKZBjy5zS3VRUtgD+dfgGMc=; b=KuvGesLV4/d1jizWawj7YtiD3nMzOU+7KFTRc+7v2GgXFehqP81AJObaLjlNdQCB/T kxKNPfUjiSpiL3wjpC7wFPoe7nOScXa8t+25PnPeP1+ngyxfP8N5EtO+/wDGTVVigKes B6RpXOk0Dtxu0ua7PbT7FY7MwflSe4BwO+5C0gc24BKS4VKlg7UApvxjBGwhZBTFU02o wG+UBBhEovSpyVbRRudm3RINzrrIUt1roW2Vnb73tS75q+XH6rkGcEcnwO/gAGJhgiuI CXcrUxE6IdxUDgkckraBbCTPucvbWH7gT330TXWkIUb/GRIqeXttDEsWaYAnDnX03Jt0 mW8w== X-Gm-Message-State: APjAAAXMM0/Fw8l4v7f4DG7N1G/kePK4j6fHDE2i+CdyE+bFl2YrdRn1 uFWqMA11xwtp4Q28JLz7DEgIt5z8 X-Google-Smtp-Source: APXvYqwDDpsAhrONd5UCYnbOAaKHk//2z4qaejI8SdGQPlafb8devWYRhh3XlgXbVY05S+OSFh9fCA== X-Received: by 2002:a24:920a:: with SMTP id l10mr9635771itd.98.1557546692199; Fri, 10 May 2019 20:51:32 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id k197sm3582106itk.36.2019.05.10.20.51.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 20:51:31 -0700 (PDT) In-Reply-To: <87k1fty0ed.fsf@gmail.com> (Noam Postavsky's message of "Tue, 16 Apr 2019 19:51:22 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159066 Archived-At: Noam Postavsky writes: > Noam Postavsky writes: > >> Carlos Pita writes: >> >>> I'm unable to get your output, here the font lock buffer always >>> contains one line. >> >> Hmm, it might have to do with the fact that I'm running ipython over >> TRAMP, since my main box doesn't have IPython 6.x. But I suspect that >> only affects the timing, so that it's still theoretically possible >> (although less likely) for it to happen when running locally. > > I installed IPython 6.5.0 locally using pip, and I still see the same > behaviour (including repeated input prompt numbers). I think I figured out what the difference is: I forgot to add --simple-prompt to python-shell-interpreter-args. After doing that, your patch does indeed fix the problem. I'd still like a deterministic test, though, since this bug is such a pain to reproduce.