From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 Description of problem: I globally bind C-c r in Emacs to a function I use a lot. Today I was visiting an rpm spec file, and used that key. It did something completely different from what I expected, because rpm-spec-mode rebinds C-c r. In Emacs there is a general rule that all C-c LETTER bindings are reserved for the user. Modes aren't supposed to override them. rpm-spec-mode overrides a number of these. (In fact, these are the *only* bindings reserved for users, so overriding them is doubly bad.) This particular rule is documented in the Elisp manual. See the node (elisp)Coding Conventions. This node also mentions which key sequences are reserved for modes. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.C-x C-f /tmp/foo.spec 2.C-h b 3.Look at C-c map Additional info:
Confirmed. Mailed author, I don't want to invent my own keybindings :).
Author indicates new code is at: http://www.tihlde.org/~stigb/rpm-spec-mode.el
Should be fixed in emacs-21.2-24 in rawhide, which contains rpm-spec-mode version 0.12.
Closing fixed. Please reopen if there are still problems.