From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57884: [PATCH] Flymake backend using the shellcheck program Date: Sat, 17 Sep 2022 14:17:54 -0400 Message-ID: References: <87a66yaqwc.fsf@gmail.com> <83bkre0w4m.fsf@gnu.org> <871qs9c3er.fsf@gmail.com> <837d2128io.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40872"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57884@debbugs.gnu.org To: Eli Zaretskii , Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 20:19:12 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oZcPH-000AWq-TZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 20:19:11 +0200 Original-Received: from localhost ([::1]:41222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZcPG-0007C5-Vx for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 14:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZcP9-000783-5m for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZcP8-0001O6-KX for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZcP8-0000L1-G7 for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 14:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 18:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57884-submit@debbugs.gnu.org id=B57884.16634386821217 (code B ref 57884); Sat, 17 Sep 2022 18:19:02 +0000 Original-Received: (at 57884) by debbugs.gnu.org; 17 Sep 2022 18:18:02 +0000 Original-Received: from localhost ([127.0.0.1]:47178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZcOA-0000JX-0M for submit@debbugs.gnu.org; Sat, 17 Sep 2022 14:18:02 -0400 Original-Received: from mail-ot1-f48.google.com ([209.85.210.48]:44950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZcO8-0000JH-E1 for 57884@debbugs.gnu.org; Sat, 17 Sep 2022 14:18:00 -0400 Original-Received: by mail-ot1-f48.google.com with SMTP id x23-20020a056830409700b00655c6dace73so14794763ott.11 for <57884@debbugs.gnu.org>; Sat, 17 Sep 2022 11:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=AXi5PYSYhdYhlCvGR9iipGHyR5mjo+b7PwF1E/XdrQ8=; b=pFb8pF7BL7McehZr+OOfsKuV6W8YE/Y/A8nE4QbKZ/+lkgJ+aPStewYpz7K2kl5urD s4l5HPECnS60Yt4NTwl3r0ZC1SWEIcPD9rdjM1BNUJX1ttWxSQbg5w6euk2ddDFYId8W QhWfOY160MU/v0XxKgcO7xVMyS9BdoHN7gU2FuqblnEJL0Nnkn9mfJmFcg+m8eDNjNGv IV0/W0KdElVWMkvUuhve47TJdeUrRFkARSCjX6NUNFV+WxGmOEwEtilMCjShjxufqg4m LhGr0AuzPHlXJkwryKWKU3geSpV+Wa0g/ZFENal4s9dLS9qciMe9NRZwTzC4d9adJh6u +L8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=AXi5PYSYhdYhlCvGR9iipGHyR5mjo+b7PwF1E/XdrQ8=; b=0hpWgaPFK85gTYnRyxGCUDXICQIgggCHdWPez0rFDFP3aOaqU8gnKnX58Hb0Fr+Vj4 YwRsYqGvqzXKNsOhFvkacyCT3ppibyiaAqd6Wht7EkUN0t99SnsTP2GaoxiX5LHIoOnV 08uPRW2JO89ci8ZVYBavcWARK2weCkZOYei0doNh5zzSChuv+9TUJyiNi8+Pfgx0E3E8 5Oo/TNF2qFgWLiy4eAVgPilQpdUTcnObrEj3SN24ghfqWSVD+eEKgtfZe9LGpLY0fl7V 0OstyB8K7NzZC5c3NNaJYLmIfPKvx8KxUy9Iub7Hm0L7vbGgMdxQx4qYSvCKXSF8jnGU ZCHw== X-Gm-Message-State: ACrzQf2BD8p8T8yQjSyN+Ch01tEip2ztdulZ6m/+ZWEQLysEcLfeBoJS mSTNFxOBYjN0A2dH10Zp5wWUPlR8/erX8PO1Ddg= X-Google-Smtp-Source: AMsMyM5b/sNYbEWdjWLMGgeeYqFIAOrdOHHdt4yT5YXvZqX9rspG5/7aI/yvXfqu6jbNwsL9yCSDKO+2InSGmzkLEHY= X-Received: by 2002:a05:6830:3c1:b0:637:28be:7920 with SMTP id p1-20020a05683003c100b0063728be7920mr4755907otc.105.1663438674814; Sat, 17 Sep 2022 11:17:54 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 17 Sep 2022 14:17:54 -0400 In-Reply-To: <837d2128io.fsf@gnu.org> X-Hashcash: 1:20:220917:arstoffel@gmail.com::qVmlUKG4FQEVZ3yp:3XoB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242903 Archived-At: Eli Zaretskii writes: > If we don't expect users to customize this, maybe this shouldn't be a > defcustom at all? If and when we learn about an alternative program, > we could at that time decide how best to allow its customization. Makes sense. > For example, if both programs don't need any command-line switches, we > could offer a defcustom only for the program. Maybe we should just make the flags into a defcustom, because there are some useful ones like, from shellcheck(1): -i CODE1[,CODE2...], --include=CODE1[,CODE2...] Explicitly include only the specified codes in the report -e CODE1[,CODE2...], --exclude=CODE1[,CODE2...] Explicitly exclude the specified codes from the report. --norc Don't try to look for .shellcheckrc configuration files. -s shell, --shell=shell Specify Bourne shell dialect. Valid values are sh, bash, dash and ksh.