From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Three Flymake backends Was Re: Two issues with the new Flymake Date: Mon, 06 Nov 2017 09:48:18 +0000 Message-ID: <8760anrb4t.fsf@gmail.com> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509961793 11416 195.159.176.226 (6 Nov 2017 09:49:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 09:49:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Mark Oteiza , Lele Gaifax , Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 06 10:49:45 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 1eBe2L-0002fo-I7 for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2017 10:49:45 +0100 Original-Received: from localhost ([::1]:47180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBe2S-0004U2-PR for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2017 04:49:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBe15-0004SM-Gi for emacs-devel@gnu.org; Mon, 06 Nov 2017 04:48:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBe10-00048J-UP for emacs-devel@gnu.org; Mon, 06 Nov 2017 04:48:27 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:57279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBe10-00047w-Mz for emacs-devel@gnu.org; Mon, 06 Nov 2017 04:48:22 -0500 Original-Received: by mail-wm0-x231.google.com with SMTP id z3so12785241wme.5 for ; Mon, 06 Nov 2017 01:48:22 -0800 (PST) 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:content-transfer-encoding; bh=EQ4BpzIAY/efxNKCYNPV10mTlzDJ1ZXXYusVHWOCYKo=; b=P1eK55C8tucWDqahQiFfBNZKY49N3/4fHpRCrsocpaBE+PqJ9jVwQ5zfvvVh2arxpc V/C8MQH2aYnpFNpbaov29Ep2Jexco2UceJGP5+b3PgZLsXWQV/mqWMTSEtav6Q/SopMz sqXkUQqCoYsnYB28GNpzqY+Ueol8/dmy3w/m/L72aNQT1avFVuTD6yG6AEcw9rFWnfZ9 J3hwbnnLDE4/10axnCK02Ewju00oHYaBUK/QMiN2XSbCNAHs9uFOvmliwIZVulYm4G3D ekVu/94k/1QhSMn+vdPbeu355NavJNN1d8oBOds8AaHl6wzieermRmlEal6QwlhZ3KkS BKhg== 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:content-transfer-encoding; bh=EQ4BpzIAY/efxNKCYNPV10mTlzDJ1ZXXYusVHWOCYKo=; b=iha0yy9YkelLNnf2urS8xUGEQuh1LB2UtuJXWYV/NrGdcejzWYV87ckuit31DO594E zflFQnxNXPwknf20gzuoun8BShDmBbiyTTTsFkbjlZNMF8ybY5ZlqTLKFWkfX97U8q1m BILoOOAnlj0TN77LXnnmXDwkdtHLOFxU9AZZlvktCBZ4QN4U37Hp2HTzBEYZtm7uT8cy 6+ncDPeOPP7WzgL2evMhgSB219VZYqQOJeQekuI0Dj/8vMnp3gJesrUKG/tAYyOuN3eT mUkGkZV+yQRoBq2d9zGbNeMBaOrXdlw81KPt4YVbnMPhKtkzl28m7CaLXX8x9jiYRtRl 5uOw== X-Gm-Message-State: AMCzsaWzPj6MsR8QGYsIy0G0ePTSP20tdypm7TlnR9BX9MzyhNl06/36 gGKuCk31JXhua8NLihwr4SIpBllg X-Google-Smtp-Source: ABhQp+STFVpzmMoGiqkoocNVMVJssyyZUVfWQlKPJF6AXFUBKY8uy7lm2MAks5rKdvRuwtXgOoqtjw== X-Received: by 10.80.187.44 with SMTP id y41mr19361927ede.154.1509961701122; Mon, 06 Nov 2017 01:48:21 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id r4sm13202110edd.4.2017.11.06.01.48.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 Nov 2017 01:48:20 -0800 (PST) In-Reply-To: (Dmitry Gutov's message of "Mon, 6 Nov 2017 01:56:22 +0200") 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:219939 Archived-At: Dmitry Gutov writes: > On 11/5/17 11:05 PM, Jo=C3=A3o T=C3=A1vora wrote: > >> FWIW I installed it and quickly hacked up this. It's the same >> boilerplate again, with the tiny exception that rubocop needs the file >> to be also saved for some reason (pure stdin doesn't work for some >> reason). > > Thanks. Is there a place in the code where you are saving the file? I > don't see it. 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 > 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. > > 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 :-)