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

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

Re: key bindings


From: Jeff Rancier
Subject: Re: key bindings
Date: Fri, 01 Nov 2002 18:37:15 GMT

Thanks Kevin,

But when I evaluate this, I get the following error:  Debugger entered--Lisp
error: (error "Invalid modifier in string")

Jeff

"Kevin Rodgers" <kevinr@ihs.com> wrote in message
3DC2B228.8020809@ihs.com">news:3DC2B228.8020809@ihs.com...
> Jeff Rancier wrote:
>
> > Hello All.
> >
> > I have the function redo bound to C-M-/, in my .emacs as follows:
> >
> > (global-set-key [M-C-/] 'redo)
> >
> > The default binding for that sequence is dabbrev-completion, which I
don't
> > use, so I thought I'd override it.  But, when I execute the key
sequence,
> > emacs runs dabbrev-completion.  When I C-h k it reports
dabbrev-completion,
> > which makes sense, but when I manually run redo, emacs reports:
> >
> > You can run the command 'redo' with <M-C-/>
> >
> > Something appears confused (other than me!).  Can someone tell me the
> > correct way to perform this, and have the binding persist?
>
>
> The angle brackets indicate that redo is bound to the M-C-/ function key,
>
> which doesn't exist.  You want it bound to the meta- and control-modified
> / character:
>
>
> (global-set-key "\M-\C-/" 'redo)
>
>
> --
> <a href="mailto:&lt;kevinr&#64;ihs.com&gt;";>Kevin Rodgers</a>
>




reply via email to

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