From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: A simple way to search only headlines
Date: Tue, 11 Jun 2013 14:27:57 +0200 [thread overview]
Message-ID: <20130611122757.GB18792@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <87bo7di7zf.fsf@pierrot.dokosmarshall.org>
On Tue, Jun 11, 2013 at 12:31:16AM -0400, Nick Dokos wrote:
> "Sebastien Vauban" <sva-news@mygooglest.com>
> writes:
>
> > Hi Nick,
> >
> > Nick Dokos wrote:
> >> "Sebastien Vauban" <sva-news@mygooglest.com> writes:
> >>> Nick Dokos wrote:
> >>>> The OP probably wants this in the global keymap, rather than in the
> >>>> org-mode-map: just like the agenda dispatcher C-c a, this functionality is
> >>>> useful outside an org file.
> >>>>
> >>>> (global-set-key (kbd "C-M-h") (lambda () (interactive) (org-agenda nil "s" "<")))
> >>>
> >>> Not sure to understand when this functionality would be useful outside of Org.
> >>> Can you explain?
> >>
> >> I meant "org buffer": you might want to issue the command from an
> >> arbitrary buffer, not just an org mode buffer, so the key should be
> >> defined globally.
> >
> > I still don't understand.
> >
>
> You understand all too well :-)
I wonder if semantic search can be leveraged to achieve the same. It
might open other possibilities: searching only links, list items, source
blocks, ... I think you get the point. :-p
In the past I have had trouble using semantic search even in traditional
source code buffers, e.g. C/C++, Python, lisp, etc, but that was a long
time back. Did any one else have better luck?
I also have no clue how well the semantic support is for Org buffers.
If I start speedbar, the first few levels of headlines are recognised
automatically; maybe it is not a pipe dream to extend this to other org
syntax elements?
Food for thought,
;)
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2013-06-11 12:28 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
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 [this message]
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=20130611122757.GB18792@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@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).