From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: ehelp woes, or why I hate a module that I love so much
Date: Thu, 27 Jun 2002 15:57:16 -0400 [thread overview]
Message-ID: <200206271957.g5RJvGB22457@rum.cs.yale.edu> (raw)
In-Reply-To: 20020627190100.35DA.LEKTU@terra.es
> First I'd like to get some input from people around here regarding why
> it is necessary for ehelp to use its own command-loop. I sure would like
> to get rid of it.
I don't think there's a very strong reason why the code uses its
own command-loop. In other settings an explicit while loop calling
`read-event' is used (in query-replace, for example), or some
special keymap is installed on the overriding-terminal-local-map
(in isearch).
I'm sure that overriding-minor-mode-map-alist could be used as well.
I don't like `read-event' because it fails to obey function-key-map
and key-translation-map and because it doesn't run post/pre-command-hook
and other such things.
Note that all those different approaches behave subtly differently,
so the trade-offs are not always obvious. It might be worth trying
out something like overriding-terminal-local-map and see how it works.
But you might end up finding out that the same problems show up
(after all, a recursive command loop is really not very different
from a (while ... (read-key-sequence) ...) or from temporarily
setting the overriding-terminal-local-map).
Stefan
next prev parent reply other threads:[~2002-06-27 19:57 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 14:50 ehelp woes, or why I hate a module that I love so much Juanma Barranquero
2002-06-25 15:06 ` D. Goel
2002-06-25 15:41 ` Juanma Barranquero
2002-06-26 22:24 ` Richard Stallman
2002-06-27 17:11 ` Juanma Barranquero
2002-06-27 19:57 ` Stefan Monnier [this message]
2002-07-02 15:02 ` Juanma Barranquero
2002-07-02 15:18 ` Stefan Monnier
2002-07-02 15:50 ` Juanma Barranquero
2002-06-29 8:41 ` Richard Stallman
2002-07-02 15:15 ` Juanma Barranquero
2002-07-02 15:49 ` Eli Zaretskii
2002-07-03 11:16 ` Juanma Barranquero
2002-07-03 20:57 ` Richard Stallman
2002-07-03 21:32 ` Simon Josefsson
2002-07-04 5:09 ` Eli Zaretskii
2002-07-04 7:58 ` Juanma Barranquero
2002-07-04 10:13 ` Eli Zaretskii
2002-07-04 11:52 ` Juanma Barranquero
2002-07-06 10:38 ` Eli Zaretskii
2002-07-04 11:02 ` Simon Josefsson
2002-07-04 12:08 ` Juanma Barranquero
2002-07-04 12:19 ` Miles Bader
2002-07-04 13:31 ` Juanma Barranquero
2002-07-04 14:02 ` Simon Josefsson
2002-07-04 14:00 ` Simon Josefsson
2002-07-04 15:20 ` Juanma Barranquero
2002-07-17 2:58 ` emacs and guile (Re: ehelp woes, or why I hate a module that I love so much) Ken Raeburn
2002-07-17 7:13 ` Juanma Barranquero
2002-07-17 9:11 ` Kai Großjohann
2002-07-18 14:54 ` Richard Stallman
2002-07-18 21:45 ` Ken Raeburn
2002-07-18 14:55 ` Richard Stallman
2002-07-18 20:13 ` Ken Raeburn
2002-07-19 13:03 ` Andreas Schwab
2002-07-19 16:24 ` Ken Raeburn
2002-07-19 16:54 ` Richard Stallman
2002-07-19 17:51 ` Ken Raeburn
2002-07-18 14:56 ` Richard Stallman
2002-07-18 19:54 ` Ken Raeburn
2002-07-19 4:23 ` Stefan Monnier
2002-07-19 12:56 ` Ken Raeburn
2002-07-19 13:34 ` Stefan Monnier
2002-07-19 14:16 ` Andreas Schwab
2002-07-19 15:04 ` Stefan Monnier
2002-07-19 16:54 ` Richard Stallman
2002-07-19 17:48 ` Ken Raeburn
2002-07-19 18:25 ` Marius Vollmer
2002-07-20 0:35 ` Richard Stallman
2002-07-20 12:00 ` Marius Vollmer
2002-07-21 20:14 ` Richard Stallman
2002-07-19 16:54 ` Richard Stallman
2002-07-04 19:07 ` ehelp woes, or why I hate a module that I love so much Henrik Enberg
2002-07-05 0:49 ` Juanma Barranquero
2002-07-05 11:15 ` Per Abrahamsen
2002-07-05 10:48 ` Richard Stallman
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=200206271957.g5RJvGB22457@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/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.