From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: martin@rochooni.net Newsgroups: gmane.emacs.help Subject: Re: bind to M-" Date: Tue, 04 May 2004 18:26:01 +0200 Organization: Bosch Rexroth AG Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <274A369893F5FB4099345F006439D987013878CA@bella.corp.resmed.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083688881 30525 80.91.224.253 (4 May 2004 16:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 16:41:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 18:41:07 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL2yg-0004Is-00 for ; Tue, 04 May 2004 18:41:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL2s3-0002AR-M4 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2004 12:34:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news0.de.colt.net!news1.boschrexroth.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 10.110.240.55 Original-X-Trace: loghost1.eu.boschrexroth.com 1083687717 8772 10.110.240.55 (4 May 2004 16:21:57 GMT) Original-X-Complaints-To: usenet@eu.boschrexroth.com Original-NNTP-Posting-Date: Tue, 4 May 2004 16:21:57 +0000 (UTC) User-Agent: Emacs Gnus Cancel-Lock: sha1:jR2cK4/A98b8E8Y5RDExInAOkTk= Original-Xref: shelby.stanford.edu gnu.emacs.help:122956 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.emacs.help:18242 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18242 "DY" == Dave Yuill writes: DY> Date: Tue, 4 May 2004 12:34:05 -0300 DY> To: help-gnu-emacs@gnu.org DY> DY> Hi everyone, DY> DY> My lisp experience consists mostly of copy/paste -> modify so forgive DY> me if this is a silly question. I would like to bind a command to DY> M-". I've tried things like.. DY> DY> (global-set-key "\M-"" 'my-function) ;; obviously shouldn't work DY> DY> and DY> DY> (global-set-key [\M-"] 'my-function) ;; End of file during parsing error DY> DY> .. to no avail. Could some kind soul please point me in the right DY> direction? hi, define the key interactively by typing M-x global-set-key RET etc. find the correct lisp code in the history buffer of the repeat-complex-command (M-x repeat-complex-command RET ). martin DY> DY> Thanks, DY> -Dave DY> DY> PS: FWIW I'm running cvs emacs on Mac OS 10.3.3 DY> DY> DY> DY> -- martin dot fischer at boschrexroth dot de