From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#36001: 26.2; compile-mode.el/compilation-mode spontaneous behaviour Date: Thu, 30 May 2019 12:40:09 +0100 Message-ID: <871s0gw4py.fsf@tcd.ie> 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="117084"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (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 13:41:19 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 1hWJQs-000UJD-3Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 13:41:18 +0200 Original-Received: from localhost ([127.0.0.1]:52512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWJQr-00015J-16 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 07:41:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWJQj-00015D-Dv for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 07:41:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWJQg-0002Kf-GL for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 07:41:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47321) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWJQc-00026U-Pa for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 07:41:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWJQc-00067D-JI for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2019 11:41: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.155921642023413 (code B ref 36001); Thu, 30 May 2019 11:41:02 +0000 Original-Received: (at 36001) by debbugs.gnu.org; 30 May 2019 11:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:60859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWJPv-00065Y-Op for submit@debbugs.gnu.org; Thu, 30 May 2019 07:40:19 -0400 Original-Received: from mail-ed1-f67.google.com ([209.85.208.67]:34577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWJPt-00065E-B3 for 36001@debbugs.gnu.org; Thu, 30 May 2019 07:40:18 -0400 Original-Received: by mail-ed1-f67.google.com with SMTP id i11so6936592edn.1 for <36001@debbugs.gnu.org>; Thu, 30 May 2019 04:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=nO9XBzJ6Qm6yJKa8rik79jZKjnej+9CYUYHAl2zNOhE=; b=2Shyk7oe3ZypXrpaIYkqvdbsdzQwQQbs+5dVDBdcK5MtEe74PkCGdLAFLtGYAQy3Aa DVhK8O6+2oHS6bfw9yzJUpBS8PZ49GrvFp6zZryOsp/V+WnG9NpeZBPlzzd4M8a4mI8P 48g9IHmkQmNCt6R4Ra9qftP6r/0XDVZIFSUge4DUx6jRZFEC9IjuYvcS6lzdV9KfV4aB 5LviEJ+3kPh0WVExYJU2pFjbNog83UGjzzFotkKDNkX2Tqa+/OeEDBrwnqfgTeyVhEOc cy+tsp8VaEGsDs/q0Ij7p4nT5jOfZmez0e2ZKAtVi92I6q/dEjMP9lI45xZLF614Rhtr afmQ== 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=nO9XBzJ6Qm6yJKa8rik79jZKjnej+9CYUYHAl2zNOhE=; b=sgJuL9+FaAtlHP4dQnlXYimL77NYZB+4K2E3/haZu4Qclz3zbSFXGAyKvapLFsMYHG owm8pEbNQ5/RCjOn4rhFwW/dNYlKUXYZDWRZDjfOeLZutJjuGbyrbuh9b0Iy6oPKamzA zv9Xu7rob7qUbnHevF13ZMXes8ThzK6ok6WHn9edcGWRZJHcBV/7kK222d5CNZOL+5Qj ydVzU7pdvzfoeIVM7dDzh6g+fSOzWYL6MqRIhkRa0+rmJKolYY0EkQwSWq2CQLEEEBoI nwVVrf1ARxDwUbeTEzagNkouDKi7neucHpD4c7zjtkyuD9WZn4NcwUKxDGgrAeTDt/9M /dTw== X-Gm-Message-State: APjAAAWD0Czy0T1waviQH3nvBKwbpJhtRoj1JuXvb6bnaFIYWiYWLEn5 LWYARtNOZgKKVvwGEX6H2nNVsg== X-Google-Smtp-Source: APXvYqyCYx25w/PZWuF1dcnwmH8woUt0xRaysXK1OtrTFSHhHaVehU8S1kYwyn4khw7WwFk9TBIwjA== X-Received: by 2002:a17:906:6812:: with SMTP id k18mr3059248ejr.95.1559216411308; Thu, 30 May 2019 04:40:11 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:8cad:ae29:555d:852d]) by smtp.gmail.com with ESMTPSA id o17sm386221ejb.62.2019.05.30.04.40.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 30 May 2019 04:40:10 -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:159909 Archived-At: Evgeniy Dushistov writes: > compile-mode.el (compilation-mode) works in really spontaneous way. > > I run compilation via: > > (defun rust-compile () > "Compile using `cargo build`" > (interactive) > (compile "cargo build")) > > Sometimes errors are highlighted, sometimes aren't. > For example I run compilation, and the first error is not highlighted: > > https://user-images.githubusercontent.com/156697/58186628-f013bf80-7cbd-11e9-956b-741e64fabbe6.png > > Then I switch buffer '*compilation*' and run M-x compilation-mode, > and error is highlighted in the right way: > > https://user-images.githubusercontent.com/156697/58186629-f013bf80-7cbd-11e9-88c4-7a1fc90b08d8.png > > Also jump to the error via C-x ` sometimes doesn't work (emacs insitead of jump to code, > asks where find source file), but after I would switch to '*compilation*' and > run M-x compilation-mode, C-x ` works again. > > 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. Are you able to reproduce these issues starting from 'emacs -Q'? -- Basil