Thanks for your help.

You are right that my key binding probably is not optimal, but I am already used to it (I used to use planner-mode, and M-p is easy to remember). I bind other keys to replace the default M-p function. It is a little bit messy now, but that is what I love about Emacs, you can make it suit your own needs. :-) When people ask me what is so great about Emacs, I generally agree with them that Emacs is really not that great out of box, but with customization, it can streamline your own work flow, just for you.

Wanrong

Carsten Dominik wrote:

On  29Oct2007, at 5:07 PM, Bastien wrote:

Wanrong Lin <[EMAIL PROTECTED]> 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



_______________________________________________
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



_______________________________________________
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

Reply via email to