From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 3fujNHqnmWLzgwEAbAwnHQ (envelope-from ) for ; Fri, 03 Jun 2022 08:17:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8PKTM3qnmWKwjgAA9RJhRA (envelope-from ) for ; Fri, 03 Jun 2022 08:17:30 +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 5721117980 for ; Fri, 3 Jun 2022 08:17:30 +0200 (CEST) Received: from localhost ([::1]:38370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nx0ci-0004sZ-51 for larch@yhetil.org; Fri, 03 Jun 2022 02:17:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nx0Yl-0004rh-VD for emacs-orgmode@gnu.org; Fri, 03 Jun 2022 02:13:24 -0400 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]:33779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nx0YI-0000Rr-J9 for emacs-orgmode@gnu.org; Fri, 03 Jun 2022 02:12:55 -0400 Received: by mail-oi1-x232.google.com with SMTP id w130so9349530oig.0 for ; Thu, 02 Jun 2022 23:12:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=oWOOr8LbkRVU49usYvqAtDx56VIEJmg7S2h4WfJjvlA=; b=B9uKgXCqQyvZKwd7Q4HvLSXYX0mO+YvKCt+8ydD3xzP9SOjglrEtzVtq4qzwVUCv8i vAg0+cW5KTO9UAX0B5tvGWP/AzAvag8PqkfUcpIZik761W20r9tNWMeu9fVfrqs/mwFx /cQncFfRW0aJ9SoxOvFKLq0hY9uC98JnekQwxxZw/ix3AAesR6Mw59axN7P0ziiA9uX6 NWIaXLmEnqRRAv8nGr+/KJkrA0/qUnL5Pqq7Y5YXLaNYaTo6jJTLbl098m/O2QdKgfLf fw4+08A7cKzLFWA+4aa5bYp7SmliVquEhI7/6Bkt4SORI0KJ9BFHeBYOCluX/emS/KoY nKfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=oWOOr8LbkRVU49usYvqAtDx56VIEJmg7S2h4WfJjvlA=; b=iyebDgX+qBsM87wrO77gNgtA8SIrChv+eBrew/T9Ym6JNCRLiDJPnHFGBmkqrFCbbz tuFY6/2wBt7nCGaxB7U4FmfVQT8OxRlcJBZkf50r1a2Ke1O6MQzqcIgMGnKWUEg5Azc0 0rwRSUHfBCrIkJJaQECGRxfDV0iltAXdzJ0ttGmPU6SwzG8g+VPd8t9Cv4KegQpWoLXL DQZj7Ap6VI5OHXSCr5VKNRDEabQuRWemmQILg/1IV7dsj9q5+gX5T7UwV2FkahV0WTe8 xNjmnYVoF1acxdHezIa3sehRFOi6RkgouqblJAPAlEoEyPXxKOaLkVvODXdVJJpTtcGD Q1nQ== X-Gm-Message-State: AOAM530VsLW+Sl/bYq2Fk11J9RFORMKI6zv/E04RiQjHMOMdZ/65rXHw wZcVlPtoAoEE6XXEa8lxv5Jr4eMJpmxefg== X-Google-Smtp-Source: ABdhPJyxzqsD0X0keSlXMDAsP5KfC2JcZOK33tCU8nPWOS2X9UPz1qBhadztnPP4e5ql8MJdGRNlIQ== X-Received: by 2002:a05:6808:1783:b0:32b:692:a24c with SMTP id bg3-20020a056808178300b0032b0692a24cmr20684526oib.126.1654236773438; Thu, 02 Jun 2022 23:12:53 -0700 (PDT) Received: from localhost ([104.223.98.2]) by smtp.gmail.com with ESMTPSA id d22-20020a056830045600b00608b8e6fad5sm3127881otc.76.2022.06.02.23.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 23:12:52 -0700 (PDT) From: Ihor Radchenko To: Lin Sun Cc: "emacs-orgmode@gnu.org" Subject: Re: *doc/org-manual.org: Fix the description for "Internal Link" in the org-mode manual In-Reply-To: References: <87mtev9mng.fsf@localhost> <87ilpj9lv1.fsf@localhost> Date: Fri, 03 Jun 2022 14:13:30 +0800 Message-ID: <87v8ticm0l.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::232; envelope-from=yantar92@gmail.com; helo=mail-oi1-x232.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654237050; 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=oWOOr8LbkRVU49usYvqAtDx56VIEJmg7S2h4WfJjvlA=; b=rKuKS4nBHQn8b77hx9BvaGzmupsjnhyXMz0KVWKpPJwAi3UNhfWDmGFCjczcjX+JlkVY3Q 7OnjldPzati4879Hw/xW9w8Yo8Qx1ZZEW6BB++tAqQW5lZhuFCI3DEjqjrKYkYrE+92gs3 B8X+3x5gVhSdcN4ayknu+/CZ0uBov9MyW+thAalvywF/QG2ohYqNLEcGhUNoh/DcUVzhBx FqeaR1gi1KlcHwsRkCyDqstyMon7Gz/t61w+VvR9yWAGNatqwdg43s433smvpr+Ez1EcBA GpPGPqMuHXY6YbDdzSo11JNChKsIXT5uXZzynYpA/aRWEZTe9gHnZXlKKNU5gQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654237050; a=rsa-sha256; cv=none; b=YY2AW+yXMd2z+RuRsAQ3RrGVKej4+kcV+RgW6KuUrdwx4+7Y9uwmAUvwo59bgzVMUfBC4U w1dg45vveak17bhD784jicxm4oTqijHsT5OgRS5JvSMcf4TZXGyESyUTng8uaq9oetWYzQ xzdzhAK0TxQojwPuthAVchhTFWcb1wn69gHzWIO2KgO9k1Vxu8jiJqanUJIgfWGypTMYGV T/N0fQ0rzL2Qy5W2vn5Hrc9Hy72teVMSZDyN9Pjh2D476/8LlM2puN7GkPuQk6Nf6YRoOC RYd4rG+O0Zab9MHQC4hafE2YaPWn3cXlMj22+CB6IaBJDEbbkuFObIYYia49yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=B9uKgXCq; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Spam-Score: -3.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=B9uKgXCq; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Queue-Id: 5721117980 X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: C24w8cVpZrEj Lin Sun writes: > And changing the "CAPTION" to "PROPERTY" in the foot script, is it correctly? Thanks Adding PROPERTY works by accident. (I am wondering what is the logic behind this idea - there is no meaningful semantic meaning for PROPERTY keyword in this context) When you have ------------- #+begin_src python :results table return 1 #+end_src #+PROPERTY: #+NAME: Test #+RESULTS: |1| [[Test]] ------------- The buffer AST is roughly the following (you can reproduce by calling M-: (org-element-parse-buffer)): (org-data (...) ... (src-block (...)) (keyword (:key "PROPERTY" ...)) (table (:name "Test" :results ""...)) (paragraph (...) (link (...)))) When org-babel searches for results of evaluation, it is looking at the immediate[1] element following the src-block. That element must have :results property (because of #+RESUTLS: affiliated keyword). When you add #+PROPERTY: line in front of the results, you are adding a new keyword element right after the src-block (#+PROPERTY: is not an allowed affiliated keyword and it is thus recognized as an independent element). So, when org-babel tries to search and remove the results of evaluation during export, it is not able to find any because the following element is just a keyword, not an element with :results property. Hence, your export appears to be "fixed". Best, Ihor [1] Strictly speaking, not just immediate. When the src-block has :name property, org-babel searches further for another following element with the same :results property.