I've updated recs.el to match on full command names rather than mapped chars,
and to return command name symbols per Wojciech's suggestion.
You can view the changes here: http://github.com/tlh/re-suggest.el

Thanks,
--tlh

On Sun, Aug 1, 2010 at 7:19 PM, Wojciech Meyer <wojciech.meyer@googlemail.com> wrote:
Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I'm working on a command suggestion minor mode. I just realized that this is
>> also an item on the Emacs TODO list (C-h C-t), and that I should contact you
>> about it on off chance that you want it, or have some suggestions about its
>> implementation. The code is located at http://github.com/tlh/re-suggest.el
>
> I'm not sure why you bother turning the commands into single-letter
> chars, rather than just use their full name, but it looks interesting.
> I think the most interesting part is the recs-cmd-regexps.
>
> What do people think about this?
> We could definitely add it to elpa.gnu.org, but of course, this would
> require you signing some copyright paperwork for it.
> BTW, please try C-u M-x checkdoc-current-buffer a few times to fix some
> minor coding convention details.
>

This reminds me a peephole optimisation in compilers. Indeed I see
a potential. Looks good. However the messages should be really symbol
names. Also, a good thing for further would be remember missed
combinations, and have access to a summary of missed commands. More
annoying this mode would be - better chances for somebody to get rid of
bad habits.  Making rules programaticaly would be an advantage too,
keeping those in some configuration file.
And I agree, mapping to letters is not needed, and less readable.

>
>         Stefan

Cheers;
Wojciech