From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: simple way to call `C-c a v' or a way to bind it to a key? Date: Sat, 15 Feb 2014 15:38:56 +0100 Message-ID: <87ha80tp8f.fsf@gmail.com> References: <87k3cw1osk.wl@dns1.atmark-techno.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEgNu-00019D-LK for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 09:38:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEgNo-0003xJ-MV for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 09:38:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:49346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEgNo-0003xC-GS for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 09:38:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WEgNj-00016B-Pw for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 15:38:15 +0100 Received: from g231232098.adsl.alicedsl.de ([92.231.232.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Feb 2014 15:38:15 +0100 Received: from tjolitz by g231232098.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Feb 2014 15:38:15 +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@gnu.org Yasushi SHOJI writes: > Hello, > > These days I hit `C-c a v' many many times a day, and now feel that > the three key combination is too much. I'd like to improve the > situation by binding the same functionality to a key, say, F12, if > possible. > > Looking at the `org-agenda' dispatch code, there are quite a few lines > before calling `org-agenda-list'. Simply binding `org-agenda-list' to > a key does not seem to work. > > Is there a simple way to do it? Or do I have to re-implement my own > function? > > Thanks in advance, instead of: ,------------------------------------- | (global-set-key "\C-ca" 'org-agenda) `------------------------------------- use: ,------------------------------------------- | (global-set-key (kbd "") 'org-agenda) `------------------------------------------- -- cheers, Thorsten