From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Redefine "M-p" key binding in org-agenda-mode Date: Mon, 29 Oct 2007 17:20:22 +0100 Message-ID: References: <4725EE92.4060902@gmail.com> <87ejfdrjjp.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImXcR-00053K-GO for emacs-orgmode@gnu.org; Mon, 29 Oct 2007 12:37:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImXcQ-00050x-1v for emacs-orgmode@gnu.org; Mon, 29 Oct 2007 12:37:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImXcP-00050g-PL for emacs-orgmode@gnu.org; Mon, 29 Oct 2007 12:37:37 -0400 Received: from fk-out-0910.google.com ([209.85.128.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImXLq-0000nT-AU for emacs-orgmode@gnu.org; Mon, 29 Oct 2007 12:20:31 -0400 Received: by fk-out-0910.google.com with SMTP id 19so2067888fkr for ; Mon, 29 Oct 2007 09:20:28 -0700 (PDT) In-Reply-To: <87ejfdrjjp.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org On 29Oct2007, at 5:07 PM, Bastien wrote: > Wanrong Lin writes: > >> In my org-mode configuration, I bind globally "M-p" to "org-agenda" > > I think that binding `M-p' *globally* is a bad idea. > > `M-p' is the default keybinding in GNU Emacs when you need to navigate > thru minibuffer history. In Org, it is used for example when you want > to see the previous link in stored links. > >> (define-key org-agenda-mode-map (kbd "M-p") 'org-agenda) >> >> But the above key binding only works when the cursor is on a date >> line, >> not a task line. On a task line, the old "priority-up" binding is >> still >> effective. > > What version of Org are you using? > > AFAIK (kbd "M-p") is not associated to any keymap in latest Org. It is when you use org-replace-disputed-keys. - Carsten > > -- > Bastien > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode