unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Wojciech Meyer <wojciech.meyer@googlemail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Thunk Out <thunkout@gmail.com>, emacs-devel@gnu.org
Subject: Re: Emacs TODO List: Have a command suggestion help system that
Date: Mon, 02 Aug 2010 01:19:38 +0100	[thread overview]
Message-ID: <87k4o97tnp.fsf@gmail.com> (raw)
In-Reply-To: <jwv8w4p7uv4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 02 Aug 2010 01:57:38 +0200")

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



  reply	other threads:[~2010-08-02  0:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 22:34 Emacs TODO List: Have a command suggestion help system that recognizes patterns Thunk Out
2010-08-01 23:57 ` Emacs TODO List: Have a command suggestion help system that Stefan Monnier
2010-08-02  0:19   ` Wojciech Meyer [this message]
2010-08-02  5:08     ` Thunk Out
2010-08-02  9:48     ` Thunk Out
2010-08-02  3:43   ` Thunk Out

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4o97tnp.fsf@gmail.com \
    --to=wojciech.meyer@googlemail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=thunkout@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).