emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wanrong.lin@gmail.com>
To: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Redefine "M-p" key binding in org-agenda-mode
Date: Mon, 29 Oct 2007 12:53:03 -0500	[thread overview]
Message-ID: <47261DFF.3060809@gmail.com> (raw)
In-Reply-To: <E24F1161-C90A-4032-8D50-FF2EE0998810@science.uva.nl>


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

      reply	other threads:[~2007-10-29 17:53 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
2007-10-29 16:20   ` Carsten Dominik
2007-10-29 17:53     ` Wanrong Lin [this message]

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=47261DFF.3060809@gmail.com \
    --to=wanrong.lin@gmail.com \
    --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).