From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Proposal: references from code to text. Date: Mon, 14 May 2018 06:48:46 +0100 Message-ID: <871seebxdt.fsf@gmail.com> References: <800808596.465327.1526131788117.ref@mail.yahoo.com> <800808596.465327.1526131788117@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fI6Lt-0007Tg-BT for emacs-orgmode@gnu.org; Mon, 14 May 2018 01:48:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fI6Lp-000196-UB for emacs-orgmode@gnu.org; Mon, 14 May 2018 01:48:53 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:34483) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fI6Lp-00017i-O5 for emacs-orgmode@gnu.org; Mon, 14 May 2018 01:48:49 -0400 Received: by mail-wm0-x22d.google.com with SMTP id a137-v6so10238819wme.1 for ; Sun, 13 May 2018 22:48:49 -0700 (PDT) In-Reply-To: <800808596.465327.1526131788117@mail.yahoo.com> (ZHUO QL's message of "Sat, 12 May 2018 13:29:48 +0000 (UTC)") 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: "ZHUO QL (KDr2)" Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Saturday, 12 May 2018 at 13:29, ZHUO QL (KDr2) wrote: > Hi all, I just post a proposal for orgmode on my website(generated by org= mode): > http://kdr2.com/tech/emacs/1805-proposal-org-ref-code-to-text.html=C2=A0. > Here is the source of the proposal: > # -*- mode: org; mode: auto-fill; -*- > > #+TITLE: Proposal for Orgmode: references from code to text. > #+AUTHOR: KDr2 [...] > - Beside the ~NAME~, we could also support reference via the > ~CUSTOM_ID~ property or anything else that can locate a text chunk. > - In the tangling process, we should do some kind of transformation of > the target text, for example, escape the quote mark. A hook may be > needed to let the user customize the transformation too. > > What do you think? I like the symmetry of having src reference text. I guess, in what you propose above, that the text that would be incorporated would be a single element (in org parsing parlance) or else we would have to specify an extent in the link information. Are you able to implement something? I would definitely help test it. =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-591-gee336b --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWvkjPgAKCRDIkZPY//z2 fZV8AJ4ljbw3rux6LAVEdK0ujZDp9OghnwCghZt1tOMJI9RPb1OHJoTEW6wPXHA= =p/Tj -----END PGP SIGNATURE----- --=-=-=--