From unknown Fri Sep 12 04:34:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29014: [PATCH] Fix typo in error message Resent-From: Lele Gaifax Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2017 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 29014@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150903280216189 (code B ref -1); Thu, 26 Oct 2017 15:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2017 15:46:42 +0000 Received: from localhost ([127.0.0.1]:35250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7kMk-0004D3-Er for submit@debbugs.gnu.org; Thu, 26 Oct 2017 11:46:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7kMh-0004Cp-R1 for submit@debbugs.gnu.org; Thu, 26 Oct 2017 11:46:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7kMY-0004GW-6O for submit@debbugs.gnu.org; Thu, 26 Oct 2017 11:46:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7kMY-0004GD-1y for submit@debbugs.gnu.org; Thu, 26 Oct 2017 11:46:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7kMW-0003Ro-RJ for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 11:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7kMS-0004C1-Qq for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 11:46:28 -0400 Received: from mail.arstecnica.it ([144.76.81.238]:58437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7kMS-0004Aq-I6 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 11:46:24 -0400 Received: from nautilus (assp.arstecnica.it [192.168.1.102]) by mail.arstecnica.it (Postfix) with ESMTPSA id 643BE83EEEC for ; Thu, 26 Oct 2017 15:46:20 +0000 (UTC) Received: from nautilus ([31.44.165.109] helo=nautilus) by assp.arstecnica.it with SMTPS(AES256-GCM-SHA384) (2.3.3); 26 Oct 2017 15:46:19 +0000 From: Lele Gaifax Date: Thu, 26 Oct 2017 17:46:19 +0200 Message-ID: <87lgjxoqt0.fsf@metapensiero.it> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Assp-Version: 2.3.3(14029) on assp.arstecnica.it X-Assp-ID: assp.arstecnica.it m1-32780-10021 X-Assp-Session: 119631DC (mail 1) X-Assp-Envelope-From: lele@metapensiero.it X-Assp-Intended-For: bug-gnu-emacs@gnu.org X-Assp-Client-TLS: yes X-Assp-Server-TLS: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --=-=-= Content-Type: text/plain There is a typo in the legacy Flymake backend, when it cannot find a suitable initialization function it says "Can find..." instead of "Cannot find...". ciao, lele. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fix-typo-in-error-message.patch >From ee6bb6d3f0a79c6322c10923abdd0aaa64183163 Mon Sep 17 00:00:00 2001 From: Lele Gaifax Date: Thu, 26 Oct 2017 17:34:25 +0200 Subject: [PATCH] Fix typo in error message * lisp/progmodes/flymake-proc.el (flymake-proc-legacy-flymake): Replace "Can find" with "Cannot find" in error message about missing init-f. --- lisp/progmodes/flymake-proc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el index a9caef4fc8..e37e8a4ab3 100644 --- a/lisp/progmodes/flymake-proc.el +++ b/lisp/progmodes/flymake-proc.el @@ -753,7 +753,7 @@ flymake-proc-legacy-flymake ;; trying if the directory is read-only (bug#8954). (file-writable-p (file-name-directory buffer-file-name)) (flymake-proc--get-init-function buffer-file-name)))) - (unless init-f (error "Can find a suitable init function")) + (unless init-f (error "Cannot find a suitable init function")) (flymake-proc--clear-buildfile-cache) (flymake-proc--clear-project-include-dirs-cache) -- 2.15.0.rc2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929. --=-=-=-- From unknown Fri Sep 12 04:34:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29014: [PATCH] Fix typo in error message Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jan 2018 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lele Gaifax Cc: 29014@debbugs.gnu.org Received: via spool by 29014-submit@debbugs.gnu.org id=B29014.15148283758372 (code B ref 29014); Mon, 01 Jan 2018 17:40:02 +0000 Received: (at 29014) by debbugs.gnu.org; 1 Jan 2018 17:39:35 +0000 Received: from localhost ([127.0.0.1]:60142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW43i-0002At-R5 for submit@debbugs.gnu.org; Mon, 01 Jan 2018 12:39:35 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW43f-0002AY-2i; Mon, 01 Jan 2018 12:39:31 -0500 Received: by mail-io0-f175.google.com with SMTP id g70so34411996ioj.6; Mon, 01 Jan 2018 09:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=EovZ+nX6kKKP2a/tnG9c1X3PcjP2sGVUlrlGDllz2oA=; b=CgfcGjKO9IA/3UFwBRXduY4dz/fyXHDbAq9UQVD9m7wQZP2061H1olIVT98bCPVAMR MLRTIqd1zUKFT2inB7hS+Xt+VG02IRFwX/0c6PZb+Ra+AXnaNDwFDxsELs6WzSfY5BZ0 178ThBUcjuDtCUgnHRoJmlM8ZHLdt6s8nVp9pslQK1AYPHy2PlnnKTLouo3sRREPeUWS aH5cExEuDNQxBEG1ca5i5AId+/fM3S5k1k+f7u39QZv76siU3Cw1N6a1lflMochbydRC 1sRLyIaBOqMnONqzOxHLv6a1ieBSJVg535+oKECU1QrziwA0L+FjSTtuA9rkd1/V3foD fYcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=EovZ+nX6kKKP2a/tnG9c1X3PcjP2sGVUlrlGDllz2oA=; b=ALjZWz1OkTiosmicQPd65jzp44DrW7JOsMDkewNt3dr6AVQZ7L3FvkOgrvYTdoxAVS R1Qjp3t43bw8YMLTCuoq5+wOFRcUhk1tloeIkpKdw0wRbaPk8bBpieNbYNiy0wm3NDMJ mzoKaqvDLScLmM3aPyRjfoT8pSSefaq6UciIxMWtIv+NJIILdC/w5mBF1BKy/sy1NifU ECTrmkq/lSUj1QOoBpreDWsgvwc7XD9fyKH1YnmMVj8kuEVpkOWwo8lqqKLKW4CRnFcl fqrDPWCrTbn2yqXFmLnElD6iwQfYTQMeq6PjUQqmNgnXswm4VBfB3rAfO7iCJSGKyh5d gtLA== X-Gm-Message-State: AKGB3mKdY3kYJClZjeXG8P962C3yAbWEz3EDSNv2QgyHYtCCUILp1TNT aIcoPyCJgcDEkzvxrcLu+IbgxQ== X-Google-Smtp-Source: ACJfBovFqFKL4qEbUSp/hbOOd9F4xkV0h3X45YgsyFIqkPLATtRhiodABtyTKh2BfZpyJcu2uRD6Nw== X-Received: by 10.107.114.23 with SMTP id n23mr40630240ioc.38.1514828365147; Mon, 01 Jan 2018 09:39:25 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 72sm3890295itg.0.2018.01.01.09.39.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jan 2018 09:39:23 -0800 (PST) From: Noam Postavsky References: <87lgjxoqt0.fsf@metapensiero.it> Date: Mon, 01 Jan 2018 12:39:22 -0500 In-Reply-To: <87lgjxoqt0.fsf@metapensiero.it> (Lele Gaifax's message of "Thu, 26 Oct 2017 17:46:19 +0200") Message-ID: <87a7xxtr5h.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) tags 29014 fixed close 29014 quit Lele Gaifax writes: > There is a typo in the legacy Flymake backend, when it cannot find a suitable > initialization function it says "Can find..." instead of "Cannot find...". It was fixed with "Can't find..." instead. [1: c65a0ae7c4]: 2017-11-22 01:51:48 +0200 ; Fix a typo https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c65a0ae7c4592d7fd9a47de3231e6ed07807f8af