From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: How to re-bind C-,? Date: Fri, 26 Sep 2014 15:06:29 -0500 Message-ID: References: <87r3yy8for.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXbmn-0006H8-LJ for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 16:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXbmm-00046V-0P for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 16:06:37 -0400 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:51394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXbml-00045j-Pp for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 16:06:35 -0400 Received: by mail-ob0-f182.google.com with SMTP id wo20so10622437obc.27 for ; Fri, 26 Sep 2014 13:06:29 -0700 (PDT) In-Reply-To: <87r3yy8for.fsf@yale.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Jorge A. Alfaro-Murillo" Cc: "emacs-orgmode@gnu.org" On Fri, Sep 26, 2014 at 12:17 PM, Jorge A. Alfaro-Murillo 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: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (global-set-key (kbd "C-;") 'vc-next-action) =E2=94=82 (global-set-key (kbd "C-'") 'er/expand-region) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 I /thought/ that was *OK*. Later in the `org-mode-hook' function I call: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (local-set-key (kbd "C-,") (lambda () (interactive) (insert " \\l= arr "))) =E2=94=82 (local-set-key (kbd "C-.") (lambda () (interactive) (insert " \\r= arr "))) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 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-,, . What I am stumped on is: =E2=80=A2 What did I do wrong? =E2=80=A2 How do I fix it?