all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin@rochooni.net
Subject: Re: bind to M-"
Date: Tue, 04 May 2004 18:26:01 +0200	[thread overview]
Message-ID: <ukisfc6twm.fsf@boschrexroth.de> (raw)
In-Reply-To: mailman.3260.1083685014.1061.help-gnu-emacs@gnu.org


"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

  parent reply	other threads:[~2004-05-04 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 20:53 Accessiing the CVS tip for Emacs Peter Milliken
2004-04-29  5:49 ` Eli Zaretskii
     [not found] ` <mailman.2316.1083214080.1061.help-gnu-emacs@gnu.org>
2004-04-29 12:47   ` Glenn Morris
2004-05-04 15:34     ` bind to M-" Dave Yuill
     [not found]     ` <mailman.3260.1083685014.1061.help-gnu-emacs@gnu.org>
2004-05-04 16:11       ` Stefan Monnier
2004-05-04 16:26       ` martin [this message]
2004-05-04 17:14       ` upro
  -- strict thread matches above, loose matches on Subject: below --
2004-05-05  0:45 Dave Yuill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ukisfc6twm.fsf@boschrexroth.de \
    --to=martin@rochooni.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.