From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) Subject: Re: How to re-bind C-,? Date: Fri, 26 Sep 2014 13:17:08 -0400 Message-ID: <87r3yy8for.fsf@yale.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXZA1-00053V-Tj for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 13:18:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXZ9t-0007A3-Dd for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 13:18:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:52088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXZ9t-00077w-7Y for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 13:18:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXZ9m-0000Oi-Jy for emacs-orgmode@gnu.org; Fri, 26 Sep 2014 19:18:10 +0200 Received: from nat-130-132-173-32.central.yale.edu ([130.132.173.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 19:18:10 +0200 Received: from jorge.alfaro-murillo by nat-130-132-173-32.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 19:18:10 +0200 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: emacs-orgmode@gnu.org Grant Rettke writes: > 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. For me `org-cycle-agenda-files' is bound to C-', not C-, maybe you have something that sets C-' to C-, globally? Best, -- Jorge.