From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ED8GKNBck2KTuAAAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 13:45:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cNHrJ9Bck2KxYQAAauVa8A (envelope-from ) for ; Sun, 29 May 2022 13:45:20 +0200 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 2ED6412739 for ; Sun, 29 May 2022 13:45:20 +0200 (CEST) Received: from localhost ([::1]:45084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvHMF-0003tX-9q for larch@yhetil.org; Sun, 29 May 2022 07:45:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvHKf-0003t8-D9 for emacs-orgmode@gnu.org; Sun, 29 May 2022 07:43:42 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:34267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvHKe-0001Hp-1a for emacs-orgmode@gnu.org; Sun, 29 May 2022 07:43:41 -0400 Received: by mail-pj1-x102e.google.com with SMTP id nn3-20020a17090b38c300b001e0e091cf03so5872817pjb.1 for ; Sun, 29 May 2022 04:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=eLxHOuNcWm1QKkduxNU4GWFK8OdfKaW5G+cShKuVPCc=; b=P8muP+yqVsHc8Zt38hSOc5ma+Ob/nPKiAX6WP8f1n+j3irEd8gFBkJVtoljDXUdnL2 ptE/ooczN+Jwhtg+k7EuHDVoC+DKN4rkueR1sns3GfTQ84Db+DJL6WYl2SVpt933JJPB 85xTCrnI/f6+w5jTPFuW/1Z8PJAJmNKo4DjwQSg8TeC2l620FRxcJtZa6/9Syy12Pfzl tcrlHAdopw/FntkNEzqShjrCQzeGNoqTaU8vGFkFpkrwZ0AbCGON3XsomHFzUunK4G71 4laiBL85YiNnKg/dqvu8iHKKpK0B/ZB+4+icFhi9L6gHgNmb2DiA43E/dLQ+udB+/xKa IuwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=eLxHOuNcWm1QKkduxNU4GWFK8OdfKaW5G+cShKuVPCc=; b=dxFk2b9YiXldbKnJ4qfyrKRxD88GtnBDIXD7G4+Iw4vtTFOHd9mehUeGS5AwnK7uzk h4S1jdLJhm2nGxqlpRLL7MMkQbcXKZUNMjVU3tfOfr4csqyfoCeebkynyCV1q5a95/mq o0IQ1RwugkDYdKfaem8/Up1n57SmA8uwfrc1xZFD5IuOGnJBckap16hVZycfDYWUBqwO 6bHgMV6wwDj4UCG5NBAF/8cQcu+nYD2fbhpRnEEj6843gNwzbBJey/+Hjqd1KeBjuRw+ WzFs/sa2poUKUdopudCRBfOsOIbXzV0bWaWxakCT5zy6xI1m1SYuUc1YD/GoZT44zyk3 8iSg== X-Gm-Message-State: AOAM533aQFrzWm2TGjL6OWpaZ09Q3Ib07kd2IDCcfsDZV94XZFS3+AKK QyXEwhet6vEeF01vOfIXA9s= X-Google-Smtp-Source: ABdhPJyVzOTDS1g78bDZ28YRteILFz8akusFJ5Mk23zm89A+atzwoOndCrYeStGK09hBxKTI7+RSTQ== X-Received: by 2002:a17:902:e806:b0:163:6443:ec6a with SMTP id u6-20020a170902e80600b001636443ec6amr19857491plg.171.1653824618525; Sun, 29 May 2022 04:43:38 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id i16-20020aa787d0000000b0050dc762813csm6812988pfo.22.2022.05.29.04.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 04:43:37 -0700 (PDT) From: Ihor Radchenko To: Uwe Brauer Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: how to export an org file, to 2 different locations (in to different formats) In-Reply-To: <87ilpq3v9y.fsf@mat.ucm.es> References: <87r14flzaa.fsf@mat.ucm.es> <87a6b2stoy.fsf@posteo.net> <87y1ymqzlh.fsf@posteo.net> <87h75a5fl4.fsf@mat.ucm.es> <87h75a2k9q.fsf@posteo.net> <87ilpq3v9y.fsf@mat.ucm.es> Date: Sun, 29 May 2022 19:44:17 +0800 Message-ID: <87v8towoku.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653824720; 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=eLxHOuNcWm1QKkduxNU4GWFK8OdfKaW5G+cShKuVPCc=; b=jPdQl/PNlndcV6/PXwWTZrOGhgOniNdORq8SAtl/XRV7wZA5k/C8IOzX5XYVUtQoHyeqTj BigZiTCWw4mjbYxfOao402l2RvTBMHWoRB2NTQ6ob8hmRpTJey4dRtPngX/wTiRLIDgCzD EOy6Thd+tFANSJFvNZGeVk89aM105L3gH7aM6SOuPCsnNrYXN/w+dbo9M3uk14/lG+WU4a DXQRNVeqjbnxMZXB654/f2wU3ofQwuDAFhFOJWHkPND93r9mHWacWciFQrKbJAXmZRlp6q 6XijYuW3lOtI6O6+l4Z6fabtSFLpy190pSMheaEcKQFhgM5NO5ysXHt6ITbhiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653824720; a=rsa-sha256; cv=none; b=Dmq+mjTqTC4EJ9Yumqm5myj+C9u2By6q398o/6fSBZWLxuC23Bi5tD8rq5YV2AjlBmELR2 P90n5j7QqVDpVJsrzwCIP7eDZdSTXIE6hOi8PVUF24ayICKW/WPo3bu63F3mAW5AN+1FCE bCSHylwm83NET+NO+WZlL7ouBmtdJifjKm1W7fJFKXSLFOcec8YBOEeoluWFxp7j3NESgI 9tlu7AavHMvppUmw6wkWC469QA5R7iHzo5yZ3PvP2lkFBUuHw1zFpF19MRtbTu7dzW0DPb 9arfW3YwRh1BCp7Z7gzTFrniXTo6ELbbZpfRPApg9RaKDa943EPWvEuxNwrDkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=P8muP+yq; dmarc=pass (policy=none) header.from=gmail.com; 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: -9.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=P8muP+yq; dmarc=pass (policy=none) header.from=gmail.com; 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: 2ED6412739 X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: DU4P/u10Pfqp Uwe Brauer writes: > In any case thanks for both solution, that was very generous and helpful. > > Developers: why to include some of this code in a addon file, if Juan agrees of course! A more canonical solution would be writing org-export-filter-options-functions that set :output-file export option directly. Best, Ihor