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 uEKxHEYJX193NAAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 06:10:14 +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 uF0PF0YJX1+2ZgAAB5/wlQ (envelope-from ) for ; Mon, 14 Sep 2020 06:10:14 +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 026949404D2 for ; Mon, 14 Sep 2020 06:10:14 +0000 (UTC) Received: from localhost ([::1]:36948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHhgq-0000OD-Vp for larch@yhetil.org; Mon, 14 Sep 2020 02:10:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHhe8-0003tL-I8 for emacs-orgmode@gnu.org; Mon, 14 Sep 2020 02:07:24 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:34256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHhe6-0002Q1-KF for emacs-orgmode@gnu.org; Mon, 14 Sep 2020 02:07:24 -0400 Received: by mail-pf1-f171.google.com with SMTP id v196so11827808pfc.1 for ; Sun, 13 Sep 2020 23:07:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:content-transfer-encoding; bh=du0RwJH/s0EU2+TOYpbZikMZfK3UNxefIPs9usgPOdg=; b=AHC/d71bvItcOg9ZzA5OwcCaeXynI6E1KXR0As8aDT9E1It1cjelIvxaA464Hc8X1i GpskP1iYajbI2dyq/jFjzqg3SxvM7mdyrOGepua9LnqmYmMiKK+q0eDEc+q6O+Nr+uJR sSKGwwknHK1SIKCXk9tIZ0wybK4tf6KHMWUvMczpxeZ+aR7H2h6VhtXPddv2gQb/WAQw sX59nTHgTpHdU33jWv7Uvh6vaq6O4z4G1J7eMHmhrbxglf+S67jxVxf6sNdyekym1otG 9vKrLISos/ic8poT1Cu6MghngLD2VWcmTU46Erc8jkWKdH7ldKuY/sKBPjB8rOtbxMm/ S03A== X-Gm-Message-State: AOAM532/bhcCZdFc9dhnAFk+9adAQ2FwrdEhHQ3HbtGGyDYw/LXywYed UwSUm/rX6ZPBw4tWBRMpiUM+9+z5CjE9HyfyQBihdDr0cwo= X-Google-Smtp-Source: ABdhPJx/HbvbYWwOwtbbz21L38a6KWVH0rhAdB30PEQdw4Wu2JQ3USuNd+deYs+Ep2Hqg5qRL/LxRbzaIkwXhunBWyA= X-Received: by 2002:a17:902:ec03:: with SMTP id l3mr13281749pld.56.1600063639898; Sun, 13 Sep 2020 23:07:19 -0700 (PDT) MIME-Version: 1.0 References: <87pn6qmf5h.fsf@kyleam.com> <87imchn26k.fsf@kyleam.com> In-Reply-To: <87imchn26k.fsf@kyleam.com> From: Rainer Thiel Date: Mon, 14 Sep 2020 08:07:07 +0200 Message-ID: Subject: Fwd: how to remove automatically an intermediate odt-File To: "[Orgmode]" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.210.171; envelope-from=rainer.thiel@gmail.com; helo=mail-pf1-f171.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 02:07:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: r.thiel@uni-jena.de Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uni-jena.de (policy=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.91 X-TUID: YI6rxKftSJoM ---------- Forwarded message --------- Von: Kyle Meyer Date: So., 13. Sept. 2020 um 17:09 Uhr Subject: Re: how to remove automatically an intermediate odt-File To: Hi Rainer, Rainer Thiel writes: > Thanks for the help, but I cannot get it right. I am always getting > the message =C2=ABerror: Unknown add-function location =E2=80=98org-odt-c= onvert=E2=80=99=C2=BB. org-odt-convert is defined in ox-odt, so if that library isn't loaded yet, you'll need to explicitly load it before that snippet: (require 'ox-odt) Or you could use eval-after-load, as in the next snippet. > Where exactly do I have to place this code snippet? I am sorry should > I be overlooking something obvious. Anywhere in your Emacs customization should do. If you wanted to avoid loading ox-odt at startup, you do something like this: (eval-after-load 'ox-odt '(advice-add 'org-odt-convert :after (lambda (&optional in-file &rest _) (when in-file (delete-file in-file))) '((name . "org-odt-convert--delete-in-file")))) > Thank you very much again, Happy to help, but in the future please keep your replies on list. That (1) allows others to help and give feedback and (2) may help other readers that had the same question as you. --=20 Prof. Dr. Rainer Thiel Institut f=C3=BCr Altertumswissenschaften 07737 Jena, Germany (EU) r.thiel@uni-jena.de