unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* (control u)(control c)
@ 2022-08-19  9:09 Andreas Röhler
  2022-08-19 10:49 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2022-08-19  9:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

have a command bound to

   (global-set-key [(control c)(d)] 'mycommand)

which I tried to rebind onto

   (global-set-key [(control u)(control c)(d)] 'mycommand)

Get

Debugger entered--Lisp error: (error "Key sequence C-u C-c d starts with 
non-prefix key C-u")


Any solution?

Thanks,

Andreas




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (control u)(control c)
  2022-08-19  9:09 (control u)(control c) Andreas Röhler
@ 2022-08-19 10:49 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-08-19 10:49 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Fri, 19 Aug 2022 11:09:08 +0200
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> 
> Hi,
> 
> have a command bound to
> 
>    (global-set-key [(control c)(d)] 'mycommand)
> 
> which I tried to rebind onto
> 
>    (global-set-key [(control u)(control c)(d)] 'mycommand)
> 
> Get
> 
> Debugger entered--Lisp error: (error "Key sequence C-u C-c d starts with 
> non-prefix key C-u")
> 
> 
> Any solution?

Yes, don't use C-u in the sequence.  C-u is the prefix argument, so if
you want to repurpose is (I don't recommend that), you'd need to
unbind it first.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-19 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-19  9:09 (control u)(control c) Andreas Röhler
2022-08-19 10:49 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).