From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2CAiMDA772Dk0AAAgWs5BA (envelope-from ) for ; Wed, 14 Jul 2021 21:29:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UEsSKjA772AwYwAA1q6Kng (envelope-from ) for ; Wed, 14 Jul 2021 19:29:52 +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 9138A1DB9A for ; Wed, 14 Jul 2021 21:29:51 +0200 (CEST) Received: from localhost ([::1]:55510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3kZq-0003uL-NX for larch@yhetil.org; Wed, 14 Jul 2021 15:29:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m34gX-0003sa-UR for emacs-orgmode@gnu.org; Mon, 12 Jul 2021 18:45:57 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:37622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m34gW-0001kr-D8 for emacs-orgmode@gnu.org; Mon, 12 Jul 2021 18:45:57 -0400 Received: by mail-lf1-x12a.google.com with SMTP id b26so14089587lfo.4 for ; Mon, 12 Jul 2021 15:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4IVNLeaRAbVNMEH1NKcYk1b0aZ3hxEF9a4/5ZbD2y44=; b=Hd50vD8La8hmpSDnhEcQiiwAFBTyqw/XYTwitGxtK+C56RMo7jnNQe0JqcOYQSAKZq 51s9r8yxD5b0IIZWNJcSmA4aqUsy7OPTvh/MeWmZ/Aa1/sVj141pyBjiTc9VBUAVn7Xv v3yVcJI3JQQFSZQ/hlO1znPr7IxXpi0aFjYKbqeiol91fQ3oaKGR+pAS7K4+TcIza6Gl tKfcpmgyXVYBwL63StBLUsTfuyayTcuUDSoXccL72Um5seB9PMmSfkHFv//osuyYfVvI Ei0J3cAUKCjjUhr/K1BRm01yNT5y1wQ+AhhyKJUSz62XRdtkDljg+XRhQm1sFoYuIVNc XO+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4IVNLeaRAbVNMEH1NKcYk1b0aZ3hxEF9a4/5ZbD2y44=; b=RmnLQ5B3TmXPLC3eM//5wkL32LlmHb1wUdzrnkSTmkEM7MXTLNtFRajqAXjIIutvQ2 WNUcE9IkV2aHJUb59ejf1iezy9wnwm68cWyk8SkXFPhpq1078Tdl4QrnPxpefxnFrJ22 QNXViXaQ+E11xGKVNQA1WWzQkjCCUmD/O2iZh9CN19/ggJS0UcN+m50ljL9iDdQ6KZJ9 ABZo6Ln/UMPkqHvkr5Hqn73kVShXWNYeHl+4NX5bdzzEkQOKTZL4W5tfc6pNBPGJQGax brhQMEuIku2EL7NCrpyJP4u9YqrbtBeQzliUHmO8NvC4pVG48TjbyurlR+3dkluN52vA Cu8g== X-Gm-Message-State: AOAM533u13N0xsbJKq2hbgPTl62v/j1QaDNXSYskQyqmEFgiUGBC2trj knZzcfWDyXPPMaBqHPSuINsyq2xDmqTlzeMDvZFUreTC+7s= X-Google-Smtp-Source: ABdhPJzVj1r3xK0TI/rJDOmXTJbvv/+b6oNhuYo5SWbeNdXhv7TiA/nSpUO/NJ4AQoAsPQpxLO+99plmvu0zH6aVynw= X-Received: by 2002:ac2:48a9:: with SMTP id u9mr825107lfg.277.1626129953208; Mon, 12 Jul 2021 15:45:53 -0700 (PDT) MIME-Version: 1.0 From: Kun Liu Date: Mon, 12 Jul 2021 15:45:41 -0700 Message-ID: Subject: Bug: Unable to resolve link when exporting subtree [9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000383dda05c6f4e2ca" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=kun.liu@gmail.com; helo=mail-lf1-x12a.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 14 Jul 2021 15:28:53 -0400 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626290992; 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=4IVNLeaRAbVNMEH1NKcYk1b0aZ3hxEF9a4/5ZbD2y44=; b=AT+0aD2EffVXI4uPnR3m2lH3guWnb0Bs1aGenlaYCLdZ9zE2oF05PxqSjMOTBboGVxfibE I5n6PShCyCHPG9VcxJeR3S13InjdvccYUCQjLhwAsh3Lv73VVLQNnlOubdnzJRvZ7ixQHb p2/Pr4K4e8yLY3gBhdOBSpmsFSabAG6jOcs78pBMWYBRGuUAW5RBlx8olUQWKe6V7Cfz0Q o5NRPHrJPZ+DE0tpsG9LHb8kvTHE3rSp++nnXNae73nYeQ5oczYaNU5R9A2lpxXElLyaQ5 xsqAhJHgZ0YlX6mOX5ku2nkjL8vN+jahsuyc/ZzHbC2DnS4xFVSoBWfzSeL/ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626290992; a=rsa-sha256; cv=none; b=qeXrAp1wgM2MV+FPKRMlCc5SmD9b89mO3nFSo/FzEbLMaT9VbotsR7cAun3zRp73uY92Iu CrRbJfxhIrOAf3AAaG3tqyr7nvQUOrpMVRsCg8SqXLHqbkb6e8ceYV1v7Pwxsg09U9st+n +VRzuH+yCaF/L4vkiuUCJe+425MPqsc7W/L4k2ZD1FBMSheu5FzkzxX+T+GQD9VMkGUanu 7+puAqBPE6WVLBG4VX03yabEOBgZTdgInPoWdLhqmQBdckMCaQvc3nyt0myzlE1F4EOoGh aUCOrK9lqZIqH9tNeraXJXLgqZsiZd+wp5ujV5Vl8XYeliupgu7sGBFMY11b7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Hd50vD8L; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Hd50vD8L; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 9138A1DB9A X-Spam-Score: -2.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: B32q73oPOgLV --000000000000383dda05c6f4e2ca Content-Type: text/plain; charset="UTF-8" To reproduce, create a test file as follows: * A link to [[*B][B]] * B Put cursor on heading A C-c C-e (org-export-dispatch) C-s so Export scope is set to Subtree t (export to plain text) A (as ascii buffer) I see error user-error: Unable to resolve link: "*B" Emacs : GNU Emacs 28.0.50 (build 28, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-07-12 Package: Org mode version 9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/) --000000000000383dda05c6f4e2ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To reproduce, create a test file as follows:

* A
=C2=A0 link to [[*B][B]]
* B

<= /div>
Put cursor on heading A
C-c C-e (org-export-dispatch)
C-s so Export scope is set to Subtree
t (export to plain= text)
A (as ascii buffer)

I see error
user-error: Unable to resolve link: "*B"
<= br>
Emacs =C2=A0: GNU Emacs 28.0.50 (build 28, x86_64-pc-linux-gnu, GT= K+ Version 3.24.24, cairo version 1.16.0)
=C2=A0of 2021-07-12
Package= : Org mode version 9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/el= pa/org-plus-contrib-20210712/)
--000000000000383dda05c6f4e2ca--