From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gDAIBh8jlWEibQEAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 16:43:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SHCMAR8jlWH+SgAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 15:43:27 +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 AF38D2A37E for ; Wed, 17 Nov 2021 16:43:26 +0100 (CET) Received: from localhost ([::1]:45278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnN5p-0003bd-RV for larch@yhetil.org; Wed, 17 Nov 2021 10:43:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnN5O-0003bT-D1 for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 10:42:59 -0500 Received: from mout02.posteo.de ([185.67.36.66]:34333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnN5G-0008N0-P6 for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 10:42:53 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 09DBB240103 for ; Wed, 17 Nov 2021 16:42:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1637163768; bh=97MNTIlxktN6P2WhfNFvk+oozwng60/AHuQOZndBYi8=; h=From:To:Cc:Subject:Date:From; b=R8SD3xGX84tELvTxo+nUEVSwsbIVloAQTsAxcazRYxC5ebu+fkS/qUnm/Hj9ofpqS HeKoovWAvRTSrunwJ7ZvXo4oar8kdpaWFmTPIWuPOVuMe9gOWBA0eAUI0xGHNdus1z /iQWjkRGet/Hp2/zgmBfM3b3UUChI9B66t5YfVQmB/x7YNs+X+w4fuS/Xqv0oIr9yn vrb7SqmkUgjV3rDNF26sJBiaA0wExQu/90Nwr7zmd/fwLl+wcl9QjcsR6m1Y+puPhM zS6UtMstO7aZk9o85SxlXLRJ5b7bgdPqaBLrk39+0Nx7riD5gXsp+ShAMN02n1lOPt 3q1WnIAU/WUqQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HvRyb0SnVz9rxT; Wed, 17 Nov 2021 16:42:46 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Stefan Nobis Subject: Re: insert automatically a reference to a section header and a link References: <877dd7mdx7.fsf@mat.ucm.es> <87r1bfnln2.fsf@ucl.ac.uk> <87o86ilw9a.fsf@mat.ucm.es> <87ilwqlvh5.fsf@mat.ucm.es> Date: Wed, 17 Nov 2021 15:42:45 +0000 In-Reply-To: (Stefan Nobis's message of "Wed, 17 Nov 2021 15:59:47 +0100") Message-ID: <878rxmg556.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.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_H2=-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: , Cc: Uwe Brauer , orgmode 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=1637163806; 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=1rMQk9w+oXpWLEMi4ngBLKmvvcEFPQT0u/7XnjBrX3E=; b=nRPXpulWbV8iirQotUAUQuOFFIBeGtXOMQskHFJgMbeLIKEmsbwio8VTx7tUfRNF2jNXZo y9gd1pGEykviMYObn+JoK+Cnd9zIEy1xXXtyoy6NUnHA9tqKFudEYIqwiahP4aFlT1ywjs HkQq6IzAHL3FQWHFo4A/upVQ7TCxeFP9hN9ZIzRLsXApHASQLJ43CTpY3vOSskj6xknfS3 ks3ImUOSd6ZCPwLtPbkSLthQJbrgRSsWjJJkhtvljPfdw76KEcBJVo0DJ1kxEkK2WXbHH5 j3YG79I/msEwZEnxxmxQd0IDVO2DPZwuK/5gC9oxB4gTi4l98Acar+qmGwqPXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637163806; a=rsa-sha256; cv=none; b=laiLw2DZ7IHSxL54rwEju/M6LbgiFLbnUZG6vlmjNWRIqGWRnQtr/vsc3F0oCSU3yVGhFx 32GF6MstNRTjBpBO6BH+0AQYt5Q1X4aysuBXN1EYNb6vOI6sHQ+bE0Nqb8p/fOcS9WHSWe R+WXVRkcex6JZhrOv4iivM910kUt0jA7EGEuvnbdz1iiMZgU4NPt6Uk0WFOkLMp+VTYxES 7OlvekcURLT2+25JNUkqrOMf3xLzQMy+vqkucK3obiiwkm8f/NJJP7z7757f26QVz4C/Vv nzh3pEjf4zzkgOKkuFMSUPWSt1U8UGWC1fT1KeFsw6Jow0PXZATuLKuYGbjrug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=R8SD3xGX; 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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=R8SD3xGX; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: AF38D2A37E X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: Vesx3V7Lv7ma Stefan Nobis writes: > Hmmm... for me, the default way to link to headings is just fine, I > seldom need more control over the generated labels: > > #+begin_src org > ,* Intro > > Lorem ipsum dolor sit amet... > > ,* Another section > > As seen in [[*Intro]] there is not much to say. > #+end_src Completely agree. I also tend to use `org-super-link' (https://github.com/toshism/org-super-links). It can be run with helm-org-ql, so if there are a lot of headings in the document, I just have to navigate through them using helm-org-ql, and insert a link at point to the chosen candidate. And in the destination header a back link is also inserted. Best regards, Juan Manuel