From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Adding Flycheck to NonGNU ELPA Date: Thu, 22 Feb 2024 05:16:45 +0200 Message-ID: <553db84b-e29b-4622-a02d-77e250f2d1d2@gutov.dev> References: <41bdb94a-3f9c-4b46-b061-b0c5e31a403e@app.fastmail.com> <871q98bb7q.fsf@posteo.net> <72490bec-175b-46b6-aaf9-153b3c242b70@app.fastmail.com> <87le7g9tg9.fsf@posteo.net> <874je413vo.fsf@tanaka.verona.se> <87le7f1hlq.fsf@posteo.net> <69829f55-511b-4543-9a1b-938a5e8ac08c@gutov.dev> <87zfvtwy2w.fsf@posteo.net> <706be920-cbd4-42d8-8c76-3abdb7e7b026@gutov.dev> <87edd5wv59.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: joakim@verona.se, Bozhidar Batsov , Emacs Devel , Steve Purcell To: Stefan Kangas , Stefan Monnier , Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 22 04:17:52 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rczao-0001Bl-Ko for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Feb 2024 04:17:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rczZw-0002Eh-Nb; Wed, 21 Feb 2024 22:16:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rczZv-0002EQ-5t for emacs-devel@gnu.org; Wed, 21 Feb 2024 22:16:55 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rczZt-0002gr-3x for emacs-devel@gnu.org; Wed, 21 Feb 2024 22:16:54 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 400EE3200AEE; Wed, 21 Feb 2024 22:16:49 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 21 Feb 2024 22:16:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1708571808; x=1708658208; bh=DGIJxYHMUPkDsy4KnafZxOSrNq6SsMcwUirX6DnH0r0=; b= V57Xh2XJe4iIzF/SCNTH/w5+d5LH8jRZWgVdcOm0hc2PkQ4DFqQTQFq3/U6M/xmd +k7w4wYrDz3GUmioaZwA81MsHubYn+Sz6HdqzADyh+q27MQCZjllU6CI9i4SPDqs Kj3smkg8pXdVPPVLMPQYPBWwYmpw925bA4e1ZFUX69lN7Pu85+u34r2ERS9amAp2 ozsVjLhEUsnMZluq7eXYugF1eeItKSdZZLD5FewfBHAP3qQo/ABjrMAMu7576Ent 1sVJjFwUWRsD5lmykr13FOXK6vFa3cuWHTAsTC5KngIwad1q9iITGumDfWSprmBb +TS1mG3xo0aKL0TqxSoH5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1708571808; x= 1708658208; bh=DGIJxYHMUPkDsy4KnafZxOSrNq6SsMcwUirX6DnH0r0=; b=a KK8aMuKM1i6QLVGxl3TGlNVte2ZYRiC6AUigg5XT0C8N5U0FW4ZKMJOAhYt4DOL+ rU1hZtfJRKFc+JXaowaKqNV+wbdMVc6AHbFK5aXWY9rD/pjakD23oKblPM/ONXhx mF/56n/I/ClSTI186d4aCZkbWQ7Mfwbpt6wLaaeenwZw9UCwd5kLLW8jHbDztqk2 IQl/CB9KqvYX8nfhv7M5BnYyz9FCT39Y+mDG/Bnd5P1zWe1ik7dzYj3lbnb7kDb3 Z13l6Lnhghoq59v6wc0/0tWVh0PEnMX/U4FUoz5gKknEb6m8B/XPyvlytHZ3QU9I PnB9tvoct3CkS2xmbC2cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeefkeehueetieegveeltdejfeehfeehheejheekuefhfeefleevffelheefhfdv veenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Feb 2024 22:16:46 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.19; envelope-from=dmitry@gutov.dev; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316434 Archived-At: On 21/02/2024 23:19, Stefan Kangas wrote: > Another thing is that we could use a good built-in macro to define > flymake backends. > > Perhaps Steve Purcell (added to CC) could be convinced to contribute his > excellent flymake-flycheck[2] and flymake-easy[3] packages to core? > This would kill two (or more) birds with one stone, and also remove some > of the gripes that some users have with flymake. There doesn't seem much point in having flymake-flycheck in the core when flycheck is still required to use most of its backends (they're part of the package). It also depends on flycheck at runtime anyway. flymake-easy has another problem: IIUC it hasn't been updated for 10 years, and as such only uses the obsolete Flymake protocol (one we keep in flymake-proc.el for compatibility). It also employs defadvice. Back to flymake-flycheck, I wonder if it would be a better idea to have it as part of the flycheck package itself (fewer things to install and enable separately). But then it's not obvious at which point the checkers should be made available to flymake. If that happens when flycheck-mode is enabled, that would be too late: at that point the user has seemingly indicated that they want to use flycheck as UI as well. > [2] https://github.com/purcell/flymake-flycheck > > [3] https://github.com/purcell/flymake-easy