From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: How to deactivate key binding "!" for org-agenda-toggle-deadlines? Date: Wed, 25 Jun 2014 10:32:52 +0200 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]:49946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzide-0004Vi-Le for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzidV-0002Gs-Ml for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:33:06 -0400 Received: from mout.web.de ([212.227.17.11]:56328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzidV-0002G8-DI for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 04:32:57 -0400 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'd like to deactivate the key binding "!" (which is bound to org-agenda-toggle-deadlines) in agendas,
as I often hit it accidentally and then my deadlines have suddenly disappeared.
 
Where is it defined and how can I deactivate it?
 
Thanks a lot and sorry for the (I assume) trivial question.
 
Kind regards
 
Martin
From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to deactivate key binding "!" for org-agenda-toggle-deadlines? Date: Wed, 25 Jun 2014 11:10:55 +0200 Message-ID: <87pphxjqw0.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzjEO-0007wD-JE for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:11:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzjEI-00075e-Hy for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:11:04 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:37749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzjEI-00075O-Ca for emacs-orgmode@gnu.org; Wed, 25 Jun 2014 05:10:58 -0400 In-Reply-To: (Martin Beck's message of "Wed, 25 Jun 2014 10:32:52 +0200") 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: Martin Beck Cc: emacs orgmode-mailinglist Hi Martin, "Martin Beck" writes: > I'd like to deactivate the key binding "!" (which is bound to > org-agenda-toggle-deadlines) in agendas, (add-hook 'org-agenda-mode-hook (lambda () (local-unset-key "!"))) -- Bastien