From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Three Flymake backends Was Re: Two issues with the new Flymake Date: Mon, 6 Nov 2017 12:35:15 +0200 Message-ID: <531f8110-5207-0e40-aa24-0ddc1abb8c08@yandex.ru> References: <87k1z7adxi.fsf@metapensiero.it> <87po8zrubl.fsf@gmail.com> <87a800swy5.fsf@gmail.com> <04d1a3b5-9651-c46d-0e3b-7e1c858cda02@yandex.ru> <87zi80rhak.fsf@gmail.com> <829794de-27ca-383e-2b3a-a5bc4405581b@yandex.ru> <87k1z4qvv5.fsf@gmail.com> <8760anrb4t.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509964576 21354 195.159.176.226 (6 Nov 2017 10:36:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 10:36:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: Mark Oteiza , Lele Gaifax , Stefan Monnier , emacs-devel@gnu.org To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 06 11:36:12 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBelH-0005JP-3B for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2017 11:36:11 +0100 Original-Received: from localhost ([::1]:47388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBelM-00084q-Oh for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2017 05:36:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBekX-00084j-VF for emacs-devel@gnu.org; Mon, 06 Nov 2017 05:35:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBekV-0003V3-34 for emacs-devel@gnu.org; Mon, 06 Nov 2017 05:35:25 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:49607) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBekU-0003Uo-MZ for emacs-devel@gnu.org; Mon, 06 Nov 2017 05:35:22 -0500 Original-Received: by mail-wm0-x231.google.com with SMTP id b189so12636699wmd.4 for ; Mon, 06 Nov 2017 02:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=x+KiUV+YFP2gERb9cH9jGQkhZjv5vBomspKBlXFYOlo=; b=Pfmz9Blo3B8Cz822WnTrlJTANSQr14TNkTrS8lqtqMl27jSSGlrqFtKz1j/FeWKkVV vf/PtaTGOC3221P8ZE7W8flsfpn7zRz48uERWs9D2HvpuCjzFMpgcQ6eHCl/Rwxqr2+J TTW7EYPqjsns4SwIY41CEOXDxfpzSq/xfb/oBIS3X6idctPsU2lTxg5Pm/Hy5Prje8CO +2QTsohne2/EwIOxAc7rrRct9K0lxE8DtlojRmy5w5zgoQ6Wdqm6BsjqiUeoaVZYk6so Wb+76Y5iQwvgmvUh6J5HqrExEl5re27g0iBQaNaASJZKPzdJdV8tK5uUE47mwMYBCvY8 8j3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x+KiUV+YFP2gERb9cH9jGQkhZjv5vBomspKBlXFYOlo=; b=NNV8ryL78wBdKD5TTrY88K/+Vr9Z7C38MlBkLs7JYQz5x5FsZW36agwRW6VnpOp02c J/diNAW/YNMoeDZ+HC0MJHdAtzQzUaOKKEcPGH5gVlBWjfbHS/ywpAUdLyEpoA04yHh1 X6SD9xcrbP/ffLlzjpO5Unp2VA+RY/fbZTbZ+MFWy9vhwI3zQeBdUiHUUQEZyGR72eih tp/ieaSQ2wFgLJW6pVs4QoN5jVcSoKxIpjx71EgQi4KS+saOvDFFj8cwO5S+ieGOkZYk LagygTYFWEwAmOYDUT7iKK2fot9wyqtg4NPKTFsjdZ5e+VlUGlbn47jFm38cAfUAY2Dv NcJQ== X-Gm-Message-State: AMCzsaXS0DU4OGXJOzm92VoBGIttNqbIIVqwZuA4qQARLk/kk2wv0CMc mXwtvqMyu+7jXJRGqoaONpRcLuol X-Google-Smtp-Source: ABhQp+Rx7Bp1CVTtV+VdgwxW2/nx1WByY2J/jN8pXQNZE/WOZEJOxcs1bNaQNrynbDJ5dQ+R6Zqjiw== X-Received: by 10.80.182.116 with SMTP id c49mr19565340ede.124.1509964521079; Mon, 06 Nov 2017 02:35:21 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id m23sm13103032edc.53.2017.11.06.02.35.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 02:35:19 -0800 (PST) In-Reply-To: <8760anrb4t.fsf@gmail.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219940 Archived-At: On 11/6/17 11:48 AM, João Távora wrote: > No, I misexplained. Rubocop needs the buffer to be sustained by a file, > but then (mostly?) reads from stdin like it doesn't need it. It baffles > me, and possibly also flycheck.el where I learned about it. The flymake > backend just gives up if there is no buffer-file-name Ah yes, I've read that too. >> The backend seems to work fine for me in this regard, but that might >> be dependent on the version, see >> https://github.com/bbatsov/rubocop/issues/2576. > > Hmm, then maybe I have an old one, I used apt install on debian. Probably not. Anyway, I didn't see any difference with '--cache false'. >> That aside, it seems like it didn't pick up the project configuration >> file. Here's what worked for me: > > Hey I didn't spend more than 5 minutes with it :-) However long, I'm glad you did. Now, the version I've sent is pretty much working. Will you push it to emacs-26? Where will it live? How/when will Flymake choose between rubocop-flymake and ruby-flymake?