emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Redefine "M-p" key binding in org-agenda-mode
Date: Mon, 29 Oct 2007 16:07:38 +0000	[thread overview]
Message-ID: <87ejfdrjjp.fsf@bzg.ath.cx> (raw)
In-Reply-To: <4725EE92.4060902@gmail.com> (Wanrong Lin's message of "Mon, 29 Oct 2007 09:30:42 -0500")

Wanrong Lin <wanrong.lin@gmail.com> 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.

-- 
Bastien

  parent reply	other threads:[~2007-10-29 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 14:30 Redefine "M-p" key binding in org-agenda-mode Wanrong Lin
2007-10-29 16:00 ` Carsten Dominik
2007-10-29 16:07 ` Bastien [this message]
2007-10-29 16:20   ` Carsten Dominik
2007-10-29 17:53     ` Wanrong Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ejfdrjjp.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).