From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MB6lG7VlmmD+SgAAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 13:08:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eL1iF7VlmmA3HQAA1q6Kng (envelope-from ) for ; Tue, 11 May 2021 11:08:37 +0000 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 E99F224406 for ; Tue, 11 May 2021 13:08:35 +0200 (CEST) Received: from localhost ([::1]:59306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgQFd-0003Vy-Rz for larch@yhetil.org; Tue, 11 May 2021 07:08:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgQ8f-0006AL-Ca for emacs-orgmode@gnu.org; Tue, 11 May 2021 07:01:22 -0400 Received: from mail-vi1eur05on2124.outbound.protection.outlook.com ([40.107.21.124]:26976 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 1lgQ8a-0005O3-39 for emacs-orgmode@gnu.org; Tue, 11 May 2021 07:01:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aGE1wZrjaBVleFgXrWe08Pr9DiLvd3GqItW9TLguMzPu/psh8LsJ0XWE6kEAMDhIhWOcZ+aotGtm6nY2imL8exSTaDau3p4a8xKzlSg1kDuc8E8AX4iJEf6fszpoV7bbVIYYxlkebpx06GG3F3SX3XEPrb9I9vJs/kCKP12STVi6l4738hyzYtcrEhdacoPuRAP+AW3y0JJl5jggbWY2JAwTqe6xPEb7RXorp1DxlosuzsKjJQImiueM3QDdg8Rbp4I1iytHnhx5urUVXX1XHkofqEDoQ9Z+uARnxRW7MWqiONAvTVQ7uY+JRov70UIx6ZTULkHeMLhO8A4Gt1E1Qw== 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=UQ+Cz12hVBNjvCt7okp0EGf5mFqVFWsP2nmBtpMHnCI=; b=kG2Fsutkwg8vdQtEAQqcFrNBw0y3J0CUGTvpPEkNDaEB5CzLv4Rft41hPzYS0y0V/MA1DcVgOiw/tRlJpB44ASl0awrbCuTqIv+jqZisVsBoeis4/1wEHzFuFBLlnlZn63Hte2ka/vUWQrRUDGNyTToDbaheJ2cgJ93vrtvGDWgT4PxW6cYmjuoYWXiT+zW0YSZhpuUN3NGEvDVjw9aBs6JG3si7TjZ59Fu/O0Kxw5OFVS6s3IblujrOhRWKC7lFku7Jq3nsHdBSPNhJl58TEtAWobVIa5TJdFSmm19fYTfx6lWVTtfUl3L2Gvw2OSTZ/oiG4b2CThjIsensw4AzKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UQ+Cz12hVBNjvCt7okp0EGf5mFqVFWsP2nmBtpMHnCI=; b=GKU4X+6StkqhsEZRAOF6W7bzBG6+zotq3k1KLwrDvfatkZSvNQ/Ww0bwVyYV0Qc6xUkf16gk56Xn6+qcZkGoyzdJomChoTsyDiFMkv/i/20FEEEle2gbxUJx8IlfDcC14B72OP5z3sLzluZfJKoKfEwX3HoLI3DNjxNBTf+K/5g= Received: from PAXPR01MB8415.eurprd01.prod.exchangelabs.com (2603:10a6:102:21e::16) by PR3PR01MB7988.eurprd01.prod.exchangelabs.com (2603:10a6:102:173::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Tue, 11 May 2021 11:01:10 +0000 Received: from PAXPR01MB8415.eurprd01.prod.exchangelabs.com ([fe80::dbd:886e:5854:8cec]) by PAXPR01MB8415.eurprd01.prod.exchangelabs.com ([fe80::dbd:886e:5854:8cec%5]) with mapi id 15.20.4129.025; Tue, 11 May 2021 11:01:09 +0000 From: Eric S Fraga To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: [PATCH] Possibility of using alternative separators in macros Organization: On the Interweb somewhere References: <87wnsjx5rs.fsf@posteo.net> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Tue, 11 May 2021 12:01:08 +0100 In-Reply-To: <87wnsjx5rs.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Fri, 30 Apr 2021 13:26:31 +0000") Message-ID: <87r1id7cwb.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [95.146.38.114] X-ClientProxiedBy: LO2P265CA0464.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::20) To PAXPR01MB8415.eurprd01.prod.exchangelabs.com (2603:10a6:102:21e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from t3610 (95.146.38.114) by LO2P265CA0464.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 11 May 2021 11:01:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5fcc8cd7-9ff3-4088-67ff-08d9146c1551 X-MS-TrafficTypeDiagnostic: PR3PR01MB7988: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I6d/FBG5G+OQ/JO4N9cDcufP0nYwZNmxuqnczLCtt0xU5GWIQwNm6CMbi+aLw19MrtjNl8Z48ao0Bc9M88WizsIlNFDhgEmxiwXtwWTXR1JSDR5gQrbOqXT4P8Dk6xCo/+eJK3OoqKUbH8qz9DRFYjVnMct9R1KCfrzRtZp/KDG4r1l3cJfqBfuH9D0XwjQ1RuUR7qPPfGmSbPkDkcN9Mwo6CdZWAx031GP8CDzvR14RPYoUTPZ5LXBSJ40rBXyw811MLyTGMR9vKn0IPb0PxWqJIu+GPMqzF6QG4z+KcXk42lnRvt4FCgWLgDerwr7ishkuNQjm9VLuMjg+xKSXoLmFr6E8dGWijdZ0YRXBfx1FfL01fjI/boVvpzxIKeVUdGPyxRWF3WT+bpTpXoXCDy89xU2K7/oP4qHZ9dufeIDcr3Ewro7t13T4VCGzyb/5IngOKBEwPiubd1PDArtk1YNYojK0Pz8nwfTi/5YdadwIkFN+4Zc2dQrJanTQfWD0Sezq5r+22QvwCVtDz/LbPQsXj8rMidKOa6VlwrJnngM1yWHMVwGKUNsqCF46Ee4rqK4ltP5p6p3v8EyY58PpUQNbQOlIbNBzesqAJqFef276oiNt4AArRDjMfNvyOU4gBk6YU/hNvrjK6KLQctdDYtZOR5EYy4v1kPQU1PiAdqiJNGVh8TeDp5yjR8H3GUKoZBgnIO5YaFLrj8K0CNQI/Hi3Ot3Ckcc3TlBcZqtCuNo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR01MB8415.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(346002)(376002)(396003)(86362001)(6486002)(2906002)(2616005)(4326008)(186003)(966005)(83380400001)(8676002)(786003)(26005)(6916009)(956004)(5660300002)(316002)(478600001)(8936002)(66476007)(66574015)(38100700002)(38350700002)(66556008)(66946007)(36916002)(36756003)(52116002)(6496006)(16526019); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?ZC80ZVdwWjFjNjNBWDFhR01Gc25kOGwwckoxa1ZSTmE2MWlxZmZ1YmZMRGN3?= =?utf-8?B?T1F2S1ZMOVl5M0RqdTg2OTRNL3k4OW11RE1yOURjUnR6WUxvYk50M2d2VGVV?= =?utf-8?B?Y3lBRG40M3NYRlZNVm81YUI4S0FibkNYOU9YbGI4emhDaEhVOXNzdGhaTmRn?= =?utf-8?B?OWNtT2ppc2I3R3VQK0Z0NjlNa2J6U1Y1d1FycUNVNG1TT0xuR0hmUU1HTmUy?= =?utf-8?B?cVpES3J2bXp5NGRvSUlaWFoxZUVOdEtnV3RnR1hCWkh4TG42ZkZSUHQrdzUy?= =?utf-8?B?STZKYk9CdGVFMUIyU0FtTXh6b2dsRTRkVVBTVTJzOGF2ZS9wOXZCS3lnYS9o?= =?utf-8?B?S08zNEwzcE1IdzhPaWxCOHAyZWViS2ZuYXRiMVZ5SnFZVnBKNEpNMnk4bDlG?= =?utf-8?B?YkVncGF1NkhSd1dXQnZyVUd4WERrM2JJSmJKZkwyYUt4MWFtbTExTkpGdEFy?= =?utf-8?B?NUlKNTl1cjZLNjRNV2xaSjlCOWUvVkdQcEYxWTc5VDRCNGtHbTY5WEx6a1JO?= =?utf-8?B?RWlvV3ZJ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8?B?aWh0WkpTNG9pREFJeGRCZUlEWXBRdFVsM01MWWMrd3FJM1BmaU9GeEV5R1Ro?= =?utf-8?B?QXVWUVdYS2svR2RGK1lzYXpBRWhmQ1B5Q1FXTk5xSTRnd0RGR01KVitiVXZv?= =?utf-8?B?WUY0OWVNM3ljNnhYaFRubDRhcHVPSjloeHdKUDNsSlFXaEVOTW5tRGZUVWlD?= =?utf-8?B?b2xiT3hLejYwWHpOWWlFbVdYclU2RUM3Nmgyb21IUndOTmdNOWtkYUw3dlRV?= =?utf-8?B?NEk5Z3Q3WWtQVkl0M0N4WHVPeGJvTHUrOHNYTWZUaWo4VWtBdkgzSk5TL2ww?= =?utf-8?Q?6xEHcFUt0VZJoK/3tdfbd/bzZyt+egbYelPywUZ?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 5fcc8cd7-9ff3-4088-67ff-08d9146c1551 X-MS-Exchange-CrossTenant-AuthSource: PAXPR01MB8415.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2021 11:01:09.8516 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YYhmy9mG+Xtl8GBbk4jX+iqeF6ydeDNtglOsUQhB+LaEpENWhWeCacS9KiuvpXdAoZxktxvcH9G+5VddX7Kc2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR01MB7988 Received-SPF: pass client-ip=40.107.21.124; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620731316; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UQ+Cz12hVBNjvCt7okp0EGf5mFqVFWsP2nmBtpMHnCI=; b=K5dVeROeLcVlGUnxqcUveMj5Wa4jsmcUpoOsWuWLbK51qjVT8NHUvhTchP9HypjM0NOBNH gTzKOpcnrx8+WpuGrwJ33lr9gihmZkhyXSwjXHG5Ii+oAFVEWTJI/hfSYl5KFxOSLQArsk vhNQkl0oywdNSCXVJ9A/HtEPkJceSoo/h54zJVX0TCMSALFaN49p/SqxdiXu9kSeSHrv7y MLejMK2aU7LKKYxoS/EgySTHAA+Ewk+vUemfTZ9mqMmrV/0bfIPFp9+rW3TfyfC1YNKUwm kYsbJBnMTe4dXi1ZmJ37T1wB79jthbj6xqWM0+y+PKke4FKoW4egB7RHD1INYw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1620731316; a=rsa-sha256; cv=pass; b=GhW0t4mdd8WnjwoRGvT1Nx+RaTfmsW8VrMtBIBmK8KwLNt0n1kEYzahTfxksXRsLO1WrLN 2xG62Rm7/qKTMoCRrtSPOYD7vMF9WwVgH/pqFo4nR7BkJCYqmA3wV7ObgOYjsJwU6aZtjz 0uzWJmRY4W3HjNszcmJat2ygwkZsBJr5LApDQGiWvTappLgMRnux87HhTu+/0roN7v9c2W NoLvD9S8xb/5NaESVpTSwJPWsUKUiFKPdh7m4xAaYreEGOn8hwV+hei/Z0HBuUlsyMFXOV 0CJQiRA7xg7wXFSi0PTkNl5TIDZhvKCY6MROQfVmJdgSDMKCd7e8jaqd0IP+Bg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=GKU4X+6S; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=GKU4X+6S; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E99F224406 X-Spam-Score: -4.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: A6S0/XERuJgl Hello Juan, On Friday, 30 Apr 2021 at 13:26, Juan Manuel Mac=C3=ADas wrote: > Hi all, > > I would like to propose (patch attached) the possibility of using an > alternate character for separate arguments in replacement macros, > following a suggestion from Nicolas Goaziou in this (closed) thread: > https://orgmode.org/list/87o8ead42u.fsf@nicolasgoaziou.fr/ I finally got around to trying this out, applying the patch just now to the latest org from the git repository. I get the following when I try to export: Debugger entered--Lisp error: (void-variable sep) org-element-macro-parser() org-element--object-lex((bold code entity export-snippet footnote-referen= ce inline-babel-call inline-src-block italic line-break latex-fragment link= macro radio-target statistics-cookie strike-through subscript superscript = target timestamp underline verbatim)) org-element-context() org-macro-replace-all((("date" . "") ("title" . "The title") ("email" . "= ") ("author" . "Professor Eric S Fraga") ("lastchange" . "2021.03.31 15:03"= ) ("calc" . "@@latex:{\\color{green!50!black}\\texttt{ $1 }}@@") ("cite" . = "[[$2][@@latex:\\vfill\\Citation{$1}@@]]") ("overlay" . "@@latex:\\begin{te= xtblock}{$4}($2,$3)@@[[file:$1]]@...") ("parameter" . "src_elisp[:results v= alue raw :var $1=3D(esf/get-para...") ("constant" closure (t) (&optional $1= &rest _) (progn (message "Getting constant %s" $1) (org-table-get-constant= $1))) ("input-file" . "m.org") ("modification-time" . #f(compiled-function= (arg1 &optional arg2 &rest _) #)) ("keyword" = lambda (arg1 &rest _) (org-macro--find-keyword-value arg1)) ("n" lambda (&o= ptional arg1 arg2 &rest _) (org-macro--counter-increment arg1 arg2)) ("prop= erty" lambda (arg1 &optional arg2 &rest _) (org-macro--get-property arg1 ar= g2)) ("time" lambda (arg1 &rest _) (format-time-string arg1))) ("DESCRIPTIO= N" "KEYWORDS" "SUBTITLE" "DATE" "TITLE" "DATE" "AUTHOR")) org-export-as(latex nil nil nil nil) org-export-to-buffer(latex "*Org LATEX Export*" nil nil nil nil nil #f(co= mpiled-function () #)) org-latex-export-as-latex(nil nil nil nil) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) command-execute(org-export-dispatch) --=20 : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-534-g8f03cd.dirty