From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34294: 27.0.50; flymake-start-on-save-buffer has no effect Date: Mon, 04 Feb 2019 23:24:41 +0200 Organization: LINKOV.NET Message-ID: <87o97ruu06.fsf@mail.linkov.net> References: <87lg2x6fox.fsf@mail.linkov.net> <87h8dkk3ho.fsf@mail.linkov.net> <87y36w8qvy.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="32045"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 34294@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 04 22:58:00 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 1gqmFZ-0008AX-L5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 22:57:58 +0100 Original-Received: from localhost ([127.0.0.1]:49988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqmFY-0003TZ-Mi for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Feb 2019 16:57:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqmDp-0002JY-Q8 for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqmDl-0002e2-SG for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60510) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqmDi-0002aV-Uu for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gqmDi-00014Y-T3 for bug-gnu-emacs@gnu.org; Mon, 04 Feb 2019 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Feb 2019 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34294 X-GNU-PR-Package: emacs Original-Received: via spool by 34294-submit@debbugs.gnu.org id=B34294.15493173344022 (code B ref 34294); Mon, 04 Feb 2019 21:56:02 +0000 Original-Received: (at 34294) by debbugs.gnu.org; 4 Feb 2019 21:55:34 +0000 Original-Received: from localhost ([127.0.0.1]:59783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqmDG-00012o-3A for submit@debbugs.gnu.org; Mon, 04 Feb 2019 16:55:34 -0500 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:42352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqmDD-00012d-RU for 34294@debbugs.gnu.org; Mon, 04 Feb 2019 16:55:33 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 115A012246E; Mon, 4 Feb 2019 21:55:30 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a25.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AE87A120971; Mon, 4 Feb 2019 21:55:29 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a25.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Mon, 04 Feb 2019 21:55:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Reign-Bottle: 3d85bdce7b358636_1549317329866_331488137 X-MC-Loop-Signature: 1549317329866:1946370768 X-MC-Ingress-Time: 1549317329866 Original-Received: from pdx1-sub0-mail-a25.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a25.g.dreamhost.com (Postfix) with ESMTP id 577377FEF5; Mon, 4 Feb 2019 13:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=FuruNiW6pObs8pePAzn2GcqjOrU=; b= RmJSjSWMr9ifNIPq87J22CuFED1gp+Xi60YWgmX57yJd19TPlpvd20i9TUObdprz C38/CC5Vej8it70dW27bT/SzE9v8UrHZgyEONb/JMbf2oZ7K8dVvxWZbxAmU5HQ0 zVg28g3K66SWkAtelz2HkleeRVYJwZnn4ozWTiD6rWw= Original-Received: from mail.jurta.org (m91-129-111-71.cust.tele2.ee [91.129.111.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a25.g.dreamhost.com (Postfix) with ESMTPSA id 175E77FEE2; Mon, 4 Feb 2019 13:55:27 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a25 In-Reply-To: <87y36w8qvy.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 03 Feb 2019 22:10:41 +0000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrkeeggdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdduuddurdejudenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdduuddurdejuddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehjohgrohhtrghvohhrrgesghhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt 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:155093 Archived-At: >> 4. Also I found these related entries in the same etc/TODO file: >> >> ** Display something in the margin on lines that have compilation >> errors. > > Flymake does this, even though it uses the fringe by default, but I > don't have more clues to what the author of this line intended. I guess this is exactly what Flymake already does. >> What do you think about displaying a tooltip on the fringe indicator >> with the same text that is displayed on the tooltip over the location >> of the error in the source buffer? It's easier to hover on the fringe >> than finding the location in the buffer to hover. > > I don't have any strong opinion. It's fine, I guess, but not > specifically tied to Flymake. It may be difficult to implement. Yes, this is a more general feature. I could look at how easy it would be to implement, and later to use in Flymake. > BTW you can use flymake-goto-next-error and flymake-goto-prev-error to > navigate between errors, it's what I use all the time. Thanks for the suggestion. I could also look how easy to integrate flymake-goto-next-error into the more general next-error framework that provides easy to type keybindings. > So to summarize, it'd be great if you could provide the three patches to > implement the suggestions you gave. OK, I'll provide these three patches. But first please look at my feedback on your suggestion to set flymake-no-changes-timeout to nil: after trying it, I see that it helps me, but also it requires setting flymake-start-syntax-check-on-newline to nil, because otherwise syntax check is started on an unsaved buffer when yanking text that contains newlines.