From: Julius Dittmar <Julius.Dittmar@gmx.de>
To: emacs-orgmode@gnu.org
Subject: can capture create search links?
Date: Sat, 29 Sep 2018 22:35:39 +0200 [thread overview]
Message-ID: <4481454f-78cd-7a19-c645-7ec2e47a5aeb@gmx.de> (raw)
In-Reply-To: <CAJcAo8uJJScUNJNO-Np2vwXa6+f4fDjunbjJCW4ywh3rJZhRRg@mail.gmail.com>
Hi Samuel,
as to org I only have user status, so there may be better solutions for you.
Am 29.09.18 um 00:20 schrieb Samuel Wales:
> what i'd like is for capture to produce a link that, when clicked,
> will search through my agenda files and text search extra files for a
> matching header.
I use IDs for that purpose.
In my config file I added
(require 'org-id)
(setq org-id-link-to-org-use-id 'create-if-interactive-and-no-custom-id)
In all capture templates, IDs are automatically added by adding,
immediately after the heading and a possible scheduling line,
":PROPERTIES:\n:ID: %(org-id-new)\n:END:\n" within the template string.
With this, %a in the template string is replaced by that ID if the ID
exists. The ID survives refiling.
Hope that helps,
Julius
next prev parent reply other threads:[~2018-09-29 20:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 22:20 can capture create search links? Samuel Wales
2018-09-29 20:35 ` Julius Dittmar [this message]
2018-09-29 22:42 ` Samuel Wales
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4481454f-78cd-7a19-c645-7ec2e47a5aeb@gmx.de \
--to=julius.dittmar@gmx.de \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).