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

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

Re: global key not binding


From: Kevin Rodgers
Subject: Re: global key not binding
Date: Mon, 15 Aug 2005 12:03:25 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Baloff wrote:
Kevin Rodgers <ihs_4664@yahoo.com> writes:


Baloff wrote:

> (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 ...

It works for me.  (Note that the 2 lines are identical, except for the
comments -- is there a typo in there?)

To find out where the error occurs:
M-x set-variable RET debug-on-error RET t RET



Debugger entered--Lisp error: (error "The mark is not set now")
  call-interactively(kill-ring-save)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

`C-x h' should set the mark.  The doc string for `M-w' mentions
Transient Mark mode, but even with that turned on I couldn't replicate
the error.

Do you get the error in a vanilla Emacs (emacs -q --no-site-file),
evaluating the global-set-key form in the *scratch* buffer?

--
Kevin Rodgers





reply via email to

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