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

Re: Emacs key binding problem on debian testing.



r clayton writes:

> I'm runining emacs
>   GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
>   2007-01-04 on saens, modified by Debian 

> on a debian testing sytem

>   $ uname -a
>   Linux UlanBator 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686
>   GNU/Linux

>   $

> updated weekly.  These commands

>   (define-key c-mode-base-map "\C-cp" 'insert-c-procedure-skeleton)
>   (define-key c-mode-base-map "\C-ci" 'insert-include-statement)

> but the response to ctrl-i is a bell and the response to help-key ctrl-i is

>   C-c i is undefined

> ctrl-p has the same problem.  Everything works as expected on other emacsen

>   GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of
>   2006-03-07 on hs20-bc1-6.build.redhat.com

>   GNU Emacs 21.4.1 (i386-unknown-openbsd4.0, X toolkit) of 2006-09-01 on
>   i386.ports.openbsd.org

> with the same .el files, and it used to work on debian testing too.  What is
> the procedure for getting it to work again?

I don't have a testing box at hand, but on an unstable box[1],
evaluating

  (define-key c-mode-base-map "\C-cp" 'insert-c-procedure-skeleton)
  (define-key c-mode-base-map "\C-ci" 'insert-include-statement)

in a C buffer, yields to the following results:

C-h k Ctrl-C-p
=> describe-key: Symbol's function definition is void: insert-c-procedure-skeleton

and

C-h k Ctrl-C-i
=> describe-key: Symbol's function definition is void: insert-include-statement

Which is what I would expect.

Have you tested with emacs -q to be sure your local .emacs is not
messing things around?

HTH,

______________ 
[1] GNU Emacs 21.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll
    bars) of 2007-01-04 on chenonceaux, modified by Debian

-- 
-- Jhair



Reply to: