emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: can capture create search links?
Date: Fri, 28 Sep 2018 15:20:57 -0700	[thread overview]
Message-ID: <CAJcAo8uJJScUNJNO-Np2vwXa6+f4fDjunbjJCW4ywh3rJZhRRg@mail.gmail.com> (raw)

i capture using %a.

from org, %a results in a file link with a pathname and a search
within that file.  if i then refile the target to a new file, the link
is broken.  but even if %a created a search link, it would search
within only that file, so refiling to a new file would break the link.

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.

is this possible?

-- 
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>

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

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
<http://www.meaction.net/2017/02/03/pwme-people-with-me-are-being-murdered-by-neglect>.

             reply	other threads:[~2018-09-28 22:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-28 22:20 Samuel Wales [this message]
2018-09-29 20:35 ` can capture create search links? Julius Dittmar
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=CAJcAo8uJJScUNJNO-Np2vwXa6+f4fDjunbjJCW4ywh3rJZhRRg@mail.gmail.com \
    --to=samologist@gmail.com \
    --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).