From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Andreas_B=FCsching?= Newsgroups: gmane.emacs.help Subject: Re: C-. keybinding in (X)Emacs Date: Mon, 16 Jun 2003 15:30:00 +0200 Organization: =?iso-8859-1?q?Universit=E4t?= Bremen, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055770257 4122 80.91.224.249 (16 Jun 2003 13:30:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2003 13:30:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 15:30:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Ru1q-0000uT-00 for ; Mon, 16 Jun 2003 15:28:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ru46-0000NP-Ew for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2003 09:30:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-ham1.dfn.de!news.zfn.uni-bremen.de!informatik.uni-bremen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: dataman.informatik.uni-bremen.de Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEUAAAB4b1jDuJcMCwu5 pWzjzXrt7OoCAAD09PQaGReij1n///8EAwI4NS6J11PyAAACMklEQVR4nG3Tz2vaYBgH8McEykIV WncR24J5GaG2l4CH0eEOBTeYtw1y2WnJQNL14nbbQZgOwnvYoGphCBbWLTCWrTA9eClCupulQlhB 0On/svd946/3dc/JfD9JniQ+D1zOCgUAMTQ/hNkPFVjFReic0FhuKscCvGDnK5PxmgBBCJvD3j4H bT2EnaG/xUErbN1rAkj/g2gRIMLBESyKgxTcZAH8TMYXIZpp+NDfaXwC2OdA3rz14RQd1gH+chBB qh7VClYggqRWgpKV1FICmFI1MayW+/G0AC2pn7hbNeWauQLNP5OJWoysQGx75J4/vfm9Cq8eGYbh Gd9EKOUpGLlxEWocXHkGqydFuObgOk/j5953f/p551e4LHe/vtV56I1IPnLzP19fhPMwgzeHo4uk 6z5TFXSyzsFeMpfzvmhqNB5I3Jujc89LPiaf98yPLcFnqbDneUjDzjb5c7cWkF2zEEKajfFLMhKD ObSaCUezEMlxmVzRn0Fn48rGFiqQHFfIOMDxFNpQIxE9H2OHDmttCl0Y4HnR7uQdKXQC2F1Amg7d DwYtkLVZ7BQ+UpAYHJEVs7Fj09hCJoUYAzLIWtgZE9CCIdmJBAP9gT2/laWlZDKOEoGWoi89FLZM OCD3ItDtPVzKsXMvmxmzbUgfSMuAC7eTBoON+h0OcHp4RtekDcEuDx+ypfsUFEWAd6CQB77sxiK2 CFEKv7IRdrjQ9+GOpuo1Acogk+ZtvT4QoEJ7/ANhji/ctGR8cwAAAABJRU5ErkJggg== X-URL: http://www.crunchy-home.de/ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:2vSdVS+pwbc2TVS34CIlk9bnfSU= Original-Xref: shelby.stanford.edu gnu.emacs.help:114480 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10972 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10972 Hi, "Yan Tang" wrote: > Hi, I want to bind `C-.' to some func in (X)Emacs, but I don't know how to define the key. > (global-set-key "\C-." *****) doestn't work. > > And in XEmacs, (global-set-key '(control period) *****) doesn't work either. > > (global-set-key "\M-." *****) works well, but I have reserved it for etags. > > So how to define C-. keybinding? This should work for Emacs, but I'm not sure what about XEmacs: (global-set-key (kbd "C-.") *****) crunchy -- If builders built buildings the way programmers wrote programs, then the first woodpecker to come along would destroy civilization.