From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: How to bind opening a custom agenda to a single key? Date: Thu, 16 Jan 2014 11:09:56 +0100 (CET) Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jtm-0006LD-3l for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 05:10:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3jte-00041N-Qq for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 05:10:06 -0500 Received: from mout.web.de ([212.227.15.3]:56006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3jte-00041C-HK for emacs-orgmode@gnu.org; Thu, 16 Jan 2014 05:09:58 -0500 Received: from 3capp-webde-bs34.server.lan ([172.19.170.34]) by mriweb.server.lan (mriweb002) with ESMTP (Nemesis) id 0LlJqy-1VSkNu46ha-00b6qR for ; Thu, 16 Jan 2014 11:09:56 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs orgmode-mailinglist
Hi,
 
I'm sorry, if this is obvious, but I did not find a solution in the manual or in the internet:
 
At the moment, I have to type C-c a h to open my main agenda, which I do quite often a day.
I want to simplify that keystroke and bind it to a function key, e.g. F12.
 
What works for me is (global-set-key (kbd "<f12>") 'org-agenda) which at least brings me to the overview over all defined agendas, but how can I bind F12 directly to the Agenda with trigger "h"?
 
Kind regards
 
Martin