From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: Running makefiles from emacs Date: Thu, 01 Jul 2021 10:39:57 +0200 Message-ID: References: <87tulibyap.fsf@zoho.eu> <87pmw6oc1z.fsf@cock.li> <87k0md9cxb.fsf@zoho.eu> <87h7hggafy.fsf@cock.li> <874kdf6uo7.fsf@zoho.eu> <87bl7nf7tx.fsf@cock.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22058"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org, Emanuel Berg To: mrf Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 01 10:47:18 2021 Return-path: Envelope-to: geh-help-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 1lysLt-0005X6-1B for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 10:47:17 +0200 Original-Received: from localhost ([::1]:47102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lysLr-0003HP-VJ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Jul 2021 04:47:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lysJm-0001jt-Oa for help-gnu-emacs@gnu.org; Thu, 01 Jul 2021 04:45:06 -0400 Original-Received: from mail-db8eur06olkn2082d.outbound.protection.outlook.com ([2a01:111:f400:fe0f::82d]:47393 helo=EUR06-DB8-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 1lysJk-0006fe-FP for help-gnu-emacs@gnu.org; Thu, 01 Jul 2021 04:45:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U2Hk2HJmTXjukQRCQc0RatMotS2ZkNfZ2zq/gr+R2rlyiYRpsbTlK7FRP5w5fUP9fO7EtTBWvWBhCK9MOvXvXSwNe6HtnEF+HsMnUkXZEv/uuQ+o6FdJgQGhM1tYS/SbmKym2AzGX8oKV4Vg8oAbbo6SVfOr10vH5BwHHUNo/qTUB7Yv97tZClwjaSvo4fwJziQa3GiolyN0pMX+hd0ijpSZ7tp8fCqxAZ/MJdd3WtMq45dwle5QIHRC9rh9Ct5ziGmxjlr0aokhCbKMpc53ekfwsua4K2xjzLrA2RXmRExKkig57zh5D4bqPPpwMVFB2lsZIq2eOE4/LF5EBbEcmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+fRp9oBsAHkJvWD8SfhWqyXgFN8N1v+RaQB8zfs0wC8=; b=g61BsjwGnpog8uStlPY0XuAL1R0dfjS0ZkURmNo59k7tglk5w8BKRk3k2GJiSxwxgxNLahWENfkfttSfbKRSew9nb9mPJwPtP60HG7NVHGvHpRrN5oD1CEJcw593uu+X36btL3yKzz0+pBetJF0RFfx8wQmRYwyNJdBvH/mqlHzEADzXp7qs6XV11WxWn0XwpqHqNnE4b60kvGx+D1aWFN69pPAPZHljlldCk2rfVEnxIhQYOlQSjUAKmB4sPg3BlmyiGq4BcsPqNSkiiiWsMp3hUgs/BzQ5VD+hO8hU5kasCrMJmaVxaujnQ97hmv7KRz7XJtBYopf15AMsYVM/Hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+fRp9oBsAHkJvWD8SfhWqyXgFN8N1v+RaQB8zfs0wC8=; b=N/CY6cSB3E3ZSpQFdOJd9dRjR3t1WnFRwSDXWow3U1APLdIM/v59kQzG91EAH/z08eOb7WUWtrnJ26ZgWkzFG8F/c0FBqEazdg27xAPPYNg+YvjMOxkEevMTjUqVDqC0NL/Rxem0OG6+nvmSxqSh33hLoYKJg8joLW9Rh8F5a6OpcrOrRWcQu5IRk8Rd0VHT3nVepNtLQSmSEN6qpIMisfyu9NMCGBCW7XQpFjyhsK0VQDidRipSKMUyce/wvvW7ym07/h7/e7JXg+5HDheqjC2kUHQl7jCm50xSgJoh16MSSw+CZwS/vs4MC3x6vL96vvf2WxH2kDLrS1NxOzsnog== Original-Received: from AM7EUR06FT056.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::44) by AM7EUR06HT188.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::287) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Thu, 1 Jul 2021 08:39:58 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc36::41) by AM7EUR06FT056.mail.protection.outlook.com (2a01:111:e400:fc36::435) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Thu, 1 Jul 2021 08:39:58 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:F97819B7301D1FD2CB007151BCCCFE785F3BBC0F490E942A386A096CC81BCFCB; UpperCasedChecksum:00B29F156A20F7A76D7658AF6CA6937004F7CF13EBBA8E99BF95383ED661E9D1; SizeAsReceived:7574; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::656a:1596:f5dc:12ea]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::656a:1596:f5dc:12ea%7]) with mapi id 15.20.4287.023; Thu, 1 Jul 2021 08:39:58 +0000 In-Reply-To: <87bl7nf7tx.fsf@cock.li> (mrf's message of "Wed, 30 Jun 2021 22:49:10 +0300") X-TMN: [rcyfdzpodB/ZecNhcSiJuPT1v/iKb66k] X-ClientProxiedBy: AM5PR0402CA0012.eurprd04.prod.outlook.com (2603:10a6:203:90::22) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87pmw277he.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM5PR0402CA0012.eurprd04.prod.outlook.com (2603:10a6:203:90::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Thu, 1 Jul 2021 08:39:57 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 65d70c1a-45f0-4175-fd01-08d93c6bceae X-MS-TrafficTypeDiagnostic: AM7EUR06HT188: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iv1c1DEQwgFbhVwFZcW2TzgQrIh6BN3ieSjino1IkGs/xzaCIqqX4H5tqhE/vKKwl/v0gvXsDMt1ttT99T55Yqex0kCZOF3R+YfDbaQOji6S4ZC8kovKK+m9FCGuVPYpPvUIqJA8gwfPkM8fYTwtE3UXj44KOjtBXD8jg2n9KfALHKptnlCehXMbMR3IzgA50K6co9lHMaNEzbOeLoOFodJFWY88NOyxA96QpEEksKAzpVrF/dM13LImzWvlT+grlX7TxJk3I8+7iQNqqg4vDrL2u6Wj24trLTH/b+d7j7rixqzwcxGs8Gpw5Tqhi+NB1B+SkHG8UgpwVw9H2bhSw+aby+lO+y6Gf+2AEEykm0kqiT4nDI2VvhU4Sb/9eiMrzDb3V1E/UufiLis+cA2DC9mndH33HZ15loaYBWgSQgE9bTsQateRkJOl/xVQKFkXBHYiEd07cHmMGr1w4I51wn+uDvVcCGrfsyW0i2HmjxB+Ia3pCGN6hS3wnui8oPWx X-MS-Exchange-AntiSpam-MessageData: ieDo0E6ZdrXPmWNdI7eoW54WYkt4sa41bk02HydbWgAC0IXDWA3Bv7I8lFQI6qQOBSJqn7PcFf7XD8WLQCHpzULroFjp6pSHdtDCyYRxtR6/M6y/n7cGVN+5fmtrgE+l3grRNhaFD1FJWy2FRSgOMA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65d70c1a-45f0-4175-fd01-08d93c6bceae X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2021 08:39:57.9533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM7EUR06FT056.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT188 Received-SPF: pass client-ip=2a01:111:f400:fe0f::82d; envelope-from=arthur.miller@live.com; helo=EUR06-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131361 Archived-At: mrf writes: > Emanuel Berg via Users list for the GNU Emacs text editor writes: > >> What is a "single source code program"? > > That's when you share small programs without makefile or compile script > (or any build system actullay) which is also useful for code snippets > > you can take a look at this post from my blog (although the post is in > arabic code blocks are in english) where code snippets include their own > compile command in the top of file as local file variable: > > https://themrfantastic.gitlab.io/blending-modes.html Emacs comment is neat. You can achieve similar with a small shell script too, check this: https://github.com/ryanmjacobs/c