all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Redefine "M-p" key binding in org-agenda-mode
@ 2007-10-29 14:30 Wanrong Lin
  2007-10-29 16:00 ` Carsten Dominik
  2007-10-29 16:07 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Wanrong Lin @ 2007-10-29 14:30 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

In my org-mode configuration, I bind globally "M-p" to "org-agenda" (the 
default "C-a" is already used of something else). A problem of that is, 
I often press "M-p" inside the agenda buffer, trying to bring up the 
agenda command dispatch buffer, which actually changes the priority of a 
task. I tried to rebind this key to "org-agenda" by the following in 
org-agenda-mode-hook:

  (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.

Can anybody show me how I can change that? Thanks a lot.

Wanrong

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-29 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-10-29 16:20   ` Carsten Dominik
2007-10-29 17:53     ` Wanrong Lin

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.