t...@tsdye.com (Thomas S. Dye) writes:

> Then "punctuation" has two senses, one generic and another specific. To
> my mind, the emacs guideline is ambiguous unless there is some
> convention about which sense is meant in this case.  I guess it would be
> possible to look at the code to figure this out, but I'm not well
> equipped to do that.

Re-reading the Elisp conventions about keybindings says this:

   • Sequences consisting of ‘C-c’ followed by ‘{’, ‘}’, ‘<’, ‘>’, ‘:’
     or ‘;’ are also reserved for major modes.

   • Sequences consisting of ‘C-c’ followed by any other punctuation
     character are allocated for minor modes.  Using them in a major
     mode is not absolutely prohibited, but if you do that, the major
     mode binding may be shadowed from time to time by minor modes.

So C-c { and C-c } are fine in a major mode.

(And now that C-c : is not used anymore, this gives us one more free
keybinding to reuse.)

-- 
 Bastien


Reply via email to