From: tony day <zygomega@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: link creation, ido usage, and headers
Date: Fri, 12 Oct 2012 10:21:59 +1100 [thread overview]
Message-ID: <6C121D1F-C70B-467A-81EC-D9A1816D2629@gmail.com> (raw)
In-Reply-To: <CAJcAo8vjtC29-04z1bfnHoZHnM0kU3Ym1dJt1rGpSiCt1mXtYg@mail.gmail.com>
Hi Sam,
On 12 Oct 2012, at 07:17, Samuel Wales <samologist@gmail.com> wrote:
> Slighly different from this, I wonder if anybody has anything similar:
>
> 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.
>
> Maybe this is too different?
>
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
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
prev parent reply other threads:[~2012-10-11 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-11 4:19 [PATCH] org-insert-link: allow ido usage when inserting links tony day
2012-10-11 12:23 ` Nicolas Goaziou
2012-10-12 3:56 ` tony day
2012-10-11 20:17 ` Samuel Wales
2012-10-11 23:21 ` tony day [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6C121D1F-C70B-467A-81EC-D9A1816D2629@gmail.com \
--to=zygomega@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.