From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aD33EtaD9GWSPAAAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Mar 2024 18:22:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aD33EtaD9GWSPAAAqHPOHw (envelope-from ) for ; Fri, 15 Mar 2024 18:22:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710523350; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=IMnyTSfJ4HL1piKnafneOGNP/cr7lzY5SfZ2uOYAxSg=; b=OyUie3DpfVJBZkaUUC4HCn+pDNyPg4SoKJVzutUFetjTqudjzpmpKGADH84iBxuh6UrFZU /PWvrq0PmQ71hOKVq0tOVoFHuWHrILHGbiGCBuWaTZQK6RXZAkQ8Psrrwe/mCByalgJOgw skSlsiQzJYpSEetafxB0CXRpG5gCx/F4FFWtxKFwFAqthHZC7bkMyjDbAnlNhV1NC5z2mf jglmdZfCE7VSiUPMqT6XbgfzIeijcja7kcLB1MibAmWZeiyAjiZaXTvE8F3V9Gr/Ng7JEO 1sdp8ANzIwf/nZPfgEov6mGjvLVfxVby90CTZikgHxlEfr/5LZ6pBgwhYqPwSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710523350; a=rsa-sha256; cv=none; b=UaS9Xh4plSTS4PoEEIq/nQaW6plxHlfidc6IjGeWcFrzRhQtIwaFwcBzxgdqeAoUZs0d5l YO0uaDby2l5XC87OF4jerCJg9yapAqv9AcIUZRQwSPq/6CEyYO1//hAkSJUeso1nT5Uwyg DXvU+/BxCgZIQkeqg8QeA6cqtYzjM948EVTBUD+JGIn8EkmwIBRVLFeCOo8xjeht4H6fqk JViM4TUdHy51r4+7y7X2c82xJzFy84Em014gQMBRlGUpLFR4diTeUjqET5L1M0iN5sijDe OhQ1RC5YbpItHJSJzgI5VEW2oDUhzrMBBcem2dXQO0v5KiTkxj0YTV6EpCsh2g== 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 344B31C6C6 for ; Fri, 15 Mar 2024 18:22:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlBFS-0007ZF-0h; Fri, 15 Mar 2024 13:21:38 -0400 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 1rlBFQ-0007Z1-ID for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 13:21:36 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlBFO-0005Um-TY for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 13:21:36 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rlBFL-0008tN-JR for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 18:21:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: `:export' attribute?: Re: Experimental public branch for inline special blocks Date: Sat, 16 Mar 2024 00:21:21 +0700 Message-ID: References: <87wmql6690.fsf@posteo.net> <87cysb2h68.fsf@posteo.net> <877ciavnwo.fsf_-_@posteo.net> <87bk7k7tuf.fsf@posteo.net> <87wmq85xn9.fsf@posteo.net> <877ci7bm2b.fsf@posteo.net> <87y1an9wkj.fsf@posteo.net> <87il1qm61y.fsf@posteo.net> <87edcem4rw.fsf@posteo.net> <87wmq4me2k.fsf@posteo.net> <87a5mz4p52.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <87a5mz4p52.fsf@posteo.net> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 1.83 X-Spam-Score: 1.83 X-Migadu-Queue-Id: 344B31C6C6 X-TUID: p8GszANhdAnY On 15/03/2024 20:10, Juan Manuel MacĂ­as wrote: > Max Nikulin writes: >> >> 1. "-" is a valid backend name and valid last character of backend name > > I had not thought of it. Can + also be a valid character? https://orgmode.org/worg/org-syntax.html#Affiliated_Keywords BACKEND A string consisting of alphanumeric characters, hyphens, or underscores (-_). >> 2. From the description it is not clear to me what is effect of "rest" >> specified for more than one backend. > > 'rest' (=) is equivalent to the rest of the backends that have not been > explicitly set. What happens is that, with my current approach, if you > want to export only one backend, you must enter: > > :export backend =- (that is, export this backend and not the rest) At first I thought it may be used as [:export backend=-] and it is the reason why I was confused. However I still do not see difference between [:export backend -] and [:export backend =-]. > This is not ideal. It should be enough to just put: > > :export backend > > but I am not able to achieve it. I agree, it is intuitive, but it makes formal rules more complicated. > = full, this and derived backends (default) I would prefer to modify code to handle [:export latex.+ latex=/] to apply first declaration (content only) to latex and second one (skip) to derived backends. Anyway the code requires optimization. Walk through parent backends is likely inefficient. > These days I'm going to be a little short on time, due to work, and I > don't know if I'll be able to attend to the list. Then I will postpone other questions (mostly unrelated to :export).