help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bind to M-"


From: martin
Subject: Re: bind to M-"
Date: Tue, 04 May 2004 18:26:01 +0200
User-agent: Emacs Gnus

"DY" == Dave Yuill <dave@datashepherd.com> 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 <up>).

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]