From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Proposal: references from code to text. Date: Wed, 16 May 2018 19:29:22 -0700 Message-ID: References: <800808596.465327.1526131788117.ref@mail.yahoo.com> <800808596.465327.1526131788117@mail.yahoo.com> <871seebxdt.fsf@gmail.com> <385386647.1304827.1526359774932@mail.yahoo.com> <87wow5s0a4.fsf@gmail.com> <408787171.1793110.1526454275347@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007e5f5a056c5d9acb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJ8fW-0001te-BI for emacs-orgmode@gnu.org; Wed, 16 May 2018 22:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJ8fU-0000Et-RV for emacs-orgmode@gnu.org; Wed, 16 May 2018 22:29:26 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:33499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJ8fU-0000Dr-FN for emacs-orgmode@gnu.org; Wed, 16 May 2018 22:29:24 -0400 Received: by mail-wm0-x232.google.com with SMTP id x12-v6so3581990wmc.0 for ; Wed, 16 May 2018 19:29:24 -0700 (PDT) In-Reply-To: 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: Samuel Wales Cc: "ZHUO QL (KDr2)" , Eric S Fraga , Emacs-org List --0000000000007e5f5a056c5d9acb Content-Type: text/plain; charset="UTF-8" You might want to check out linkd: https://www.emacswiki.org/emacs/linkd.el It does a lot of what you describe independently of org-mode. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Wed, May 16, 2018 at 12:37 PM, Samuel Wales wrote: > i'm not sure if i understand the goal. is it babel-only? > > this email might be off-topic. > > what i want is links, using something like org-id, > > - from non-org [for example, a link in file.el in a comment] > - to non-org [for example, a named or id'ed location in the same file] > - or to org [e.g. an org-id'ed org entry, or a named or id'ed > location in a babel block] > > that can be, if needed, effectively, bidirectional. thus, you could > document a function in file.el using a subtree in main.org and bounce > between the function and the documentation because there is a link for > each. > > non-org [e.g. file.el] can be an original file [i.e. no babel > anywhere] or the result of tangling from babel. > > i find that org-link-minor-mode is /highly/ useful for the non-org > part of this, but it doesn't support all of the above functionality > automatically. > > i'd want a general package that is like org-link-minor-mode, but takes > care of supporting the user by creating good ids and links as needed. > > -- > The Kafka Pandemic: > > The disease DOES progress. MANY people have died from it. And ANYBODY > can get it at any time. > --0000000000007e5f5a056c5d9acb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You might want to check out linkd:=C2=A0https://www.emacswiki.org/emacs/linkd.el=

It does a lot of what you describe independently of= org-mode.

John

-----------------------------------<= br>Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chem= ical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
4= 12-268-7803

On Wed, May 16, 2018 at 12:37 PM, Samuel Wal= es <samologist@gmail.com> wrote:
i'm not sure if i understand the goal.=C2=A0 is it babel-only= ?

this email might be off-topic.

what i want is links, using something like org-id,

=C2=A0 - from non-org [for example, a link in file.el in a comment]
=C2=A0 - to non-org [for example, a named or id'ed location in the same= file]
=C2=A0 - or to org [e.g. an org-id'ed org entry, or a named or id'e= d
location in a babel block]

that can be, if needed, effectively, bidirectional.=C2=A0 thus, you could document a function in file.el using a subtree in main.org and bounce
between the function and the documentation because there is a link for
each.

non-org [e.g. file.el] can be an original file [i.e. no babel
anywhere] or the result of tangling from babel.

i find that org-link-minor-mode is /highly/ useful for the non-org
part of this, but it doesn't support all of the above functionality
automatically.

i'd want a general package that is like org-link-minor-mode, but takes<= br> care of supporting the user by creating good ids and links as needed.

--
The Kafka Pandemic: <http://thekafkapandemic.blogspot.co= m>

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

--0000000000007e5f5a056c5d9acb--