From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AJl4B9F/KGY8TwAA62LTzQ:P1 (envelope-from ) for ; Wed, 24 Apr 2024 05:43:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AJl4B9F/KGY8TwAA62LTzQ (envelope-from ) for ; Wed, 24 Apr 2024 05:43:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=REEeydQW; dmarc=pass (policy=none) header.from=hotmail.com; 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=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713930193; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uRWcKO6+sVqgHMmn7M6KUxqeDO8F+bauhIubklj9rZI=; b=Crt3MvxXrZtk5nFSA/+ClZWovmmZAku3Xj1yxjC7CO5YTwgefBRbsA9Z/P8JLB78tefN0m cPwyYavMmsdL01SeHGJOTdrFQKSoIl8oR/8csdcgNPIZNGfLyJo00ApzgKZ6S8/sfhD/xF QdXxfStnVTz1SRaHb4+vNHqi0RHH6tWgJRvrk/u1PKikQv9wiqPAS3LrUhkKODz/mJSiE3 ut+Wf+nxpMuYN7RGIEb2W14uToICUUM4PsRKfKe7/eCdVvaMFPgByM++HbKQo7spOnBoKO kmz9/qLYhWrRwYcVdtX/oFdqhVngh9NP9hYiwoDUk1qQ8wvAezwLzm96DKGoCw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=hotmail.com header.s=selector1 header.b=REEeydQW; dmarc=pass (policy=none) header.from=hotmail.com; 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=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1713930193; a=rsa-sha256; cv=pass; b=RQY6b+715hl9uE2UFSVcHdqenw//rndxamMzjBY8JaEUx8gyiRLPzliw9kIy9Ltp+zbWfF Hk2H0oKsXdFnQNEcmjEHkZJx6NfzbaMzfMqS85foeWLjQsA0DyhYT8zscHJhztmd3yeLn+ tRVJPbFZ78L6SeEPDRcZCXPcGUWgrSIRyxz45IQAcGcXo/mafeCpRqaQ6TqOSnrJUWT47M LPQ8t86lrbVGGEHY5CHA413GEXemC+hW8QBoejnHlr44aXd7on1/bwIjtxmimaUvSBjqLW ZdOuggmpnOG8atcZnG9Lgr7mAlOj8g7ftWhWHdbjhDLGsHaEIrnWgmIzrCDqMA== 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 88B3964DA9 for ; Wed, 24 Apr 2024 05:43:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzTWc-0003qC-5P; Tue, 23 Apr 2024 23:42:26 -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 1rzTWZ-0003pu-Pp for emacs-orgmode@gnu.org; Tue, 23 Apr 2024 23:42:23 -0400 Received: from mail-mw2nam10olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c12::800] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzTWX-00031q-C9 for emacs-orgmode@gnu.org; Tue, 23 Apr 2024 23:42:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AzXezWkgDT8M00Wk+XaJvkOW2xit92Ai3MjDHAti7o8ObqhVgaz+RAW4MpM+EP3zxfuk7kdg8eAOJcsuLCVp/sMOtNfoO0fpcfJYp1lQW4Ff8XoR7PbSKiRHR9XuQUTFwe0udkqNwH4eFVVh1M+7gxW+/5r7qhZzZrd9kLAws1C4WWwBBtPHumyhW2glR6ugAEw5/HoifFM2/NZ8tzD5LN2Zn3MefyOwGXO765SEBIFV32uDtcGIQr5lKa7ocsnax3fBGJkjhtuk7wKWjyMHnuwqWk+Qj4o/gLIzCYKrFEvaw7Clh+WGaLld0goZRKq/vSulqp7onz/GiXFOUgrpyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uRWcKO6+sVqgHMmn7M6KUxqeDO8F+bauhIubklj9rZI=; b=KLDOcESCa41KP9aR3WkBd80occUXSN+MDVThcMhCm8SMAswZ24yNpzBQpw56o38Lmio3NLPLo8UruEQZvyUpuU2cPsr9mFgu1ZW2Pa5wtj9UsEBvhmI3u/ZSXgjH+WKWAYQDLbM+fm50RUJgOiGuodrZuhki2XSilr0o2Qifu4mpevN4uWp8pPeJBy8UvIzOFie0oB6h3HQeuG68AhNtEToTwonJiIGQoMdUBM2D1eKe0S+QYoOZvGUxVRu30Gjuhx62SrqmL0gh9dQjyWHT7btQ9zY9ZwQMjOltCmcI7LBNCBg9t6kEUtaP/3ZQUcpRXE6dAQO+aQJbY3ZjUGVFUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uRWcKO6+sVqgHMmn7M6KUxqeDO8F+bauhIubklj9rZI=; b=REEeydQWV58SsoWxCAVOkAZ24KkETeoFV4eV+Qvg8D5nMJGZzxg3sSPm950lCg6xcQYwdpLGMiUP1gDf813F71Ev7+hqibkUBjBIVf6gliL5Zw609Q4lm/BLBjj3vlTu1MneoWNsgm00eUDUfWZfmAQT+mSps1IweErY8TFGglBBT6cPn0I9WKOO1gdE1MXqedbPzcUy6J6Iq/9T2di/OxLx5mZgz1RBUIf6cwHxYg7nb4hW8K1rgBZHDyG9T92T+MxrDsaFKtP0iziDcfnhLPHKduE3eq6i4qTVvrCIh4Ng3hverdh46sntL91+3udqCwT/GqVQwfuP3dWf8Xw3Bg== Received: from SA1P223MB0702.NAMP223.PROD.OUTLOOK.COM (2603:10b6:806:25e::17) by LV8P223MB0850.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1c0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Wed, 24 Apr 2024 03:37:16 +0000 Received: from SA1P223MB0702.NAMP223.PROD.OUTLOOK.COM ([fe80::f8f7:e105:15b4:aa69]) by SA1P223MB0702.NAMP223.PROD.OUTLOOK.COM ([fe80::f8f7:e105:15b4:aa69%5]) with mapi id 15.20.7519.021; Wed, 24 Apr 2024 03:37:16 +0000 From: Pablo Aguado To: "emacs-orgmode@gnu.org" Subject: [BUG] Exporting to text fails when there are broken links Thread-Topic: [BUG] Exporting to text fails when there are broken links Thread-Index: AQHalffyWF6IH/gaYk2e98faH0LypQ== Date: Wed, 24 Apr 2024 03:37:16 +0000 Message-ID: Accept-Language: en-US, en-AU, es-AR Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [7xV4sr2qDweRI/7zfWQpmGTKIsbGSxV/] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1P223MB0702:EE_|LV8P223MB0850:EE_ x-ms-office365-filtering-correlation-id: 47572252-1df4-429b-e1a1-08dc640fd63c x-ms-exchange-slblob-mailprops: znQPCv1HvwWUfGiiVRRbI+Uib6hF5b6ZTc2CfqZkxWtC4XGclPFqj4FZfuNn66f+xiQ4vYz6RmQzRdWfC+8WLa+/1ozitEbUqAzknPIAmbgpXgkEttcr0YmsLV+w5VsIRJmDqOE83RMLNHA3rTQ2i7QfhD2gMvb09YF/mqBpiJEbZCjqi9Q9T3DH13zVi7YRyplOB6+fXuvJXkn7VVQKTLhavEtJ2KXr0BK6WZJasGvVlCRUmXuN1GYubI80Hp4L1FwiFVdsLu/FOvlopDvvsooqXGgtEuZ9jku9/wpzROcoyBnyArUHrPvI53t1kh20XVhmu5Vxjv8IkCzJMljKqusmgUbX3Ai18DTnAULxprR8JTTdwSMn3FDkjv+SC+A0SxvQMg3b2vW8IlWaagZP5uAFGy8BBwB4uTF+v81Ej0wKEmHNGwL21GErhutGznVmNcm1beoVLqS9QqBXE2JM30LQJmeD86JOblnfnSMsFSNPIwQlS1lhrgfZzqapg6H6yCDmW/GyKR/nZL/5DSSokGqvGdeI1ABqzHdRB5Ip4lIhOTgptWM9XFo7Ft1mpUJzxIJHxr6LiJsbISJDu2HRwZ4cNssM9nJyAKN17M4OMuKIems0q7u6nK4W9qBULJwRxbJS5alzIGlOiPM4oL1d5lC9CpeHpA+mAOxrsRNRQ83lo1gikS/mTwr7bKG8N/6evBkvlMVC7aUp5qh61+9t0BM5MhW32cm1uxlVVaDXJHyA/VOt/ex0P0FZDG1fTyJfWYgZuQnlKOA= x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fvqIEWPHIMiMU9Suuj3vbEkKe4fWdrtW+8r8Fw3TMVlPlWoZoI2EPUd3/5aPl6zbd0FRUX7jozHBWwdVBwzTETfa52R3WDFhG2UzkEA1WpcNHTxnZjwHjd/ObSBCTgqCvlZYPou41Y5SpZ9wl0D3l/Pts7ImVlguYa4hb19VGRhvCCXchYFh5LEVDvenbXisvw7cBxwfdyCChUkKgzDoJWusLP3YJyYQ1xHZ925tu5EEdeUuXOwjCj+ijMyIQJdoooJ6uTRO5ov9CPe9xdmr0E1Q/3aHLi/LvCTnUpJ2XfM6c64mlbo3xttx+pLxtS1B0LNTTh6XDL2Fch1iYZRaUBf4MOcdz87wnwk6+rfLJDQgbguGdp5+86K6WYsm2KPbozJfP2OBrWn6YpjceyyFuWvIL+ybSf26FdnbaVGfhs8AhZGPVFNQVgvm4pR5FRnRS72qjsJB9HcaVMkLwg1DUk+1nWEvOPWTWv2acfQgM5U+r8SEdHsty0y+jGc9765QTTFNIaUwgWPvy4FnsjktB2C1sNdpxQzoV+x01Xe3YEziuE78pUE3G7CQmpYhs/7P x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?prq/V3G2U7xe1Jy/WuWdsQN3koi0Qs5p/ruoxJkRTriBBn1+KVuqbKmmzv?= =?iso-8859-1?Q?idWxwZxiarT6NdmYiP9+3bTZL9zyCWI34KPyzSU+pWifTZsaiGmuoU+BAP?= =?iso-8859-1?Q?nX8XEVtvIwebUO6IJHmmq2rM7gylW24KeA8Pt64l98FcEmGA0OJJLvrsEp?= =?iso-8859-1?Q?zsDuET6ZF6sUIpcvJQz4F54ylRinIounHheWkIJ1QSbixOEZ/GJ7FCPn1E?= =?iso-8859-1?Q?IWunnBoSfl/0wdlNOSTGjSOxMMnTvHedXnY8A5V/QOrMgFra+no1e9LPi5?= =?iso-8859-1?Q?a+Mj/KtwbEf35apZvqcGogcetZbAu0MrI/osJXzPUTpsjyDrsE9ufBC6fk?= =?iso-8859-1?Q?YENdm6JKoMYXMZ7AapAGT2fGBmcX1EJwYHfvpejnPxs078qldJaJeRyjL2?= =?iso-8859-1?Q?vIw2+PjH+EgpJZ37Qda5SmI/tRFLdAL37xSiofTkiOV+oRfSe1NvrC6svo?= =?iso-8859-1?Q?r9VVQKLs0LqE5n7Qkg8Gt4MLFsukThhosqCmQscEh4S7wvbv3sRnmT0zhm?= =?iso-8859-1?Q?w1/cqDfWkS6tbWDp8SbUrAZSMOrajP9YM2zauPh7/C9cF3egmk9jLOKGwn?= =?iso-8859-1?Q?WvWNm3tiwhzWM9xcUTLd9Rf7yDuoB5Bv5RNM0aPV4lTo7ICNqiFyuZG7q9?= =?iso-8859-1?Q?6WT3GLhE4FfokoxaBXqRyWoxUewA3enBomYqI7b/GPq+aw5INvHtXR/DAY?= =?iso-8859-1?Q?XgNVKba0JZnBmWSFyCpBXGamZBMs3UT42oANObMxFCRDKNLzeI1KbPEYGA?= =?iso-8859-1?Q?mnFSG+LNcpKg9FbGB23itmUgdcCgeYKx7+96M1H4tYwjUKCZ3f3PunAntE?= =?iso-8859-1?Q?Hz0ecC97Sh9BGYq/gw2BRzfzVPQD5flXOUfuQ9VQVlX6NozYHaCferEBu3?= =?iso-8859-1?Q?3FfLmLvjnlEDt38PjlpGEaPhQSc+jn0ee8v/qLEzCHZRUXpNCtxSR3Oysg?= =?iso-8859-1?Q?GjtXyceqf/+J3SZzneFR5F1txUNZpiWSgqcjeOkXHKaoi3Fs2/EkG0BUr+?= =?iso-8859-1?Q?4W/ukkRY2gcxGL+Sp7rZcP6AtLq/02lUtZjPbubbzY+4PTbebGIL6xmPBV?= =?iso-8859-1?Q?zNESAcQjxpex+WX2XPUsmSuABs6CT62vQpYGca3jGq9dK1aRWjdjATTanI?= =?iso-8859-1?Q?SxK+r98pKMuBBd1QH4KeyLQh32prwjWAmF242JvxXfujMRYHUi21CSTF/y?= =?iso-8859-1?Q?sS6+RoK3Ly4pKiTY59v73EFXVH/OiOHfDyb2bdrwf+0meAUMPLh+BdeN+G?= =?iso-8859-1?Q?RKHpQu1ZVARzb+dD017BZ4oFcEFeqke76E5EayiXA=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-1ff67.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1P223MB0702.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 47572252-1df4-429b-e1a1-08dc640fd63c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2024 03:37:16.0813 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8P223MB0850 Received-SPF: pass client-ip=2a01:111:f403:2c12::800; envelope-from=aguadopd@hotmail.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-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: -10.52 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -10.52 X-Migadu-Queue-Id: 88B3964DA9 X-TUID: ioxd9bRwlddl =0A= Org mode version 9.6.15=0A= =0A= * CURRENT BEHAVIOR=0A= =0A= Exporting to text fails when ~org-export-with-broken-links~ is set to ~mark= ~. [[help:org-export-with-broken-links]]=0A= =0A= The following are minimal examples using source blocks in org. I'm using an= LLM-generated function to call ~org-export-string-as~, but there might be = an easier option with arguments and blocks. You can also replicate by calli= ng ~org-export-dispatch~ -> Export to plain text -> As ASCII buffer (or Lat= in1 or UTF-8).=0A= =0A= #+begin_src elisp=0A= (defun org-src-to-text (block-name)=0A= "Convert the content of a named Org source block to text."=0A= (org-element-map (org-element-parse-buffer) 'src-block=0A= (lambda (src)=0A= (when (string=3D block-name (org-element-property :name src))=0A= (let ((src-block (org-element-property :value src)))=0A= (princ (org-export-string-as src-block 'ascii t)))))))=0A= #+end_src=0A= =0A= #+RESULTS:=0A= : org-src-to-text=0A= =0A= =0A= ** broken-links:nil=0A= =0A= #+NAME: source-broken-links-nil=0A= #+begin_src org=0A= ,#+OPTIONS: broken-links:nil=0A= =0A= ,* Some title=0A= =0A= 1. This [[file:existing-file.org][link1]] is exported correctly to text= .=0A= 2. This [[file:{filename}existing-file.org][link2]] is exported correct= ly to text.=0A= 3. This [[file:{filename}test-nonexistent-file.org][link3]] is exported= correctly to text.=0A= 4. This [[file:test-nonexistent-file.org][link4]] is exported correctly= to text.=0A= 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported = correctly to text.=0A= #+end_src=0A= =0A= #+begin_src elisp :results output=0A= (org-src-to-text "source-broken-links-nil")=0A= #+end_src=0A= =0A= This fails with =3Dorg-export-data: Unable to resolve link: "{filename}test= -nonexistent-file.org"=3D=0A= =0A= =0A= ** source-broken-links-t=0A= =0A= #+NAME: source-broken-links-t=0A= #+begin_src org=0A= ,#+OPTIONS: broken-links:t=0A= =0A= ,* Some title=0A= =0A= 1. This [[file:existing-file.org][link1]] is exported correctly to text.= =0A= 2. This [[file:{filename}existing-file.org][link2]] is exported correctly= to text.=0A= 3. This [[file:{filename}test-nonexistent-file.org][link3]] is exported c= orrectly to text.=0A= 4. This [[file:test-nonexistent-file.org][link4]] is exported correctly t= o text.=0A= 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported co= rrectly to text.=0A= #+end_src=0A= =0A= #+RESULTS: source-broken-links-t=0A= =0A= #+begin_src elisp :results output=0A= (org-src-to-text "source-broken-links-t")=0A= #+end_src=0A= =0A= #+RESULTS:=0A= #+begin_example=0A= ,* Some title=0A= =0A= 1. This [link1] is exported correctly to text.=0A= 2. This [link2] is exported correctly to text.=0A= 3. This [link3] is exported correctly to text.=0A= 4. This [link4] is exported correctly to text.=0A= 5. This is NOT exported correctly to text.=0A= =0A= =0A= [link1] =0A= =0A= [link2] =0A= =0A= [link3] =0A= =0A= [link4] =0A= #+end_example=0A= =0A= =0A= =0A= =0A= ** source-broken-links-mark=0A= =0A= #+NAME: source-broken-links-mark=0A= #+begin_src org=0A= ,#+OPTIONS: broken-links:mark=0A= =0A= ,* Some title=0A= =0A= 1. This [[file:existing-file.org][link1]] is exported correctly to text.= =0A= 2. This [[file:{filename}existing-file.org][link2]] is exported correctly= to text.=0A= 3. This [[file:{filename}test-nonexistent-file.org][link3]] is exported c= orrectly to text.=0A= 4. This [[file:test-nonexistent-file.org][link4]] is exported correctly t= o text.=0A= 5. This [[{filename}test-nonexistent-file.org][link5]] is NOT exported co= rrectly to text.=0A= #+end_src=0A= =0A= #+begin_src elisp :results output=0A= (org-src-to-text "source-broken-links-mark")=0A= #+end_src=0A= =0A= #+RESULTS:=0A= : [BROKEN LINK: {filename}test-nonexistent-file.org]=0A= =0A= =0A= NOTE THAT ONLY THE BROKEN LINK IS SHOWN HERE! BUT NOT THE REST OF THE TEXT.= =0A= =0A= =0A= =0A= * EXPECTED BEHAVIOR=0A= =0A= As with other backends (like ~html~), I'd expect the correctly exported tex= t, not only the broken link.=0A= =0A= #+begin_example=0A= ,* Some title=0A= =0A= 1. This [link1] is exported correctly to text.=0A= 2. This [link2] is exported correctly to text.=0A= 3. This [link3] is exported correctly to text.=0A= 4. This [link4] is exported correctly to text.=0A= 5. This [BROKEN LINK: {filename}test-nonexistent-file.org]is NOT exported= correctly to text.=0A= =0A= =0A= [link1] =0A= =0A= [link2] =0A= =0A= [link3] =0A= =0A= [link4] =0A= #+end_example=0A=