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: Sun, 05 Nov 2017 12:59:30 +0000 Message-ID: <87a800swy5.fsf@gmail.com> References: <87k1z7adxi.fsf@metapensiero.it> <87po8zrubl.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 1509886850 15919 195.159.176.226 (5 Nov 2017 13:00:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Nov 2017 13:00:50 +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 Sun Nov 05 14:00:44 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 1eBKXY-0003Uv-2E for ged-emacs-devel@m.gmane.org; Sun, 05 Nov 2017 14:00:40 +0100 Original-Received: from localhost ([::1]:44032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBKXf-0006Pn-GG for ged-emacs-devel@m.gmane.org; Sun, 05 Nov 2017 08:00:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBKWb-0006OK-AY for emacs-devel@gnu.org; Sun, 05 Nov 2017 07:59:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBKWY-0003F7-A5 for emacs-devel@gnu.org; Sun, 05 Nov 2017 07:59:41 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:54192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBKWY-0003Ea-4M for emacs-devel@gnu.org; Sun, 05 Nov 2017 07:59:38 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id r196so9276051wmf.2 for ; Sun, 05 Nov 2017 04:59:37 -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=2xk0dbGPYQLW4vElb3K/Kecgaig1XbJ/QVpjxuxEmps=; b=UH+OwAhafxR5SJCisQpxgCGA9whLAyp+c/g7PD0wxXJIGhAGmsFGuJlQ/g9+GKDk3n 3lzR4/1K3HIeRmK08+F8DJbtErE49nab45b/i0shZlMa5Wc9R6jkFXpqBltvTJxzAbGG /rM6O66mnQbIrI03++zsGrzRF1s5XVyZG71r9JTjdn/tgX8me5hM+oJe5V+6/POpb0l0 54qW0rxlYXwdlWjtPPjxdsVRnVbnq/6WIFXgzdPJxCHVOe+jgLjjfg8H5OoSeLY/1VQN +ytUy1M3u5keCzI88AQ1JB+n6rvgyXIE9ej15ktgnCIuIE/QMXitcdx/F4iefPEwpyEi ui2Q== 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=2xk0dbGPYQLW4vElb3K/Kecgaig1XbJ/QVpjxuxEmps=; b=VEjHIxDvMy4g8E2Oy8vVgdGRDbnfh7KCAbzDpC97g51jqEXKFUTwhzHIkhc45g7tAD +V4KQJ+m+AQ/5hL5hxyvg8naGkVepx2On4vDTzaKGnVfSmAXnNmV+te42QbjYw9xg9hK B+1xfsxIuX24S4bxScwLW33y4SxtglrPJYrXuUpUttOiDAB6qosz7+vKyTqGwNoZrYPh h/icp0QIy5y2eZwXW50JoxeTm+mxNG67NXHVinxRaSukwUKlhprFUiikIqNmLzT+ZcKc mR8gYK0S7jiU+c3Lyn5n59i8GOvw+NhCerYHrxiMyx77WiUp6AcIY6Evaa3+lck0/im7 HV3A== X-Gm-Message-State: AMCzsaWXv9GPd0CAtUg26EElgnEn2EdluMTYg/KZMLl2QCuGPYMfcPmh +A/5qW8rxJRT4EyA8azJANj4e89U X-Google-Smtp-Source: ABhQp+Sh1YxbxhVskfI91U8S7KuKSilsuY8oQMSwyw/oUQy3P+7nkFqTOZR9YCTL/L4sTFF6F+wjfg== X-Received: by 10.80.169.15 with SMTP id l15mr16069112edc.269.1509886776689; Sun, 05 Nov 2017 04:59:36 -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 a39sm9966498eda.79.2017.11.05.04.59.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Nov 2017 04:59:36 -0800 (PST) In-Reply-To: (Dmitry Gutov's message of "Sun, 5 Nov 2017 14:50:56 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 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:223441 Dmitry Gutov writes: > On 11/3/17 10:17 PM, Jo=C3=A3o T=C3=A1vora wrote: > >> I attach patches for Lele's Python backend, which would close 28808 and >> I'm also throwing in backends for Ruby and Perl. > > I think you've attached two patches for Perl, and none for Ruby. Oops. But I've just pushed the correct set emacs-26 if you want to have a look now. >> So I'm thinking that, for master (_not_ emacs-26) we could use a >> declarative flymake-define-simple-backend macro. > Why not make it a function? From what I can see, the usage will just > have to quote the first two arguments. Because the macro defines a new function.