From mboxrd@z Thu Jan 1 00:00:00 1970 From: ST Subject: Re: Structured links to headings with endless depth Date: Mon, 12 Mar 2018 14:43:03 +0200 Message-ID: <1520858583.1793.80.camel@gmail.com> References: <1520849353.1793.66.camel@gmail.com> <87tvtlsi2f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evMnJ-00010R-35 for Emacs-orgmode@gnu.org; Mon, 12 Mar 2018 08:43:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evMnE-0003l7-5R for Emacs-orgmode@gnu.org; Mon, 12 Mar 2018 08:43:13 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:33495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evMnD-0003j9-VD for Emacs-orgmode@gnu.org; Mon, 12 Mar 2018 08:43:08 -0400 Received: by mail-wr0-x231.google.com with SMTP id r8so372488wrg.0 for ; Mon, 12 Mar 2018 05:43:07 -0700 (PDT) In-Reply-To: <87tvtlsi2f.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eric S Fraga Cc: Emacs-orgmode@gnu.org PS: It doesn't have to be Bible. Links in form of citations, like [[MyBook:Chapter 1:Section 5:Subsection 3]] Is quite useful in general. Where #+LINK: MyBook path/to/MyBook.org::*%s It is both readable as raw text and clickable. Maybe it will be a good idea to be able to also add a <> at the end of the tree, like: [[MyBook:Chapter 1:Section 5:Subsection 3:target]] * Chapter 1 ... ** Section 5 ... *** Subsection 3 ... <> ... ----------------------------- Adding an extra <> is not an option, as it will make the text less readable, and there is no need in this, as the headings tree structure is already there: * 1 ** 1 ** 2 *** 1 Why should I turn it into the following * 1 ** 1 ** 2 *** 1 <<1>> and then link with [[file:1]]?!... This both: a) adds unnecessary information into the text making it less readable b) those who read the org file as simple text without the ability to click the link will not know where it goes... while the link [[file:1:2:1]] makes it quite clear even without clicking it. Example use case: scriptures with well known structure, e.g. the Bible. On Mon, 2018-03-12 at 10:29 +0000, Eric S Fraga wrote: > On Monday, 12 Mar 2018 at 12:09, ST wrote: > > Hi, > > > > after reading the manual I didn't find a way to construct structured > > links referring to headings with endless depth, like: > > I'm not entirely sure what your use case is but could you use a target, > i.e. something like <>, to indicate where you want to link to? > Cf. section 4.2 of org manual on internal links. >