From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: A simple way to search only headlines
Date: Tue, 04 Jun 2013 09:50:07 +0200 [thread overview]
Message-ID: <86k3mae2mo.fsf@somewhere.org> (raw)
In-Reply-To: CAOQHXPrR2auvEaeAtAFehYxXbEhknTveqyKUh53kvjVupYc-6w@mail.gmail.com
Hello Xebar,
>> Or, for a "pure" Org solution:
>>
>> C-c a < s *salsa dance
>>
>> searches for terms appearing only *in the headline* (including tags).
>
> That's great ,i appreciate it!
>
> Seb, is there a way to quick bind a key to the above series of commands?
The programming equivalent to C-c a s is:
(org-agenda nil "s")
That's what you'd have to bind to a key (using a "lambda" function).
What you want is the restriction to the current buffer as well. You should
update the above, looking at the doc of `org-agenda' (sorry, no time now to do
it).
BTW, how to find that you have to bind `org-agenda'? Simply `C-h k', followed
by the key binding for which you want to know more (here, `C-c a'), such as:
which function does it call?
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2013-06-04 7:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 16:35 A simple way to search only headlines Xebar Saram
2013-06-01 20:10 ` Tassilo Horn
2013-06-03 7:48 ` Sebastien Vauban
2013-06-03 12:16 ` Xebar Saram
2013-06-04 7:18 ` Thorsten Jolitz
2013-06-04 7:50 ` Sebastien Vauban [this message]
2013-06-07 20:31 ` Xebar Saram
2013-06-07 21:50 ` Richard Lawrence
2013-06-08 0:05 ` Xebar Saram
2013-06-08 0:34 ` Richard Lawrence
2013-06-08 5:25 ` Nick Dokos
2013-06-10 7:34 ` Sebastien Vauban
2013-06-10 13:06 ` Nick Dokos
2013-06-10 15:04 ` Sebastien Vauban
2013-06-11 4:31 ` Nick Dokos
2013-06-11 12:27 ` Suvayu Ali
2013-06-11 14:42 ` Thorsten Jolitz
2013-06-11 22:01 ` Suvayu Ali
2013-06-11 23:55 ` Thorsten Jolitz
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=86k3mae2mo.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).