all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joe Corneli <jcorneli@math.utexas.edu>
Subject: Re: global key not binding
Date: Wed, 10 Aug 2005 08:41:43 -0500	[thread overview]
Message-ID: <E1E2qpz-0001wx-00@lab1.ma.utexas.edu> (raw)
In-Reply-To: <8764uejjgz.fsf@wash.edu> (message from Baloff on 10 Aug 2005 18:15:40 +1000)


   Hello

   (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c b
   (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c p

   I get symbol function definition is void ...

That is to be expected.

,----
| global-set-key is an interactive compiled Lisp function in `subr'.
| (global-set-key key command)
| 
| Give key a global binding as command.
`----

Try

(global-set-key "\C-cb" (lambda ()
                          (interactive)
                          (copy-region-as-kill (point-min)
                                               (point-max))))

  parent reply	other threads:[~2005-08-10 13:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10  8:15 global key not binding Baloff
2005-08-10  8:24 ` Peter Dyballa
2005-08-10 13:41 ` Joe Corneli [this message]
     [not found] ` <mailman.3223.1123681667.20277.help-gnu-emacs@gnu.org>
2005-08-10 19:12   ` Baloff
2005-08-10 19:20     ` Joe Corneli
2005-08-10 19:48       ` Lennart Borgman
2005-08-10 23:11         ` Joe Corneli
     [not found]       ` <mailman.3280.1123704053.20277.help-gnu-emacs@gnu.org>
2005-08-10 20:51         ` Baloff
2005-08-10 19:20 ` Kevin Rodgers
     [not found] ` <mailman.3194.1123662827.20277.help-gnu-emacs@gnu.org>
2005-08-10 21:13   ` Baloff
2005-08-10 21:28     ` Kevin Rodgers
2005-08-10 22:32     ` Henrik Enberg
     [not found]     ` <mailman.3315.1123715476.20277.help-gnu-emacs@gnu.org>
2005-08-11 22:10       ` Baloff
2005-08-11 22:06         ` Henrik Enberg
     [not found] ` <mailman.3273.1123702161.20277.help-gnu-emacs@gnu.org>
2005-08-14  8:57   ` Baloff
2005-08-15 18:03     ` Kevin Rodgers

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=E1E2qpz-0001wx-00@lab1.ma.utexas.edu \
    --to=jcorneli@math.utexas.edu \
    /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.