From: Grant Rettke <gcr@wisdomandwonder.com>
To: "Jorge A. Alfaro-Murillo" <jorge.alfaro-murillo@yale.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: How to re-bind C-,?
Date: Fri, 26 Sep 2014 15:06:29 -0500 [thread overview]
Message-ID: <CAAjq1meSqL6diqWuS8TOnqwg3z4zCrbuiqY0a6nd=UwZ-FBtkA@mail.gmail.com> (raw)
In-Reply-To: <87r3yy8for.fsf@yale.edu>
On Fri, Sep 26, 2014 at 12:17 PM, Jorge A. Alfaro-Murillo
<jorge.alfaro-murillo@yale.edu> wrote:
> Grant Rettke writes:
> For me `org-cycle-agenda-files' is bound to C-', not C-, maybe you have
> something that sets C-' to C-, globally?
Definitely, here in my .emacs.el:
╭────
│ (global-set-key (kbd "C-;") 'vc-next-action)
│ (global-set-key (kbd "C-'") 'er/expand-region)
╰────
I /thought/ that was *OK*. Later in the `org-mode-hook' function I call:
╭────
│ (local-set-key (kbd "C-,") (lambda () (interactive) (insert " \\larr ")))
│ (local-set-key (kbd "C-.") (lambda () (interactive) (insert " \\rarr ")))
╰────
The help documentation for `org-cycle-agenda-files' says:
C-, runs the command org-cycle-agenda-files, which is an
interactive autoloaded compiled Lisp function in `org.el'.
It is bound to C-', C-,, <menu-bar> <Org> <File List for
Agenda> <Cycle through agenda files>.
What I am stumped on is:
• What did I do wrong?
• How do I fix it?
next prev parent reply other threads:[~2014-09-26 20:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 17:07 How to re-bind C-,? Grant Rettke
2014-09-26 17:17 ` Jorge A. Alfaro-Murillo
2014-09-26 20:06 ` Grant Rettke [this message]
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
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='CAAjq1meSqL6diqWuS8TOnqwg3z4zCrbuiqY0a6nd=UwZ-FBtkA@mail.gmail.com' \
--to=gcr@wisdomandwonder.com \
--cc=emacs-orgmode@gnu.org \
--cc=jorge.alfaro-murillo@yale.edu \
/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).