From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: wish: global C-u org-agenda-refile Date: Mon, 13 Nov 2017 09:50:47 -0500 Message-ID: <8760ae5j20.fsf@kyleam.com> References: <87vaies1l6.fsf@len.workgroup> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEG4c-0008CH-QF for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 09:50:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEG4Y-0005sh-Vk for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 09:50:54 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:62896 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eEG4Y-0005qh-Qb for emacs-orgmode@gnu.org; Mon, 13 Nov 2017 09:50:50 -0500 In-Reply-To: <87vaies1l6.fsf@len.workgroup> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Gregor Zattler , emacs-orgmode Gregor Zattler writes: > Dear org-mode users and developers, I frequently use C-u C-c C-w > in order to jump to a heading in one of my org agenda files > (using helm as a selection framework). > > Alas this only works when invoked from org-mode buffers or from > the agenda if point is on an org agenda item (as opposed e.g. to > a line containing the date, or empty time grid lines). > > I wish for C-u org-refile functionality (call it org-jump or > whatever) which would not depend on context, in order for me > being able to bind it to a key in the global key map. > > Is this already doable? Otherwise I wish for this > functionality. You could define a simple command in your init like (defun my/org-goto-agenda-heading () (interactive) (org-refile '(4))) and bind that to whatever you'd like. -- Kyle