From unknown Sun Jun 15 08:57:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#74207: [PATCH] make-mode: Add the missing GNU Make functions Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2024 22:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 74207@debbugs.gnu.org Cc: Ola Nilsson X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.173075991215433 (code B ref -1); Mon, 04 Nov 2024 22:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2024 22:38:32 +0000 Received: from localhost ([127.0.0.1]:42793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t85iS-00040q-7J for submit@debbugs.gnu.org; Mon, 04 Nov 2024 17:38:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:43282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t85iP-00040j-EA for submit@debbugs.gnu.org; Mon, 04 Nov 2024 17:38:30 -0500 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 1t85iP-0006o7-6n for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 17:38:29 -0500 Received: from mail-vi1eur05on20623.outbound.protection.outlook.com ([2a01:111:f403:2613::623] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t85iN-0005Zk-Jd for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 17:38:28 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HJwqDp822QiChWZcvxo/H/h1Maat48K05mBGJ/TlaSeY6w43fdW6kvgKB1m04odxR6Evxf6+aBIy3OGq4ymhqkDU6mnNcks0+oyxG1JEdx8d/zMjX6Cl9htyxDEkueKX56l4R5FxsIi2qb33ll7Ppck1n6UJkuT/43q7Rz0U8yHGyz3Opw4Scc93IxqlDvDXmcPRrLzf145M+D7HMUhSGLWi3e9Z0kcUZjXfjeOuUdomLbSxkdB1U+FlZHc2Rr3Te50RT6EpvIyL1QQfLXeAmprKnnYS/u2jBgfX+cIvUU4VHcPUQRCGO56fnoOu6mchMc4+4vPEgh6zTR+7TxcQaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P1FleFji2UUHUHx35oWvVoapiUVmbVpTAEADCrTZCgs=; b=ej1T6WNRsVjJ+EImD1SF1+v7AY0toUIOYEDh+4wd+mQA+S93dXd4IwB6faEQk/zpkEUmfC5O+r9NwxYmRo+2R68DNwkpJlVSX7uDTOZNn1+SUDh5HyhrAcMKTnULRv8hwTzisbqZZtBSo/3ZY3k0pda3aPqiPTeNmqunRq1MZvz1g8a6UJtDDPfs9W3cvIT9hcy8ssj8pVwXvKp3tD7unW2SgRf6yaLSuUYYWPr5pqlAJz8tRN2Sf8JQjGyCbDnA4Q0sVsadjAiVn01D3POqg7AOJbsm1L+9gbXXi1K0KqAm3kaNjDlRqKaPBtnHN3JwWakHYmiNf1yFWIzEP+M5UQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 195.60.68.100) smtp.rcpttodomain=gmail.com smtp.mailfrom=gmail.com; dmarc=fail (p=none sp=quarantine pct=100) action=none header.from=gmail.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis365.onmicrosoft.com; s=selector2-axis365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P1FleFji2UUHUHx35oWvVoapiUVmbVpTAEADCrTZCgs=; b=lOn1XhbYATWX9EjFrL1Bjdkm5kC0Sp44CfGUwn47lDxCKaTHEPrLXXOgrHttTDo8+xbHG1LyjxYg3sZckDnV2ZNOvDn2MAqNBkUreA7Ms9YNjx8S4XI8ib/LHrm2isP0e6YAu9D9ie9+y2oRj1zpUESRldjY7eriKA7BVJPvp64= Received: from AS4P190CA0042.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::19) by GV1PR02MB10662.eurprd02.prod.outlook.com (2603:10a6:150:16a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Mon, 4 Nov 2024 22:33:19 +0000 Received: from AM1PEPF000252DF.eurprd07.prod.outlook.com (2603:10a6:20b:5d1:cafe::e8) by AS4P190CA0042.outlook.office365.com (2603:10a6:20b:5d1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30 via Frontend Transport; Mon, 4 Nov 2024 22:33:19 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 195.60.68.100) smtp.mailfrom=gmail.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 195.60.68.100 as permitted sender) Received: from mail.axis.com (195.60.68.100) by AM1PEPF000252DF.mail.protection.outlook.com (10.167.16.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8137.17 via Frontend Transport; Mon, 4 Nov 2024 22:33:18 +0000 Received: from se-mail02w.axis.com (10.20.40.8) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 4 Nov 2024 23:33:18 +0100 Received: from se-intmail01x.se.axis.com (10.4.0.28) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 4 Nov 2024 23:33:18 +0100 Received: from lap5cg80647hz.axis.com (unknown [10.224.138.231]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 318F647B; Mon, 4 Nov 2024 23:33:18 +0100 (CET) From: Date: Mon, 4 Nov 2024 23:33:09 +0100 Message-ID: <20241104223309.1504335-1-ola.nilsson@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM1PEPF000252DF:EE_|GV1PR02MB10662:EE_ X-MS-Office365-Filtering-Correlation-Id: b0ade38a-3939-4d91-8aa6-08dcfd20ae9e X-MS-Exchange-SenderADCheck: 2 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|35950700016|376014|7093399012|48200799018|61400799027; X-Microsoft-Antispam-Message-Info: 39YDnMnDuv88/BpGaOmx76KLjLYE2I4YB1OrrOjsXd6/wesET9y+uR02nfS/2K0rgZWdd0MAOusTDbY2NhIUQJYUQDCs+VJWcFcxQ4mbdfVeg2g3G+/xAV7WMgrKHtXuzS2Tf0DTXzgpDepuv61ifBWqibneMUPTksW7kuItgoIHbGhScg3U2Z1L9W3g830HH+jC5OegPN3vZyfCoFS9R+OGhBOt4U9pdb4Dcw7JpuElI0WF1u9C4RqKOeUd07jVO3S81lgFGb99rUygjTys0atD/cZJPfHuWuiY3ryR66Z/4SmNHSn4petEuHjl4Z1CmYc/4yBVRZTGd2aE4g+MXToDlWXxkfElTOWJyPPD0p8k9F1C/o4B2flnQWR/guoF7AxxIS8twbtU4xVK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1; SRV:; IPV:NLI; SFV:NSPM; H:mail.axis.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(35950700016)(376014)(7093399012)(48200799018)(61400799027); DIR:OUT; SFP:1101; X-OriginatorOrg: axis365.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 22:33:18.9705 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0ade38a-3939-4d91-8aa6-08dcfd20ae9e X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af; Ip=[195.60.68.100]; Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM1PEPF000252DF.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR02MB10662 Received-SPF: pass client-ip=2a01:111:f403:2613::623; envelope-from=bounces+SRS=/sfVx=R7@axis365.onmicrosoft.com; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Ola Nilsson Add and reorder functions according to The GNU Make Manual 0.75 for GNU make 4.3. * lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist): Add missing GNU make functions --- lisp/progmodes/make-mode.el | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+ [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=bounces%2Bsrs%3D%2Fsfvx%3Dr7%40axis365.onmicrosoft.com; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in bl.score.senderscore.com] 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ola.nilsson[at]gmail.com) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in sa-trusted.bondedsender.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... 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: -1.1 (-) From: Ola Nilsson Add and reorder functions according to The GNU Make Manual 0.75 for GNU make 4.3. * lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist): Add missing GNU make functions --- lisp/progmodes/make-mode.el | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 60b87142850..5441903738d 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -704,7 +704,7 @@ makefile-mode-hook ;; Each "ARG" is used as a prompt for a required argument. (defconst makefile-gnumake-functions-alist '( - ;; Text functions + ;; Functions for String Substitution and Analysis ("subst" "From" "To" "In") ("patsubst" "Pattern" "Replacement" "In") ("strip" "Text") @@ -712,22 +712,42 @@ makefile-gnumake-functions-alist ("filter" "Pattern" "Text") ("filter-out" "Pattern" "Text") ("sort" "List") - ;; Filename functions + ("word" "Index" "Text") + ("wordlist" "S" "E" "Text") + ("words" "Text") + ("firstword" "Text") + ("lastword" "Names") + ;; Functions for File Names ("dir" "Names") ("notdir" "Names") ("suffix" "Names") ("basename" "Names") - ("addprefix" "Prefix" "Names") ("addsuffix" "Suffix" "Names") + ("addprefix" "Prefix" "Names") ("join" "List 1" "List 2") - ("word" "Index" "Text") - ("words" "Text") - ("firstword" "Text") ("wildcard" "Pattern") + ("realpath" "Names") + ("abspath" "Names") + ;; Functions for Conditionals + ("if" "Condition" "Then-part" "Else-part") + ("or" "Condition 1" "Condition 2" "Condition 3" "Condition 4") + ("and" "Condition 1" "Condition 2" "Condition 3" "Condition 4") ;; Misc functions ("foreach" "Variable" "List" "Text") + ("file" "Op" "Filename" "Text") + ("call" "Variable" "Param 1" "Param 2" "Param 3" "Param 4" "Param 5") + ("value" "Variable") + ("eval" "statement") ("origin" "Variable") - ("shell" "Command"))) + ("flavor" "Variable") + ("shell" "Command") + ("guile" "Program") + ;; Functions that control make + ("error" "Text") + ("warning" "Text") + ("info" "Text") + ) + "Alist of GNU Make functions and their arguments.") ;;; ------------------------------------------------------------ -- 2.45.2 From unknown Sun Jun 15 08:57:07 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Subject: bug#74207: closed (Re: bug#74207: [PATCH] make-mode: Add the missing GNU Make functions) Message-ID: References: <86cyj4mznd.fsf@gnu.org> <20241104223309.1504335-1-ola.nilsson@gmail.com> X-Gnu-PR-Message: they-closed 74207 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 74207@debbugs.gnu.org Date: Sat, 09 Nov 2024 11:11:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1731150662-25753-1" This is a multi-part message in MIME format... ------------=_1731150662-25753-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74207: [PATCH] make-mode: Add the missing GNU Make functions which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74207@debbugs.gnu.org. --=20 74207: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74207 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1731150662-25753-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74207-done) by debbugs.gnu.org; 9 Nov 2024 11:10:08 +0000 Received: from localhost ([127.0.0.1]:53646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9jM0-0006aS-0a for submit@debbugs.gnu.org; Sat, 09 Nov 2024 06:10:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9jLy-0006Zj-0m for 74207-done@debbugs.gnu.org; Sat, 09 Nov 2024 06:10:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9jLs-0005jd-Mi; Sat, 09 Nov 2024 06:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TOM3ATOvyjbnZiuLXMbotGitCF8T85CEd53f6O04Cl8=; b=SZL/lfgfROSR RUZF8CA4WhoYnOXKdFl1IORLLaw9DUld4Wjq/bjLt8OF+3wMe1jFeczTNd6ak+cqufTOPQKp0Pjzz RiXvRpdlpj59EX3DYM6BG3V3rxoiie/jngIWR58mWiCgLu4v7R6CNqmZ7ei7ZdWBLx0yxUY+qfvUE 9o+b5BLiD1pRPMgwO0cmW/mtXIdWcQplF+FJe3S+o5D54//g8G+DASpALo7wfvXS89t7E7r9xxFBn kQeZCqo/qdw3kL7TmslERfvmuFxSzk6J/DxJiwiOmF/grDRnvKeBBTodBikG7s9j8i2Xy56M+apBg x8/XRqRslDd8CgcmnXxIyQ==; Date: Sat, 09 Nov 2024 13:09:58 +0200 Message-Id: <86cyj4mznd.fsf@gnu.org> From: Eli Zaretskii To: ola.nilsson@gmail.com In-Reply-To: <20241104223309.1504335-1-ola.nilsson@gmail.com> Subject: Re: bug#74207: [PATCH] make-mode: Add the missing GNU Make functions References: <20241104223309.1504335-1-ola.nilsson@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74207-done Cc: 74207-done@debbugs.gnu.org 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: -3.3 (---) > Cc: Ola Nilsson > From: > Date: Mon, 4 Nov 2024 23:33:09 +0100 > > From: Ola Nilsson > > Add and reorder functions according to The GNU Make Manual 0.75 for GNU > make 4.3. > > * lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist): > Add missing GNU make functions Thanks, installed on the master branch, and closing the bug. ------------=_1731150662-25753-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Nov 2024 22:38:32 +0000 Received: from localhost ([127.0.0.1]:42793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t85iS-00040q-7J for submit@debbugs.gnu.org; Mon, 04 Nov 2024 17:38:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:43282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t85iP-00040j-EA for submit@debbugs.gnu.org; Mon, 04 Nov 2024 17:38:30 -0500 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 1t85iP-0006o7-6n for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 17:38:29 -0500 Received: from mail-vi1eur05on20623.outbound.protection.outlook.com ([2a01:111:f403:2613::623] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t85iN-0005Zk-Jd for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2024 17:38:28 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HJwqDp822QiChWZcvxo/H/h1Maat48K05mBGJ/TlaSeY6w43fdW6kvgKB1m04odxR6Evxf6+aBIy3OGq4ymhqkDU6mnNcks0+oyxG1JEdx8d/zMjX6Cl9htyxDEkueKX56l4R5FxsIi2qb33ll7Ppck1n6UJkuT/43q7Rz0U8yHGyz3Opw4Scc93IxqlDvDXmcPRrLzf145M+D7HMUhSGLWi3e9Z0kcUZjXfjeOuUdomLbSxkdB1U+FlZHc2Rr3Te50RT6EpvIyL1QQfLXeAmprKnnYS/u2jBgfX+cIvUU4VHcPUQRCGO56fnoOu6mchMc4+4vPEgh6zTR+7TxcQaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P1FleFji2UUHUHx35oWvVoapiUVmbVpTAEADCrTZCgs=; b=ej1T6WNRsVjJ+EImD1SF1+v7AY0toUIOYEDh+4wd+mQA+S93dXd4IwB6faEQk/zpkEUmfC5O+r9NwxYmRo+2R68DNwkpJlVSX7uDTOZNn1+SUDh5HyhrAcMKTnULRv8hwTzisbqZZtBSo/3ZY3k0pda3aPqiPTeNmqunRq1MZvz1g8a6UJtDDPfs9W3cvIT9hcy8ssj8pVwXvKp3tD7unW2SgRf6yaLSuUYYWPr5pqlAJz8tRN2Sf8JQjGyCbDnA4Q0sVsadjAiVn01D3POqg7AOJbsm1L+9gbXXi1K0KqAm3kaNjDlRqKaPBtnHN3JwWakHYmiNf1yFWIzEP+M5UQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 195.60.68.100) smtp.rcpttodomain=gmail.com smtp.mailfrom=gmail.com; dmarc=fail (p=none sp=quarantine pct=100) action=none header.from=gmail.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis365.onmicrosoft.com; s=selector2-axis365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P1FleFji2UUHUHx35oWvVoapiUVmbVpTAEADCrTZCgs=; b=lOn1XhbYATWX9EjFrL1Bjdkm5kC0Sp44CfGUwn47lDxCKaTHEPrLXXOgrHttTDo8+xbHG1LyjxYg3sZckDnV2ZNOvDn2MAqNBkUreA7Ms9YNjx8S4XI8ib/LHrm2isP0e6YAu9D9ie9+y2oRj1zpUESRldjY7eriKA7BVJPvp64= Received: from AS4P190CA0042.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::19) by GV1PR02MB10662.eurprd02.prod.outlook.com (2603:10a6:150:16a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.20; Mon, 4 Nov 2024 22:33:19 +0000 Received: from AM1PEPF000252DF.eurprd07.prod.outlook.com (2603:10a6:20b:5d1:cafe::e8) by AS4P190CA0042.outlook.office365.com (2603:10a6:20b:5d1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30 via Frontend Transport; Mon, 4 Nov 2024 22:33:19 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 195.60.68.100) smtp.mailfrom=gmail.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 195.60.68.100 as permitted sender) Received: from mail.axis.com (195.60.68.100) by AM1PEPF000252DF.mail.protection.outlook.com (10.167.16.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8137.17 via Frontend Transport; Mon, 4 Nov 2024 22:33:18 +0000 Received: from se-mail02w.axis.com (10.20.40.8) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 4 Nov 2024 23:33:18 +0100 Received: from se-intmail01x.se.axis.com (10.4.0.28) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 4 Nov 2024 23:33:18 +0100 Received: from lap5cg80647hz.axis.com (unknown [10.224.138.231]) by se-intmail01x.se.axis.com (Postfix) with ESMTP id 318F647B; Mon, 4 Nov 2024 23:33:18 +0100 (CET) From: To: Subject: [PATCH] make-mode: Add the missing GNU Make functions Date: Mon, 4 Nov 2024 23:33:09 +0100 Message-ID: <20241104223309.1504335-1-ola.nilsson@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM1PEPF000252DF:EE_|GV1PR02MB10662:EE_ X-MS-Office365-Filtering-Correlation-Id: b0ade38a-3939-4d91-8aa6-08dcfd20ae9e X-MS-Exchange-SenderADCheck: 2 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|35950700016|376014|7093399012|48200799018|61400799027; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?39YDnMnDuv88/BpGaOmx76KLjLYE2I4YB1OrrOjsXd6/wesET9y+uR02nfS/?= =?us-ascii?Q?2K0rgZWdd0MAOusTDbY2NhIUQJYUQDCs+VJWcFcxQ4mbdfVeg2g3G+/xAV7W?= =?us-ascii?Q?MgrKHtXuzS2Tf0DTXzgpDepuv61ifBWqibneMUPTksW7kuItgoIHbGhScg3U?= =?us-ascii?Q?2Z1L9W3g830HH+jC5OegPN3vZyfCoFS9R+OGhBOt4U9pdb4Dcw7JpuElI0WF?= =?us-ascii?Q?1u9C4RqKOeUd07jVO3S81lgFGb99rUygjTys0atD/cZJPfHuWuiY3ryR66Z/?= =?us-ascii?Q?4SmNHSn4petEuHjl4Z1CmYc/4yBVRZTGd2aE4g+MXToDlWXxkfElTOWJyPPD?= =?us-ascii?Q?0p8k9F1C/o4B2flnQWR/guoF7AxxIS8twbtU4xVKFeU+hd2Hw7HPhN3Qz2w3?= =?us-ascii?Q?fS/xsNEk33ybNzKv/ta7acNBbCJ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ztbwahZWYvEnKFQ/vZ2IQ+bIY613PBH/xBZj8Cf90mXgUaoQLd6eb?= =?us-ascii?Q?nt4hSjlcz4n1TbI8bQgmFNMPCkzjwOJeJnZM890pbLJQu0k2Iw=3D=3D?= X-Forefront-Antispam-Report: CIP:195.60.68.100; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.axis.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(35950700016)(376014)(7093399012)(48200799018)(61400799027); DIR:OUT; SFP:1101; X-OriginatorOrg: axis365.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 22:33:18.9705 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0ade38a-3939-4d91-8aa6-08dcfd20ae9e X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af; Ip=[195.60.68.100]; Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM1PEPF000252DF.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR02MB10662 Received-SPF: pass client-ip=2a01:111:f403:2613::623; envelope-from=bounces+SRS=/sfVx=R7@axis365.onmicrosoft.com; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Ola Nilsson Add and reorder functions according to The GNU Make Manual 0.75 for GNU make 4.3. * lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist): Add missing GNU make functions --- lisp/progmodes/make-mode.el | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+ [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=bounces%2Bsrs%3D%2Fsfvx%3Dr7%40axis365.onmicrosoft.com; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in bl.score.senderscore.com] 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ola.nilsson[at]gmail.com) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in sa-trusted.bondedsender.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 0.0 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit Cc: Ola Nilsson 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: -1.1 (-) From: Ola Nilsson Add and reorder functions according to The GNU Make Manual 0.75 for GNU make 4.3. * lisp/progmodes/make-mode.el (makefile-gnumake-functions-alist): Add missing GNU make functions --- lisp/progmodes/make-mode.el | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 60b87142850..5441903738d 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -704,7 +704,7 @@ makefile-mode-hook ;; Each "ARG" is used as a prompt for a required argument. (defconst makefile-gnumake-functions-alist '( - ;; Text functions + ;; Functions for String Substitution and Analysis ("subst" "From" "To" "In") ("patsubst" "Pattern" "Replacement" "In") ("strip" "Text") @@ -712,22 +712,42 @@ makefile-gnumake-functions-alist ("filter" "Pattern" "Text") ("filter-out" "Pattern" "Text") ("sort" "List") - ;; Filename functions + ("word" "Index" "Text") + ("wordlist" "S" "E" "Text") + ("words" "Text") + ("firstword" "Text") + ("lastword" "Names") + ;; Functions for File Names ("dir" "Names") ("notdir" "Names") ("suffix" "Names") ("basename" "Names") - ("addprefix" "Prefix" "Names") ("addsuffix" "Suffix" "Names") + ("addprefix" "Prefix" "Names") ("join" "List 1" "List 2") - ("word" "Index" "Text") - ("words" "Text") - ("firstword" "Text") ("wildcard" "Pattern") + ("realpath" "Names") + ("abspath" "Names") + ;; Functions for Conditionals + ("if" "Condition" "Then-part" "Else-part") + ("or" "Condition 1" "Condition 2" "Condition 3" "Condition 4") + ("and" "Condition 1" "Condition 2" "Condition 3" "Condition 4") ;; Misc functions ("foreach" "Variable" "List" "Text") + ("file" "Op" "Filename" "Text") + ("call" "Variable" "Param 1" "Param 2" "Param 3" "Param 4" "Param 5") + ("value" "Variable") + ("eval" "statement") ("origin" "Variable") - ("shell" "Command"))) + ("flavor" "Variable") + ("shell" "Command") + ("guile" "Program") + ;; Functions that control make + ("error" "Text") + ("warning" "Text") + ("info" "Text") + ) + "Alist of GNU Make functions and their arguments.") ;;; ------------------------------------------------------------ -- 2.45.2 ------------=_1731150662-25753-1--