Bug#486226: ocaml-mode: caml-mode bogusly binds C-c <letter> combinations
  Home FAQ Contact Sign in
linux.debian.maint.ocaml.maint only
 
Advanced search
POPULAR GROUPS

more...

linux.debian.maint.ocaml.maint Profile…
 Up
Bug#486226: ocaml-mode: caml-mode bogusly binds C-c <letter> combinations         


Author: Drake Wilson
Date: Jun 14, 2008 06:20

Package: ocaml-mode
Version: 3.10.2-3
Severity: normal
>From the node "Coding Conventions" from edition 2.9 of the GNU Emacs
Lisp Reference Manual, corresponding to GNU Emacs version 22.2:

* Please do not define `C-c LETTER' as a key in Lisp programs.
Sequences consisting of `C-c' and a letter (either upper or lower
case) are reserved for users; they are the *only* sequences
reserved for users, so do not block them.

Changing all the Emacs major modes to respect this convention was
a lot of work; abandoning this convention would make that work go
to waste, and inconvenience users. Please comply with it.

However, caml-mode defines several C-c sequences, including
the letters (b f i l m t w). In fact, it appears to try to bind C-c i
twice: once as ocaml-add-path on line 303 of caml.el, and once as
caml-insert-if-form on line 311, with the latter taking precedence.
Show full article (2.03Kb)
no comments