Wanrong Lin <address@hidden> 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.