[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs TODO List: Have a command suggestion help system that

From: Thunk Out
Subject: Re: Emacs TODO List: Have a command suggestion help system that
Date: Mon, 2 Aug 2010 04:48:44 -0500

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


On Sun, Aug 1, 2010 at 7:19 PM, Wojciech Meyer <address@hidden> wrote:
Stefan Monnier <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]