emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Horn <rjhorn@alum.mit.edu>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Patch to change agenda key-mapping
Date: Thu, 27 Sep 2012 09:47:34 -0400	[thread overview]
Message-ID: <m3txujmvbd.fsf@quad.robs.office> (raw)

[-- Attachment #1: Type: text/plain, Size: 487 bytes --]

I forgot to attach a proposed patch.  This changes the keymapping for
"C-c ," to use org-agenda-priority.  It doesn't include a new keymapping
to org-agenda-show-priority.  I'm not sure what key mapping makes the
most sense.  It leaves the agenda menu and mouse functions for
org-agenda-show-priority unchanged.

I'm not concerned about the revised code or new functionality.  I just
want to avoid having to remember which sub-mode within org-mode I'm
using when I set a task priority.


[-- Attachment #2: Diff to revert C-c , mapping for priority setting in agenda --]
[-- Type: application/octet-stream, Size: 1103 bytes --]

*** org-agenda.el	2012-09-27 09:38:10.944923952 -0400
--- org-agenda.el-old	2012-09-27 09:37:23.787896667 -0400
***************
*** 2084,2090 ****
  (org-defkey org-agenda-mode-map "\C-c\C-n" 'org-agenda-next-date-line)
  (org-defkey org-agenda-mode-map "\C-c\C-p" 'org-agenda-previous-date-line)
  (org-defkey org-agenda-mode-map "," 'org-agenda-priority)
! (org-defkey org-agenda-mode-map "\C-c," 'org-agenda-priority)
  (org-defkey org-agenda-mode-map "i" 'org-agenda-diary-entry)
  (org-defkey org-agenda-mode-map "c" 'org-agenda-goto-calendar)
  (org-defkey org-agenda-mode-map "C" 'org-agenda-convert-date)
--- 2084,2090 ----
  (org-defkey org-agenda-mode-map "\C-c\C-n" 'org-agenda-next-date-line)
  (org-defkey org-agenda-mode-map "\C-c\C-p" 'org-agenda-previous-date-line)
  (org-defkey org-agenda-mode-map "," 'org-agenda-priority)
! (org-defkey org-agenda-mode-map "\C-c," 'org-agenda-show-priority)
  (org-defkey org-agenda-mode-map "i" 'org-agenda-diary-entry)
  (org-defkey org-agenda-mode-map "c" 'org-agenda-goto-calendar)
  (org-defkey org-agenda-mode-map "C" 'org-agenda-convert-date)

[-- Attachment #3: Type: text/plain, Size: 28 bytes --]


R Horn
rjhorn@alum.mit.edu

             reply	other threads:[~2012-09-27 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-27 13:47 Robert Horn [this message]
2012-09-27 15:45 ` Patch to change agenda key-mapping Nick Dokos

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=m3txujmvbd.fsf@quad.robs.office \
    --to=rjhorn@alum.mit.edu \
    --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).