emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] A simple way to search only headlines


From: Nick Dokos
Subject: Re: [O] A simple way to search only headlines
Date: Mon, 10 Jun 2013 09:06:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Sebastien Vauban" <address@hidden>
writes:

> Hi Nick,
>
> 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.

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]