I am unable to set the C-, and C-. key bindings!

I tried adding the following,

(global-set-key (kbd "C-,") 'forward-char)
(global-set-key (kbd "C-.") 'forward-char)

In various installations of Emacs and instead of moving the cursor forward Emacs would print either the , or . characters.

C-h k C-, reports,

, runs the command self-insert-command (found in global-map), which is
an interactive built-in function in ‘C source code’.

similar output for C-..

Is it possible to set bindings for C-, or C-. in Emacs?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.