From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony day Subject: link creation, ido usage, and headers Date: Fri, 12 Oct 2012 10:21:59 +1100 Message-ID: <6C121D1F-C70B-467A-81EC-D9A1816D2629@gmail.com> References: <9264AF9E-715F-45FF-88D1-8EAB5E94E751@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMS4s-0000oy-7E for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 19:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMS4r-0004Do-5c for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 19:22:06 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:45940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMS4q-0004Dk-Ua for emacs-orgmode@gnu.org; Thu, 11 Oct 2012 19:22:05 -0400 Received: by mail-pa0-f41.google.com with SMTP id fa10so2490160pad.0 for ; Thu, 11 Oct 2012 16:22:04 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Sam, On 12 Oct 2012, at 07:17, Samuel Wales wrote: > Slighly different from this, I wonder if anybody has anything similar: >=20 > I have blog entries with a :Live-URL: property. What I'd like is to > use ido to complete on the header that contains that property, and > create a link with the value of that property as the URL and the > header offered as default for the description. >=20 > Maybe this is too different? >=20 Not too different. Expanding the org-insert-link types to include = headers was on my todo list (somewhere). I think much of the = functionality you need is already in the org-refile process. In = particular, the help for org-refile-targets says: #+begin_quote A specification of how to find candidate refile targets. This may be any of: - a cons cell (:tag . "TAG") to identify refile targets by a tag. This tag has to be present in all target headlines, inheritance will not be considered. #+end_quote =20 Rerouting the org refile technology to the link tech may be a one liner, = or may be hard. Others will have a better sense of the scope. Tony=