unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Rudolf Adamkovič" <salutis@me.com>
Cc: 53305@debbugs.gnu.org
Subject: bug#53305: 29.0.50; Echo keystrokes without delay
Date: Fri, 21 Jan 2022 12:58:28 +0100	[thread overview]
Message-ID: <87wnitqp0b.fsf@gnus.org> (raw)
In-Reply-To: <m2r197ejrd.fsf@me.com> ("Rudolf Adamkovič"'s message of "Sun, 16 Jan 2022 17:19:02 +0100")

Rudolf Adamkovič <salutis@me.com> writes:

> Today, I set my Emacs to echo unfinished commands without a delay:
>
> (setq-default echo-keystrokes 1e-6)
>
> I experienced some problems along the way: (1) The variable name does
> not include the word "delay", making it hard to find;

Well, it does more than control the delay -- it also allows switching
the echoing off, so I think the name's OK.

> (2) I could not
> figure out how to disable the delay without providing a number of
> seconds; (3) When I press C-x C-g repeatedly, the C-x part flashes a
> bit.
>
> Does (3) have anything to do with the "1e-6" hack?  Ideally, I would
> want Emacs to have no delay and also no "redraw glitches".

Yes, it sets up a delay, and if your redisplay is too fast, the clearing
and re-drawing will be noticeable.  (I can't reproduce it on Debian.)

> I also wonder, does Emacs have the default 1-second delay to save
> bandwidth or something like that?  I ask because the default makes it
> harder to learn Emacs for inexperienced computer users.  I base my claim
> on causal observations of my children; they often wait for the echo
> area, unsure about their "unfinished commands".

No, the delay is because many people find echoing the unfinished
keystroke to be disturbing.

So I think everything here basically works as designed, and I'm closing
this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-01-21 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16 16:19 bug#53305: 29.0.50; Echo keystrokes without delay Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-21 11:58 ` Lars Ingebrigtsen [this message]

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=87wnitqp0b.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=53305@debbugs.gnu.org \
    --cc=salutis@me.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).