From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Newsgroups: gmane.emacs.help Subject: Re: set key for mode? Date: Mon, 24 Mar 2014 15:56:36 +0100 Message-ID: <874n2nprvf.fsf@gmx.at> References: <8761n3pts9.fsf@gmx.at> <878urzvef9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395673016 32736 80.91.229.3 (24 Mar 2014 14:56:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 14:56:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Thorsten Jolitz" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 15:57:03 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WS6JD-0000rL-5w for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 15:57:03 +0100 Original-Received: from localhost ([::1]:36856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS6JC-0007AW-Ar for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 10:57:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS6Iw-00079g-1E for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:56:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS6Iq-0006nP-85 for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:56:45 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:53877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS6Ip-0006nB-Sy for help-gnu-emacs@gnu.org; Mon, 24 Mar 2014 10:56:40 -0400 Original-Received: from martin-desktop ([213.240.119.120]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ljqgb-1X3uxj0eG9-00brZQ; Mon, 24 Mar 2014 15:56:38 +0100 User-agent: mu4e 0.9.9.5; emacs 24.3.1 In-reply-to: <878urzvef9.fsf@gmail.com> X-Provags-ID: V03:K0:OxhMcFTIvI/BRabdzMmWkDF5RlE26s3imMda4SjLhFvUxlFcmS1 hB77Qoof5Z0pAKtPHikQk2uMddObsqd/cHPmddrwrkQWBJJ4WgifZoQF+VC31n43x4pK/ir HRV3AOjiWzzohTjzS91s05COPqt3svD6+Iu4luNzR2QvXStYh9gVWG4fBPvrEEjdPBI6OrP eQqD+7+jneWIVcu08g+ew== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96717 Archived-At: Thorsten Jolitz writes: > kleinerdrache@gmx.at writes: > >> Hi there, >> >> What is the mode-local alternative to global-set-key? I'd like to make >> a now undefined C-cd for org-mode but only for org-mode not global. >> Can i do that? > > ,-------------------------------------------- > | (org-defkey org-mode-map "\C-cd" 'my-defun) > `-------------------------------------------- Thanks very much! Martin