Subject: Re: bug#5997: migration emacs 22.3 to 23.1

From: Leo <[email-masked]>
Date: Thu, 22 Apr 2010 16:56:49 +0100

On 2010-04-22 14:39 +0100, Stefan Monnier wrote:
>> and vhdl-comment-uncomment-region function doesn't know that this row
>> is commented or no, so it makes new comment and so on....
>
> Rather than C-c C-c (which is specific to VHDL) you may want to try M-;
> which should work in "any" mode.

I always hate it when a mode overrides a global binding for no good
reason. It gives surprises on the first use. There are quite a few in
Emacs, unfortunately. To name a few:

1. diff-mode binds M-q
2. M-s that was used to search history is overwritten by the new M-s
   prefix. See for example in ielm.
3. Winner mode key bindings are active in minibuffer which makes ido
   fail to perform some of its functions.

Leo