From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Problems binding odd C- & M-keys in Elisp Date: Thu, 9 Mar 2006 08:08:43 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1141901154 12835 80.91.229.2 (9 Mar 2006 10:45:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2006 10:45:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 11:45:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHIe8-00083z-Ej for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2006 11:45:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHIe7-0004HG-OG for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2006 05:45:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1141900578 99018 193.149.49.134 (9 Mar 2006 10:36:18 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 9 Mar 2006 10:36:18 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:138060 Original-To: help-gnu-emacs@gnu.org 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:33671 Archived-At: Joe Fineman wrote on Thu, 09 Mar 2006 01:25:36 GMT: > I can bind commands to the following odd combinations using M-x > global-set-key, but I cannot figure out how to express the same > bindings in Elisp for inclusion in .emacs: > C-; ("\C-\;" gives "Invalid modifier in string") > C- ("\C-\t" gives the same) > M- > M- > What am I missing? Probably comprehensive and clear documentation. However, as a workaround, do M-x global-set-key, then C-x . This will give you a working Lisp form to stick into your .emacs. > --- Joe Fineman -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").