From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Binding C-' Date: Wed, 15 Oct 2008 12:22:18 +0200 Message-ID: <54D98665-1FCE-40E2-8BC9-7050EED95FF9@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224066184 14007 80.91.229.12 (15 Oct 2008 10:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 10:23:04 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: TongKe Xue Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 12:24:04 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kq3Xq-0007xn-N1 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 12:23:58 +0200 Original-Received: from localhost ([127.0.0.1]:52476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq3Wm-0002Hf-0j for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 06:22:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kq3WK-0002D2-2p for help-gnu-emacs@gnu.org; Wed, 15 Oct 2008 06:22:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kq3WI-0002CR-31 for help-gnu-emacs@gnu.org; Wed, 15 Oct 2008 06:22:23 -0400 Original-Received: from [199.232.76.173] (port=33784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq3WH-0002CL-TJ for help-gnu-emacs@gnu.org; Wed, 15 Oct 2008 06:22:21 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:43480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kq3WH-0008De-Fl for help-gnu-emacs@gnu.org; Wed, 15 Oct 2008 06:22:21 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 8FC3EF3632F4; Wed, 15 Oct 2008 12:22:20 +0200 (CEST) Original-Received: from [91.35.198.145] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.109 #226) id 1Kq3WG-0005C3-00; Wed, 15 Oct 2008 12:22:20 +0200 In-Reply-To: X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18CTuFV9fPchW8wrN1m3EAt7wcYj3HfvQPfOeqm ZWEbZBOB7zga293DElNxe+e4rGIjEU38sA2M8iJj+YAMwuF0ev /RlL8P5dGUGqaYaAe0kA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58796 Archived-At: Am 15.10.2008 um 01:21 schrieb TongKe Xue: > I can't find C-' with > > (global-set-key "\C-'" ...) > or > (global-set-key "\C-\'" ...) > > How do I do this? (global-set-key (kbd "C-'") ...) C-' is not ANSI, i.e., it does not address an ASCII command character. Could be therefore you need kind of a "translator" via the kbd function. It also works to set this key binding manually and then to recall the complete command: C-x Esc Esc C-a C-k C-g C-x b .emacs RET C-y C-x C- s ... -- Greetings Pete Either this man is dead or my watch has stopped. - Groucho Marx