From: Grant Rettke <gcr@wisdomandwonder.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: How to re-bind C-,?
Date: Fri, 26 Sep 2014 12:07:59 -0500 [thread overview]
Message-ID: <CAAjq1meG0FD44FsfcVRTUTPUn_KXebObsvvOxmztpERTDzRMkA@mail.gmail.com> (raw)
Good afternoon,
╭────
│ (print emacs-version)
│ (print org-version)
╰────
╭────
│ "24.3.1"
│
│ "8.2.7c"
╰────
My goal was to set a new keybinding for two keys like this:
╭────
│ (local-set-key (kbd "C-,") (lambda () (interactive) (insert " \\larr ")))
│ (local-set-key (kbd "C-.") (lambda () (interactive) (insert " \\rarr ")))
╰────
The second works fine. The first does not; it stays bound to
`org-cycle-agenda-files' instead. Trying to remove it first and the bind
it I did:
╭────
│ (local-unset-key (kbd "C-,"))
│ (local-set-key (kbd "C-,") (lambda () (interactive) (insert " \\larr ")))
╰────
With no effect. That got me wondering if the binding occurred to
`org-cycle-agenda-files' /after/ mine. I don't think it that is possible
or likely because I do not customize agenda at all either via the UI or
Lisp.
Not sure if I am facing a Lisp thing or where to start.
What do you folks think I ought to do here?
Kind regards,
--
Grant Rettke
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
next reply other threads:[~2014-09-26 17:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 17:07 Grant Rettke [this message]
2014-09-26 17:17 ` How to re-bind C-,? Jorge A. Alfaro-Murillo
2014-09-26 20:06 ` Grant Rettke
2014-09-26 20:25 ` Jorge A. Alfaro-Murillo
2014-09-26 21:03 ` Jorge A. Alfaro-Murillo
2014-09-27 1:39 ` Grant Rettke
2014-09-27 12:30 ` Teika Kazura
2014-09-27 14:11 ` Grant Rettke
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAjq1meG0FD44FsfcVRTUTPUn_KXebObsvvOxmztpERTDzRMkA@mail.gmail.com \
--to=gcr@wisdomandwonder.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 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.