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#36001: 26.2; compile-mode.el/compilation-mode spontaneous behaviour Date: Thu, 30 May 2019 08:01:18 -0400 Message-ID: <87a7f46tip.fsf@gmail.com> References: <20190530094936.GA22903@15inch.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="218386"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 36001@debbugs.gnu.org To: Evgeniy Dushistov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 30 14:02:12 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 1hWJl6-000ufN-6D for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 14:02:12 +0200 Original-Received: from localhost ([127.0.0.1]:53157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWJl4-000605-ON for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 08:02:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWJkx-0005zm-TV for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 08:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWJkx-0002VQ-03 for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 08:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWJkw-0002U6-QM for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 08:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWJkw-0006le-IO for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 08:02: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: Thu, 30 May 2019 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36001 X-GNU-PR-Package: emacs Original-Received: via spool by 36001-submit@debbugs.gnu.org id=B36001.155921768925956 (code B ref 36001); Thu, 30 May 2019 12:02:02 +0000 Original-Received: (at 36001) by debbugs.gnu.org; 30 May 2019 12:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:60898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWJkO-0006ka-KS for submit@debbugs.gnu.org; Thu, 30 May 2019 08:01:28 -0400 Original-Received: from mail-io1-f49.google.com ([209.85.166.49]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWJkM-0006kJ-G7 for 36001@debbugs.gnu.org; Thu, 30 May 2019 08:01:27 -0400 Original-Received: by mail-io1-f49.google.com with SMTP id r185so4806901iod.6 for <36001@debbugs.gnu.org>; Thu, 30 May 2019 05:01:26 -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=tEQKTUJBg7oVCdSpxZbtyAdPUOmijuRhuTipnGti9eg=; b=esAHiAYFmQsGlkMwG7HWzD2T9lewAXVXbnyTTukxIg62G5uEjM3PeEItsSM7Q1f2CI yTweZEDXKOxpWKC4TDsMAwZsFko2ezlCF4xa/8dK79WTObEaO/QunYBczDcGKTUIgULY kTLxsrJ9LB5UreY0J2yDtSUWmhivF/27f8aGKwjvuGNm0rpNd5IO+H79E30xDItBkEFu FmNJe8mNgvgJD+4MqKtMdvjFipz+QPt8L8KFhTNEUwfAicNZYkMuThGP3X11hLmu46Gv M78uwW7mz1IkhyD1B3GpagXMGntmzMST1qrXzzlzHEhJr9oZd1mBUMgYimfSPg78JISu 2lDA== 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=tEQKTUJBg7oVCdSpxZbtyAdPUOmijuRhuTipnGti9eg=; b=rebPY46lhM5j49MLL+uVaGalg2NNQfcNSwnad0kEbxY3bTz7jNTcu5yya6z6wXI0Yj hqyTXlZvC9oZeQwYminaY4Y3fIk/c5Fm73NooOaz77ghquO0i2r9swIHu+uz0KczAqDa zlqH8aVgUJSGXQYABaZKwukBUukmlHb3FPgGcPINEivHse1q3WpwpJ7LvoBCMT3+m09g 5jfdxqD+sqGvsXcfkOWl3oPZ06zLWpndsLCfmqYwXQxWE9nOW9ul2v/Cq/Aw0nAQQHSt fFHwuQ5rQgjsXGZhPhaoMwLFSYSWVkbMFgRwP4jGq3OwMwTHWcc4Nlm070rD6GaAA5jh 4H3g== X-Gm-Message-State: APjAAAXWG0UdZnwHJgtSuGrCRMxbUfZDAeKexN0a7DbtzOT1Z1oPpJMn k+v5EO5K2MsdqkmhbFK0MjDOohfp X-Google-Smtp-Source: APXvYqxmG/WFltSoYkYItBUoRqCPRErVbnr9o0rsODYnN0VBqbRW5n2rsi46vDCgFBMskCy0o8HjtQ== X-Received: by 2002:a6b:3e57:: with SMTP id l84mr2569021ioa.164.1559217680385; Thu, 30 May 2019 05:01:20 -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 r12sm957726itb.2.2019.05.30.05.01.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2019 05:01:19 -0700 (PDT) In-Reply-To: <20190530094936.GA22903@15inch.localdomain> (Evgeniy Dushistov's message of "Thu, 30 May 2019 12:49:36 +0300") 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:159911 Archived-At: Evgeniy Dushistov writes: > These are spontaneous errors, I have ~10 good cases, > when all works fine vs 1 bad case, when rending or jump to source location works > only for subset of errors/warnings. Could you evaluate the code below, and then post the contents of the *trace-output* buffer after a bad case happens. (defun bug-36001-clear-trace (&rest _) (with-current-buffer trace-buffer (let ((inhibit-read-only t)) (erase-buffer)))) (advice-add 'compile :before #'bug-36001-clear-trace) (trace-function-background 'compilation-filter)