From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ADTrCN3n/GQvcwAA9RJhRA:P1 (envelope-from ) for ; Sat, 09 Sep 2023 23:47:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ADTrCN3n/GQvcwAA9RJhRA (envelope-from ) for ; Sat, 09 Sep 2023 23:47:09 +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 AD62F3B166 for ; Sat, 9 Sep 2023 23:47:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disr.it header.s=mail header.b=jM4fyRdB; 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"; dmarc=pass (policy=none) header.from=disr.it ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694296029; 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:dkim-signature; bh=P4eHL1Ej3jBXCBL/2X7IZbHpILRrfUSIPYa0V0kY4yQ=; b=gbCIFaR1HSDKSJtvdsenBiOphbRmpHvXwFIGfU5qix3GV8cRBnWA/i2fAQLecp2Q0fc+ki R1bxtWrhl+/SiKyRkAiBU3Bk7CIdsyeFWKiZEJLYkf34hfUR4shperSEcBWIVg6hO5AWqp 4WXL34Ng/RlPezS0XSDCbienl+IjPiETSN/kWjNbKrdzrACl98Zk6rqCzNtEv10LDG07XL ILsBWf36JmA4vLBw5iTgLjMS347vSESIYJfHc5VDtR+F3DFvZxL+/GTRuFlOXi5lLQAH3s GND8bG36bc6Ok+MRASHeH96kQ3PNQrNPtOMy+AgDLzrrCTXB8+JPUupi83NyFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694296029; a=rsa-sha256; cv=none; b=Km9DyU/Nhq3bAt/h0hGKdtDVPWMGGAvBuSpVSNv/589NGrWkPpu3i59m1o/ApXWHNiHveP mOo3w4dXhHboLLM/6g9gOpP+4oAOOKA3SONRcyqXhSh3Pd77KbXslJtFegasRoGGBkW9dp 5Q09YB8HLaUgPufEWCf/DWfc3eRPSRCANaIe/Q0g9h99AdoNcKemD9ayHGYZzQ59RDUy5W +OWmBhLaHY8axuMKg7NiMm3BU9FRPah3AVRDPMPtEkjiSx/YlpMPdNYaA4Paq92b4r4W+h JJpkGHS2UtUWzwp+heAUoi/wBQF176SL6xs6nnZGdBKQQ8YTHTbqpatSN49YKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disr.it header.s=mail header.b=jM4fyRdB; 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"; dmarc=pass (policy=none) header.from=disr.it Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qf5mS-0008J3-QT; Sat, 09 Sep 2023 17:46:18 -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 1qf5mO-0008GU-0h for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 17:46:12 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qf5mG-0007e8-J4 for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 17:46:08 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 116B140237 for ; Sat, 9 Sep 2023 23:46:00 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m1NJeF1fAnuz for ; Sat, 9 Sep 2023 23:45:59 +0200 (CEST) From: "Jorge P. de Morais Neto" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail; t=1694295958; bh=MHsOTSsem28fxTDQ7BgMhJiSjtbItd2082HFe7Z/RnI=; h=From:To:Subject:Date; b=jM4fyRdBavd1QL6hptu21VCMeZ598Z7PuJuwiUm1QHkuwcW3huLNOURqFhxLiVG0c ML6q/xSkBM8I9nZjG+QbcTePa/Nl+l9PfL9p05IVJmW4F2MA6dSxucNDVjWurpf4hS dureA10myf2eoBammx9Pl6igKSk4fhNagU7EoEYSwy40MmOnaKXzH1GNfAoumuKbed LmLncbqv85hcOxvU/iLIOgB7e+MLFNbd4gWxzgIFr41nc049EoPjzGfip5WDs6Oj57 tSj3R+dUgTf+1xDxLUE1Co2fyCLfenTfa3m4vRyFiHvC4nI2/EZxaZNURUcI2mTKXr KQ5nNtlhpK+YA== To: emacs-orgmode@gnu.org Subject: [BUG] org-export-with-broken-links not respected for (org-icalendar-combine-agenda-files t) [9.6.9 ( @ /home/jorge/.config/emacs/elpa/org-9.6.9/)] Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 09 Sep 2023 18:45:43 -0300 Message-ID: <87v8cjkol4.fsf@disr.it> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disr.it; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -7.42 X-Migadu-Queue-Id: AD62F3B166 X-Migadu-Spam-Score: -7.42 X-TUID: 4l85sW2NkLfd Hi. I am on Gentoo. I wrote the following Elisp function: --8<---------------cut here---------------start------------->8--- (defun J-org-icalendar-agenda-no-babel (&optional async) "Invoke `org-icalendar-combine-agenda-files' without babel, maybe ASYNC. Also, make broken Org links just get marked as such in the output, instead of stopping the export with an error." (interactive "P") (let (org-export-use-babel (org-export-with-broken-links 'mark)) (org-icalendar-combine-agenda-files async))) --8<---------------cut here---------------end--------------->8--- When I invoke (J-org-icalendar-agenda-no-babel t), the async export errors out. I determined that the inferior Emacs process does not see the let-binding (org-export-with-broken-links 'mark). Is this intended behavior? For now I have worked around this by writing (setopt org-export-with-broken-links 'mark) At the end of the file named by `org-export-async-init-file`. Regards! Emacs : GNU Emacs 29.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-09-03 Package: Org mode version 9.6.9 ( @ /home/jorge/.config/emacs/elpa/org-9.6.9/) -- - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: https://www.fsf.org/free-software-supporter - If an email of mine arrives at your spam box, please notify me. - Many people hate injustice but few check the facts; this causes more injustice. Ask me about