all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thunk Out <thunkout@gmail.com>
To: Wojciech Meyer <wojciech.meyer@googlemail.com>,
	 Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs TODO List: Have a command suggestion help system that
Date: Mon, 2 Aug 2010 04:48:44 -0500	[thread overview]
Message-ID: <AANLkTik21qHf-TWEpsZKm41CnPz951QkEMb9ewmYjbKq@mail.gmail.com> (raw)
In-Reply-To: <87k4o97tnp.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

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

<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
>

[-- Attachment #2: Type: text/html, Size: 2631 bytes --]

  parent reply	other threads:[~2010-08-02  9:48 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
2010-08-02  5:08     ` Thunk Out
2010-08-02  9:48     ` Thunk Out [this message]
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

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

  git send-email \
    --in-reply-to=AANLkTik21qHf-TWEpsZKm41CnPz951QkEMb9ewmYjbKq@mail.gmail.com \
    --to=thunkout@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=wojciech.meyer@googlemail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.