[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] A simple way to search only headlines
From: |
Sebastien Vauban |
Subject: |
Re: [O] A simple way to search only headlines |
Date: |
Mon, 10 Jun 2013 17:04:34 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt) |
Hi Nick,
Nick Dokos wrote:
> "Sebastien Vauban" <address@hidden> 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.
Here, the command is for searching among (Org) headlines of the current buffer
-- see the restriction "<". I don't see how it would make sense to call that
on something other than an Org mode buffer?
Maybe you missed the "<" restriction? Or do I miss something else?
Best regards,
Seb
--
Sebastien Vauban
- Re: [O] A simple way to search only headlines, (continued)
- Re: [O] A simple way to search only headlines, Xebar Saram, 2013/06/03
- Re: [O] A simple way to search only headlines, Thorsten Jolitz, 2013/06/04
- Re: [O] A simple way to search only headlines, Sebastien Vauban, 2013/06/04
- Re: [O] A simple way to search only headlines, Xebar Saram, 2013/06/07
- Re: [O] A simple way to search only headlines, Richard Lawrence, 2013/06/07
- Re: [O] A simple way to search only headlines, Xebar Saram, 2013/06/07
- Re: [O] A simple way to search only headlines, Richard Lawrence, 2013/06/07
- Re: [O] A simple way to search only headlines, Nick Dokos, 2013/06/08
- Re: [O] A simple way to search only headlines, Sebastien Vauban, 2013/06/10
- Re: [O] A simple way to search only headlines, Nick Dokos, 2013/06/10
- Re: [O] A simple way to search only headlines,
Sebastien Vauban <=
- Re: [O] A simple way to search only headlines, Nick Dokos, 2013/06/11
- Re: [O] A simple way to search only headlines, Suvayu Ali, 2013/06/11
- Re: [O] A simple way to search only headlines, Thorsten Jolitz, 2013/06/11
- Re: [O] A simple way to search only headlines, Suvayu Ali, 2013/06/11
- Re: [O] A simple way to search only headlines, Thorsten Jolitz, 2013/06/11