From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mJjwBka4J2fr5QAAqHPOHw:P1 (envelope-from ) for ; Sun, 03 Nov 2024 17:52:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mJjwBka4J2fr5QAAqHPOHw (envelope-from ) for ; Sun, 03 Nov 2024 18:52:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bPkpFJPp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730656326; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7nekHrMCLgNiYHqhLLnfoSEdxGtpR6mb3pZ7O9MqcH4=; b=tXGmBMWRLzAvz/ux2fnl1w2gxTD33wN5CSF/msCehX0Hv9xKdTqwvSMjiOwe8jMaEJyr8G DdZ5qyb3xguwAXTXYrnTm00/p5qJ9OeRdVfNyS84DqLEzSf+8hsi4iTMCtaMNWAmt+qiO2 uokjkLfU6XAwhLSOg94FHkPV9le/n7DdD/6vazshz3Fh3SJDrN2qlB3IBhDlrLj+SansNy jrtF0MEoZqI4R8OeVhg64U/H8eX54pPdYk9ws/QLL5rAdG7vLh8mhqXdYrzavmBaeqmVmY gPHZ0kMJzCjx60oEP1LtExzWp3TlrXs2Fd+2BGQ1HsmxhInagE1nW4vU3khP0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730656326; a=rsa-sha256; cv=none; b=Neuor8gKueWNsup3EHB0+oqjw+i3L9WwPyqkH3Mnw3CcU+Ef/lNvipFEHcCWLszZlnECN5 NaoSChAfVD6+OOXOE+QkF78ENnSmJwsWkNCjCblIh+RG8szzTen++g18BRV73xd7WyObbx MQWstkxexoByuWCG/yLjyStz+MSke9Ojuly/fzCDCZysZT2x6S/aYw5yO8ry8jqjHMZm+4 0dKu3NCUjUNA1l9o3OuIERS1P8frVr0qfLHZeHs7D6mAJ/qhg3ph1csB1jCdWqzKBiU5ON U+d5+/xo6tyKfwSXESkj3LNbM7DNR+gNufGs090amZLKvzzKDx3WxFX5eSnJ3Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bPkpFJPp; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 272207A255 for ; Sun, 03 Nov 2024 18:52:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7ekp-0007yv-I2; Sun, 03 Nov 2024 12:51:12 -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 1t7ekk-0007yf-Da for emacs-orgmode@gnu.org; Sun, 03 Nov 2024 12:51:07 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7eki-0002xJ-IH for emacs-orgmode@gnu.org; Sun, 03 Nov 2024 12:51:06 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DB8EE240027 for ; Sun, 3 Nov 2024 18:51:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730656261; bh=Lz+CHIZ+EzWAeEENwbVNVO8gCfkDH0f8hDr5FchwjZE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=bPkpFJPpHpHL5rEyoySwHIfFDtoGiexecSY439A9A7d8TB7yKEXR2VgJnCE+SajkU seOyIV9P1tvPb6fk2Xa/Mbjq7LJK/DmlJG4a12LnV4+GcI0KxeSBIHzvLMUDmW6EPq 8lC/ATQX0kUc6zYAzLyySdJYp01PYUscTQPZdgiB+zgABuqgRMGwthT8SY2IHuRPiy xsxw7/T21Ny0e/Q4BRfFCNlqod8ysxQuHFpbmW1rRVRCp1f1sBGZLFR2DvwUQlG6v9 4k4AGt2x3t7tE9odEM/eKG4NZaIA0bPDOf4yNCJ5rus3BJT15uo9KB/sQlo59v2a07 zJEdU8aCogsFw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XhMb900ySz6twv; Sun, 3 Nov 2024 18:51:00 +0100 (CET) From: Ihor Radchenko To: Thuna Cc: emacs-orgmode@gnu.org Subject: Re: Multiline Macros In-Reply-To: <87frqqj0bu.fsf@gmail.com> References: <87frqqj0bu.fsf@gmail.com> Date: Sun, 03 Nov 2024 17:52:42 +0000 Message-ID: <87jzdkgq6t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.24 X-Spam-Score: -4.24 X-Migadu-Queue-Id: 272207A255 X-Migadu-Scanner: mx13.migadu.com X-TUID: KrMxLFV8ZTKA Thuna writes: > Here's a package which allows defining multiline Org macros via > #+BEGIN_MACRO ... #+END_MACRO: https://git.sr.ht/~thuna/org-multiline-macro > (I've also attached the elisp file here.) Thanks for sharing! > ... > All thoughts, ideas, suggestions, and bug reports are welcome. Your package sounds like something that might be incorporated into Org mode itself - more advanced uses of Org macros often hit a barrier that complex macros are hard to write. On the other hand, making macros more sophisticated feels like re-inventing the multiple other templating systems available for Elisp, or even for Org mode itself (think about capture templates). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at