From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 METnCC/mkWL0iAAAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 11:06:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oKjvCC/mkWJYMAEA9RJhRA (envelope-from ) for ; Sat, 28 May 2022 11:06:55 +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 B253EFBB3 for ; Sat, 28 May 2022 11:06:54 +0200 (CEST) Received: from localhost ([::1]:46454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nusPN-0003FJ-Ru for larch@yhetil.org; Sat, 28 May 2022 05:06:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nusOj-0003F8-Sm for emacs-orgmode@gnu.org; Sat, 28 May 2022 05:06:13 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nusOi-0001kp-1T for emacs-orgmode@gnu.org; Sat, 28 May 2022 05:06:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7949A240028 for ; Sat, 28 May 2022 11:06:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1653728770; bh=VXhna4oVAU2o8n2kNmp7ScESfPCI2pU0TByUv39qD/w=; h=From:To:Cc:Subject:Date:From; b=pzPtvMCcBzmHUc7R8PW7yHbsMkKa7YbweSv2BFey5ddkOIPpReDVLPZs7fcSN1MWx Go/zQ1pvI7v/3MGjbu2zBmlGT5LVSSG7Tkhyd19WOsNlfVf807WE4LgeWejA9nqmQ0 zmDq/meYVUY6VHcWzbWO4+/in3TmWgR0MhXZym8uwZA39eb7lTY0hFJd2Ho9Qj/ChT we3BMKVVbJXwO/Tx3t9h5Cu7KketnHkpVS+de3GtUk3mLzsm3aJ0MIYZTRsO535K4Q M7cQjLtrpTyT9E1qOnJkjGImUXEyGJYD1qa4jrvxC3vH+bUJaWI3X6kefanQBL07MF yZMMM3Kuj9xyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L9G4K3rfwz6tm4; Sat, 28 May 2022 11:06:09 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Cc: orgmode Subject: Re: how to export an org file, to 2 different locations (in to different formats) 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: Sat, 28 May 2022 09:06:07 +0000 In-Reply-To: <87ilpq3v9y.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 28 May 2022 10:40:09 +0200") Message-ID: <871qwevxfk.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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=1653728814; 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=RL6Sj8ejRrvpGzlOcJnNcr8qqAlqQwkmAALP1f6XKyI=; b=uUxBCi01jIalEWU/FW5edn42GUn64b1BZ6C/0Cs3RXmyd067Ohbi+Cx11TdODPK3pWi1PR d9AbHUQLXLQk1FKh/U5XwVVSSTXNilROdLdzQbiX55MxHee0B119FR02S4WIzuNxaXj7rr +z6i/37OU5jhEUJYN3d++YRT0wu75UY6GejbU99EGb1bc/EMEqFoHZ5zL/WPwKd7II5xUo Bq723AfAHDmso9Dd+K2NVJVDImmrSJE79+frXHcTJt9LYoun31FUUAFwF25JVP50WvsZSz Rz1JRKVhL7QfTWwmCfh9e9AHbTMOdFLBJVMR5K09qYyZfRNWZ6c0CUxaIG3b+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653728814; a=rsa-sha256; cv=none; b=pPV79Clfrh6fIcjyLBBotNzwQJ2NTV+F+gQWcAGRGmpmyio0Ulm3kD0lx4BpznqPela7ZZ kB5V8iR1zQPxMrxV0G7bmmsi42KPdCwLcsRocfvso9icLACNzgj1Jul0R0G3KJdCOMheWc ynKNWry9/Ttr8t0giYrHVQcD5DCF87Kwl1JcuatF5nlAidmh/Ejfc1YfEPd/WkBGROGknx KmqzpeyOvmHDHeQK01GxZwqoNQCabnwUzwBWVunqUoqvrZcN/toOX/P8jShK6qeIa+yo2+ IeDc2Ad23YanUPrIjcVleQLVxWC6EdlAErIdBGoof8EAxxUdgnK9fv8UWUDqkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pzPtvMCc; dmarc=pass (policy=none) header.from=posteo.net; 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.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pzPtvMCc; dmarc=pass (policy=none) header.from=posteo.net; 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: B253EFBB3 X-Spam-Score: -2.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: SWy+rCwsvmkA Uwe Brauer writes: > I have also to confess, that I usually am I bit hesitant to use > defadvice since it changes the vanilla function, and might cause > problems, but maybe this is just me. You are absolutely right, and I confess that I would have the same precautions :-). Also, the defadvice code is very poorly tested, and is likely to cause some collateral kills... If you need it for specific use cases, you can try evaluating it only for specific sessions, instead of leaving it in your init file. Or make a mode that turns it on or off. Best regards, Juan Manuel