From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id mG+8Nmf/KGaJ9gAA62LTzQ:P1 (envelope-from ) for ; Wed, 24 Apr 2024 14:47:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mG+8Nmf/KGaJ9gAA62LTzQ (envelope-from ) for ; Wed, 24 Apr 2024 14:47:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=M8gTjqfY; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713962855; 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=nY8DuFSnvjYqzaM797J99m1jogjxmGFia1VC6opx5bE=; b=OSZBIAYvhrBeM0s02zx/9TMwCrTsgvTnIvHb9KHxaAnQ+QhGjj2DZMOCFPEodP+ZomBk65 ytULONKHNZpfCg+ZDIa4uEznbYagK58EpUiHg7oam/RsQt/5EnRCzWY4kBrauxesIx0UoA 3J6VqGmySC2P+OMPU0yh2+yw9oJqSAnPWIHody3FXsJTca/5+GAenTE6Ms10dnckHp7qr4 bRNFq+WoDWLj9Swo3f15YpH2ueQnxM7TsaDQkpyI+MeDxoU8XeVt5yRD+fSSTfO/mKm0/L cSwL6E9LB+rmVWa+lSeSjWE3GqRHK9JHH6nGxmSZCqXXdwrDUgQ+4v0IxSowlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713962855; a=rsa-sha256; cv=none; b=j3/BXB6F2/sqZl45GhhbS21bO2ehpUUdhvDFJWVXh8V9hF3QByRMjPUkUeA2ErB4ylMows 6eaO2N1GGawTg0U5pIjW6kq9bDQpAfUcpSJSdmM6xN4xFNw2M+9Oxi3+y9vuyzMz5L0fdz k9Zmdr5NOaqX45g7H8cetoxQQliX/z2BzCkU2CUtD79db1Kv9Y4RiGWhiEulTd8By35lj0 zoVGL89qp3oCsBP/dmnx6BUAoV3XWwrpGoROko66t65j4wZFEZ2gH/WVe6wZfAkfXGZysi 5j9/GuasdiAvhDmrUbur3kguFCF/0+Qc9iy09S8WQJI9MqToi6ZMQ7KM2TMYrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=M8gTjqfY; 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=posteo.net 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 A85E726CCD for ; Wed, 24 Apr 2024 14:47:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzc1N-0007iB-Oc; Wed, 24 Apr 2024 08:46:46 -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 1rzc1G-0007h8-FI for emacs-orgmode@gnu.org; Wed, 24 Apr 2024 08:46:38 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzc1E-0006XK-AV for emacs-orgmode@gnu.org; Wed, 24 Apr 2024 08:46:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 92762240029 for ; Wed, 24 Apr 2024 14:46:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713962791; bh=cS7UGRJKXzv77tV6qaAqL9dqXNNlspYzu91ug0ICtTY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=M8gTjqfYqwZXnDAE1oEah8VUo29kRD3g+7XdQpKDygqvwAaZ3zdIabablJYIyl/WA niNvYlsOBgql0Zqr+yX8uu6zsMEjPnxThuByRNiJQtu58m9ohXoYmrfNzNMYIr0lag LKPn7a9a6pH4YVFVEQcRn5KV8Xt0gVTpOdqce5vJ0slNNkRpV7H7BVAPcXPQgms22x NNAU9futpEbVe2IoqtC1gAeWxCD/bo6cICSci9WqLiq9to3QY4M7s8dP1tyeJnfjAf zChmpFWzutEmkdcC8Hq25CNwylP9Z7e73fUuyKoAFKGjXT1cv2ENsmU7k8kHTFvGDk SqIsBDLY7YhHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VPdyt5RQ8z6tvn; Wed, 24 Apr 2024 14:46:30 +0200 (CEST) From: Ihor Radchenko To: Pablo Aguado Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] Exporting to text fails when there are broken links In-Reply-To: References: Date: Wed, 24 Apr 2024 12:47:23 +0000 Message-ID: <87cyqfdj1g.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -8.23 X-Spam-Score: -8.23 X-Migadu-Queue-Id: A85E726CCD X-Migadu-Scanner: mx12.migadu.com X-TUID: mK65ewiuw/g0 Pablo Aguado writes: > #+NAME: source-broken-links-mark > #+begin_src org > ,#+OPTIONS: broken-links:mark > > ,* Some title > > ... > 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported correctly to text. > #+end_src > > #+begin_src elisp :results output > (org-src-to-text "source-broken-links-mark") > #+end_src > > #+RESULTS: > : [BROKEN LINK: {filename}test-nonexistent-file.org] > > > NOTE THAT ONLY THE BROKEN LINK IS SHOWN HERE! BUT NOT THE REST OF THE TEXT. Thanks for reporting! Fixed, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d6353b283 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at