From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eDY/K6AK9GFvVwEAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 16:24:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mF4cJKAK9GH8NwAAG6o9tA (envelope-from ) for ; Fri, 28 Jan 2022 16:24:16 +0100 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 2F2653A348 for ; Fri, 28 Jan 2022 16:24:16 +0100 (CET) Received: from localhost ([::1]:45854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDT6l-0000Kg-AL for larch@yhetil.org; Fri, 28 Jan 2022 10:24:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDSc4-0004er-Hv for emacs-orgmode@gnu.org; Fri, 28 Jan 2022 09:52:33 -0500 Received: from [2a00:1450:4864:20::12b] (port=34591 helo=mail-lf1-x12b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDSc1-00007N-4H for emacs-orgmode@gnu.org; Fri, 28 Jan 2022 09:52:31 -0500 Received: by mail-lf1-x12b.google.com with SMTP id p27so12335314lfa.1 for ; Fri, 28 Jan 2022 06:52:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=iq0GVTyEU1uFpsij7DTAIb893/O3dR/RyBLUly8r2hY=; b=L1vHISYTJblYmzEPgQ87S0FGoj+KVt973YTHnuY2Vc+cv372XDmgHvPgPcVsTUw5QQ knLzHaSZ75Bbw3iI/LenWrTPlX3dS9t0a+SSUkXJj8JRWbPWzsDSdhz0rkjEcBtig5oa +55oHwTyRfXwY/5hhbC3NXNAaOTXHm9IF2QIp2M+JXzMi26LqOpPyqlIfa6/ANxzPH7Y v2Ei28MeU5SHTXRuCq+lsJu6iwpyjzZO0+x5dfwNd81DIPZBO4SF3/Lde8bMXxz9rBni UTqjq5s+y6Zznn5/eQ5HTwYgR/lwcnCqR/EcUeYtHYI8dMizWbNxluCSbkMX8j5QkVYk egMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=iq0GVTyEU1uFpsij7DTAIb893/O3dR/RyBLUly8r2hY=; b=dg7gPQdKOb/4UfcqCxHKPNW3Cw839PpuuXzmde+MOnJMABVdLQXGYSDF2K2Q7BxvJl FlYa2JgtI7BOynxyHBxknMJOwDGDtJQXfAVLRK/F/CWmHGWdyk0hrJZd+bW8YcH8UQWT i2ILox+sa2GbkpF+uht2LaRoAmLqokxOZx2uBcfasD7anho1Xh/+sr911QY1I/ueTWAn alFO64EFeZA+7OSw3xnGP/eqGlHcAWbjOqzlZMDEDlZHl3e3koSPurztD4AIDPnbT7mi 3lB35OgVxFfsHtoz5fE6FHDVBqMHdAvXdGGGvNmF+9kFQa8BgdUoPFXFGzE4cVBHBCoG yaig== X-Gm-Message-State: AOAM530Tezqg5sqp0fsMCorNI0lmkNvHkWBGB1oNjB7iE7/gHMNePhom JepKi/FzfsfB6dF9HBNcaHGuOjl0AWg= X-Google-Smtp-Source: ABdhPJzoLhIp798U7EtugAV1sWiaaoWgkpQawf69X2R09Rn6vcmISY9TgE4uL/f8jNrKCtIwYV4vEg== X-Received: by 2002:a05:6512:3341:: with SMTP id y1mr6250200lfd.190.1643381545566; Fri, 28 Jan 2022 06:52:25 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id q2sm2382423lfb.111.2022.01.28.06.52.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jan 2022 06:52:24 -0800 (PST) Message-ID: <868df76e-69e0-1d14-ae8a-13b746982fcf@gmail.com> Date: Fri, 28 Jan 2022 21:52:17 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Org-syntax: Intra-word markup Content-Language: en-US To: Tom Gillespie References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> <878rx2bzhw.fsf@nicolasgoaziou.fr> <9525e029-a590-3f48-df64-ffb9176075d9@mailbox.org> <87v904nq6t.fsf@gmail.com> From: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12b.google.com 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643383456; 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=iq0GVTyEU1uFpsij7DTAIb893/O3dR/RyBLUly8r2hY=; b=roH/ARF9cdZr40S3439IMNSqZKnx3bmPRRQDjN939f4BWllzfEyySy3XQ6cUPAE6Mx6I8y GqPWspH23CoT42lolqvGbbkCFV0sSiGVo3EptHCCYUlXr68f7LQyh1nxgumkmAqHYRmDfT JSB/jgyOx1H4ZQyCBGqGvmLy8ywSSz6qEfFPg0Za4Unf50cyWk8hTjxaZgOH6LGEXjRprB KTUglCWaZ3TH9WtuRwPSkdacGL+zWTirrchRGD9aOrhQyZgFUe6paCh/j6IDg8sNo/TckT o7PJIdFyFcvI9uxA4wPcF+OtkVil4vtR4Tua2sQXwvbGSsGW0eOGTB15X65uog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643383456; a=rsa-sha256; cv=none; b=Zc4fV+WFhMAcEGAVlZPhbKpMNvW9ny4nbVxqgRYotC/E4cMViwqHxwAi6ynVMkjJBSbYed gWmhfFdiRvktml17pQEi1krm8AIKhB0yTmQ8zo/VnW4A4txaQdiDgjS6ABzCAqmdVM+JWk 0KtubaUPKY1DDRrxueO8hzM9yMewPMTCsvKcIDmIU9RbfE9RgO24guKZUCrZjpUmgjOw/T UaCBGw/DPf2fKYTPztNps7ChcTo5P9rSyVHTEkHRB7CduLDQwKFiJ9WvEseyvLa3s4V2x/ h2mUNzGpt8W4RlLhgXcHxLerRPqPKGclqSBipH/wYU6fWikZ6O9uh6GPhy+8AA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L1vHISYT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -2.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=L1vHISYT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 2F2653A348 X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: ujo36bWwODsZ On 05/12/2021 04:48, Tom Gillespie wrote: >> Since org is a valid export backend though, perhaps this behaviour should be >> reserved for @@:…@@, i.e. no export backend, which I think semantically fits >> fairly nicely. > > ... > > What this means is that @@:...@@ syntax is not actually used > in Org at all at the moment and renders as plain text. I agree that > we need to avoid @@org:..@@ because it has legitimate uses. > Making a back-end of empty string valid for parse separately > syntax thus makes @@ syntax more regular overall, and allows > @@:...@@ to be processed separately because it currently > never enters the export snippet processing. It seems that @@:...@@ should behave significantly different from regular export snippet since org markup should be parsed inside. It could be used for one more purpose. I miss "fallback" option for export snippets. E.g. if explicit raw markup is specified for HTML and LaTeX, it would be nice to have something for other backends such as ascii or odt. In the series of adjacent export snippets @@:...@@ may be taken when backends in earlier snippets are not matched: @@html:HTML 1@@@@latex:LaTeX 1@@@@:ascii and odt 1@@@@html: HTML 2@@@@:LaTeX, ascii, and odt 2@@. At first I complained that it would be impossible to put export snippets in "parse separately" construct with @@:...@@ syntax. Likely it is not necessary. It is a bit verbose, but "parse separately" may be split: @@:part 1@@@@html:html-only@@@@:@@@@:part 2@@ Empty @@:@@ is added to avoid considering @@:part 2@@ as a fallback for "html-only".