From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: upro Newsgroups: gmane.emacs.help Subject: Re: bind to M-" Date: Tue, 04 May 2004 19:14:52 +0200 Organization: Slackers Home Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <874qqwnmgj.fsf@lux99.localhost> 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 1083691224 4384 80.91.224.253 (4 May 2004 17:20:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 17:20:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 19:20:17 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 1BL3aa-0007GF-00 for ; Tue, 04 May 2004 19:20:17 +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 1BL3YR-0005pb-0l for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2004 13:18:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-han1.dfn.de!news-stu1.dfn.de!news.belwue.de!fu-berlin.de!uni-berlin.de!195.218.8.82!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Original-NNTP-Posting-Host: 195.218.8.82 Original-X-Trace: news.uni-berlin.de 1083690899 1083505 I 195.218.8.82 ([172438]) Os: Slackware 9.0.0/2.4.21 User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:L9a4xN56Kw/Mwg8XcKS5AI0wxns= Original-Xref: shelby.stanford.edu gnu.emacs.help:122960 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:18247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18247 Dave Yuill writes: > Hi everyone, > > My lisp experience consists mostly of copy/paste -> modify so forgive > me if this is a silly question. Same for me, so forgive me if I make a bad suggestion: Why not try (global-set-key [\M-\"] 'my-function) ;; or (global-set-key "\M-\"" 'my-function) ? > I would like to bind a command to M-". I've tried things like.. > > (global-set-key "\M-"" 'my-function) ;; obviously shouldn't work > > and > > (global-set-key [\M-"] 'my-function) ;; End of file during parsing error > > .. to no avail. Could some kind soul please point me in the right > direction? > > Thanks, > -Dave > > PS: FWIW I'm running cvs emacs on Mac OS 10.3.3 > > > -- Michael r-znvy: zvpunry.wryqra jro.qr (chg gur "@" jurer vg svgf...) ab fcnz cyrnfr