From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ONvRKdndfmBwcgEAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 15:57:45 +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 MCGnJdndfmC7GAAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 13:57:45 +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 AD3A61DC83 for ; Tue, 20 Apr 2021 15:57:44 +0200 (CEST) Received: from localhost ([::1]:39736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYqsp-00013u-Oh for larch@yhetil.org; Tue, 20 Apr 2021 09:57:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYqsF-00011m-2m for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:57:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYqsA-0002bi-RT for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:57:06 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7F3042400FC for ; Tue, 20 Apr 2021 15:56:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618927017; bh=bXNgEeUJ9Zf2pz/DNkzZi8DsbhvKvHdLUL4ZgRNSwcE=; h=From:To:Cc:Subject:Date:From; b=iLyu+ZJ9HJ2DhARKrSrko5bP/94boLVtiTggaPGz3uVw9eEguQ6bYoj8vF4T+375s GDRBntWrEdIG4nB52V20vfIACHaOXd+axW4rdYXnZJ8UmTukF90F2w5IImQDKkdKHN PVs2vjZrA1rHmNBjKn7mHq+wi16+c+5FsLrlFEq4QD6EYfdB8yduDK+4FX7fSwPMn9 MvRbJPi3vxRAN36SV+7XGF1ooclcQu/M/ITw91p/IEAQubqDPEeAH6tSurC+PoOCoJ tRIfmZ0Mx6QWBHXWH8HTuGnju9r2pmzYy3dIlJ1mEgB0PChvx8Gxf3wfMW3MXGptYt zq5AGa3Q6CKCw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPlbr5M43z9rxT; Tue, 20 Apr 2021 15:56:56 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Nicolas Goaziou Subject: Re: [PATCH] Startup option to separate macros arguments with an alternative string References: <87blchl4id.fsf@posteo.net> <87o8ead42u.fsf@nicolasgoaziou.fr> Date: Tue, 20 Apr 2021 13:56:55 +0000 In-Reply-To: <87o8ead42u.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 19 Apr 2021 11:19:21 +0200") Message-ID: <87v98hqct4.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FROM_FMBLA_NEWDOM=1.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618927065; 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=PqMTBLoQ5v5YerOPAm0j8ad0NKQMiijKeoSdYFCXfoc=; b=ny4c/NtTS6udkJnUxMXtUmQ5CbJUzWbkaSvx0hbU8cYHBxY4DLTv/z/dmEU0SC60MR5rDD eDSdkdsrc27tbyM4SI0Ym/4eKj5CYL4AafCCBiUi3eVgxLwtVOF6PqzX8vtWo6wAwMWwBn 2+6SeHPF1gIIfOfmxEryVHEsFSHpj+ZdRPq87Bz0LIEG/XxSidiVcxPaas5gYk7qKoGwnp /72D5cNg/jYhxF4ddrb2jLD4NbsCB9OvupOo+y9X0oYmWkEfHTu+RCh8amPR2GnDp2c2Yt FEKhztH8Tf11yXPiXxFUuElJbjsMgg/p7JxS5jkK1mfq/leme9lQ6zZmSglJUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618927065; a=rsa-sha256; cv=none; b=hfkWk2gpFGsvRbVse+1HlKxPDVqrP1d3cBKssZ52X4TnHH1lpF7+gvgv6YNHx/B08IbJPD Uflf2ZhS1lL0TirIc4F4fqU8dfPHDnxwzPqPoyB7qT2ncKRyws5AiFhtPov0BYomItgS6x z3bMxwUFNYrbqMeVZLuNir+EG1YrirAKmYHF7iihxP8Cklwqg7hl96IqiCUQXCEvsxbdP2 GrdiowPWK8diC11RS2RZ9Mzh7r05/QFzRLZUdL1kg5VYthx0q43dgKdDwSpqbgOHzzHL9i U3zkYRymdHqbI/zAar+Ot/sWEBnPEujz3eXk8CPCZWEWB2mxpGJxQDLjdDpWvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iLyu+ZJ9; dmarc=pass (policy=none) header.from=posteo.net; 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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=iLyu+ZJ9; dmarc=pass (policy=none) header.from=posteo.net; 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: AD3A61DC83 X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: uU+lLxB2UHSK Hi Nicolas Nicolas Goaziou writes: > Even though Org syntax partly is, I don't think parameterizable syntax > is a way to go. I'd rather have less variables controlling it. (I'm > looking at you `org-list-allow-alphabetical', and > `org-plain-list-ordered-item-terminator'.) Thanks for your explanations. I understand that the use of variables here is perhaps not the happiest solution. Naturally, I speak of 'solution' assuming there is a 'problem', the choice of the comma as an argument separator; but I also assume that what is a problem for me, it doesn't have to be for other users, as here everything is subjective. Anyway, I couldn't think of another way to respect the original comma (and backward compatibility), but leaving the user some freedom to choose a different separator. I also understand that implementing that can lead to confusion. >> Rationale for this patch: There are many contexts where the comma character can be >> inappropriate as an argument separator, since it has to be escaped >> many times. > > That's true. But I wonder if you're hitting a limit of replacement > macros use case. IMO, macros are good for short text. For bigger ones, > you may want to use some Babel code, in the language of your choice. > WDYT? I think replacement macros have huge potential, that I often explore in my daily work and (I admit) wearing the things to the limit, which means struggling with resistance to the material ;-) Perhaps that emerging potential was not originally foreseen ... Of course, the scenario is always in short texts, I agree. But even in those scenarios, the comma as an argument separator is somewhat uncomfortable and confusing. That is, macros have great potential (IMHO) in contrast to an "ugly" syntax. But at this point it has a difficult solution... A typical use case for macros (for me) can be to export to LaTeX with the command \foreignlanguage{lang}{short text} in multilingual documents (see this screenshot: https://gnutas.juanmanuelmacias.com/images/macros-sample.png). I can't think of another way to do (easily) something like that (with the plus of being able to evaluate some Elisp in there and add a conditional for the backend, etc.). Best regards, Juan Manuel