From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SAGTNw2rXV9vGwAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 05:15:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uOK/MQ2rXV9bBgAAB5/wlQ (envelope-from ) for ; Sun, 13 Sep 2020 05:15:57 +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 D9D0F9404C7 for ; Sun, 13 Sep 2020 05:15:56 +0000 (UTC) Received: from localhost ([::1]:56486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHKMk-0006xn-G3 for larch@yhetil.org; Sun, 13 Sep 2020 01:15:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHKLs-0006xD-Rj for emacs-orgmode@gnu.org; Sun, 13 Sep 2020 01:15:00 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:63918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHKLq-0007Is-4v for emacs-orgmode@gnu.org; Sun, 13 Sep 2020 01:15:00 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 0E426F63BF; Sun, 13 Sep 2020 01:14:55 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=pyRS45BFBcIt6PQr171TKnYecHQ=; b=We3soa 23hKTSkXoycdDHezV2HF6sShWyG9klsHUESfCMH0/OXBUe+LoqPSXrekhivIVf7y 3n3QpZBPsdcBYLhZywjhjkTsq2tisNJtS0phf5GZyqmelNL/HXwLgfme082cogEV E8eiLQiPvWZUubY5RiCBFDMecRvV4jf930Qsk= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 0755DF63BE; Sun, 13 Sep 2020 01:14:55 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=rGSQpNumw79apJS5XnZEc6xHgq9x4O7FhaCxBf27vgU=; b=YvR/arVRgxvz5T8zwTjwNMVPGGHN6dgDSV0/kAhHvxe9CUrJsfafbixyW9qU0mxx/gAfbr4uxSUHX6yohSOFfMcQAA7mSkXlsPSxJ3gPubpkHUjLjwZ6Ur5teWO+3hNZ/ciL2hPFOmZMEkVGVBbNcF8OERpUZgZxb1Z4JEw3uZY= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 79D52F63BB; Sun, 13 Sep 2020 01:14:52 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: r.thiel@uni-jena.de Subject: Re: how to remove automatically an intermediate odt-File In-Reply-To: References: Date: Sun, 13 Sep 2020 01:14:50 -0400 Message-ID: <87pn6qmf5h.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 0DD8AFB2-F580-11EA-9846-843F439F7C89-24757444!pb-smtp21.pobox.com Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 01:14:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=We3soa 2; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=YvR/arVR; dmarc=none; 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-Spam-Score: 0.29 X-TUID: VQXt7KU6dhbV Rainer Thiel writes: > I have set org-odt-preferred-output-format to docx, which works fine. > How can I have the intermediate odt-file removed automatically after > the docx-file is created? Here's one (lightly tested) option: (advice-add :after #'org-odt-convert (lambda (&optional in-file &rest _) (when in-file (delete-file in-file))) '((name . "org-odt-convert--delete-odt")))