From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Redefine "M-p" key binding in org-agenda-mode
Date: Mon, 29 Oct 2007 17:20:22 +0100 [thread overview]
Message-ID: <E24F1161-C90A-4032-8D50-FF2EE0998810@science.uva.nl> (raw)
In-Reply-To: <87ejfdrjjp.fsf@bzg.ath.cx>
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
next prev parent reply other threads:[~2007-10-29 16:37 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 [this message]
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=E24F1161-C90A-4032-8D50-FF2EE0998810@science.uva.nl \
--to=carsten.dominik@gmail.com \
--cc=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).