From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SBGBAnCapmapTgAAe85BDQ:P1 (envelope-from ) for ; Sun, 28 Jul 2024 19:22:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SBGBAnCapmapTgAAe85BDQ (envelope-from ) for ; Sun, 28 Jul 2024 21:22:24 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hfmdk-frankfurt.de (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722194544; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=ekDZm2GlemR+x3KGPK0AaklsidPeRLVh7yRcOJY9Ut4=; b=jbrNW2r2IQuSBTJHi85MvIh39omeMvVgNXqBfHLT1KGQpHXiSgAr130CNRpfk8kJP2uOnj x39GRQ+BGaZaNDaqt1ioEOOn/PRzNujwq2T49xfnGianESuKT58Nznv9CB0JAP1ost7dZh 1enoy7WCLeErHDxHg9+GhWQRdX6HDnQiOsfjA9LWTb31wFUlYXjHqNl+cjXKfBSVWvGpzU 4/VXyyowE8mTVUH46RETuOJKfLJaLIzsUUC8Nb4YAakI53sT/vfKL+rAQFESKSlxtBhk5+ XCUo21ia6RU4Zk/Ft7+2iTcdBfuuZk3f5hGvRvsp+oT4XBOWSDY3oKAY2IwQWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722194544; a=rsa-sha256; cv=none; b=Lp5BUBPtW71OfKeh/x/ISXHrwheTIa9b+lK7zNdhykIyvKrIvEtfZs8x5RHHK2UnfyRVAW MbUY62ZOQyDRrCg/aBfDqoG4/karyckDbap1hZrjQCijoD9+SEmx1DXYarMXnTFg/E76Py ezmn+/wimov2j/AjAd93mPadmoPefqcHmLXaqIJlun8LA9cxmS/9ZPYz/p4yclJPUWskN8 za9x18GG55Gif/qbXsS0c0XCDcUYu+QchBd7cZ8zUqakXTz35FyyLFjohXR72FJfAAGNvR MnpR6xw4IuviLCLOMDu6OT5h99imLCOXuh9SWx+qssqC964oAbQKYgHjzupDdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hfmdk-frankfurt.de (policy=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" 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 12BF21370C for ; Sun, 28 Jul 2024 21:22:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sY9SW-0003jc-6J; Sun, 28 Jul 2024 15:21:32 -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 1sY9ST-0003i9-OL for emacs-orgmode@gnu.org; Sun, 28 Jul 2024 15:21:29 -0400 Received: from www.selma.hfmdk-frankfurt.de ([46.4.92.145] helo=mail.selma.hfmdk-frankfurt.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sY9SP-0004xE-NX for emacs-orgmode@gnu.org; Sun, 28 Jul 2024 15:21:28 -0400 Received: by mail.selma.hfmdk-frankfurt.de (Postfix, from userid 113) id 0475BF61D4A; Sun, 28 Jul 2024 21:21:17 +0200 (CEST) Received: from selma.hfmdk-frankfurt.de (ip-037-201-128-004.um10.pools.vodafone-ip.de [37.201.128.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (Client did not present a certificate) by mail.selma.hfmdk-frankfurt.de (Postfix) with ESMTPSA id E438EF61ACE for ; Sun, 28 Jul 2024 21:21:15 +0200 (CEST) Received: by selma.hfmdk-frankfurt.de (Postfix, from userid 1000) id 69C323960566; Sun, 28 Jul 2024 21:21:15 +0200 (CEST) Date: Sun, 28 Jul 2024 21:21:15 +0200 From: Orm Finnendahl To: Org mailing list Subject: file local filter functions Message-ID: Mail-Followup-To: Org mailing list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Disclaimer: Why are you listening to me? X-Operating-System: GNU/Linux Organization: Hochschule =?utf-8?B?ZsO8?= =?utf-8?Q?r?= Musik und Darstellende Kunst Frankfurt, Frankfurt, Germany Received-SPF: pass client-ip=46.4.92.145; envelope-from=orm.finnendahl@selma.hfmdk-frankfurt.de; helo=mail.selma.hfmdk-frankfurt.de 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, 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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 12BF21370C X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.82 X-Spam-Score: -5.82 X-TUID: BR7xZ5UDySho Hi, I'm trying to define a filter function local to a file for the final output filter, but it doesn't seem to work. This works: #+BEGIN_SRC emacs-lisp :exports results :results none (defun hiho (s backend info) (message "HiHo") s) (add-to-list 'org-export-filter-final-output-functions 'hiho) #+END_SRC But it destructively changes 'org-export-filter-final-output-functions Trying to define a file local filter doesn't work: #+BIND: org-export-filter-final-output-functions (hiho) #+BEGIN_SRC emacs-lisp :exports results :results none (defun hiho (s backend info) (message "HiHo") s) #+END_SRC This is developed based on the explanations in the org manual here: https://orgmode.org/manual/Advanced-Export-Configuration.html#Filters What am I doing wrong? -- Orm