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

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

Re: keybinding problem


From: Kevin Rodgers
Subject: Re: keybinding problem
Date: Mon, 18 Aug 2003 11:21:33 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

David Andersson wrote:

Lowell <lkirsh@cs.ubc.ca> writes:

In my .emacs, I have the following line:
(global-set-key [ C-/ ] 'hippie-expand)

But when I do C-h k C-/, it says that that key combo is bound to undo. Why does my binding not stay?


Because you are binding the Control-modified slash function key, which

probably does not exist.  Instead of the C-/ symbol, you need to specify
the C-/ character:


[?\C-/]


Try

(global-set-key [(control /)] 'hippie-expand)

Or as Kai would point out: (kbd "C-/")


--
Kevin Rodgers



reply via email to

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