all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Leo Liu <sdl.web@gmail.com>,
	YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>,
	emacs-devel@gnu.org
Subject: Re: Emacs 25.2 RC1 next week
Date: Sun, 18 Dec 2016 09:53:14 -0500	[thread overview]
Message-ID: <jwvy3zdgurf.fsf-monnier+Inbox@gnu.org> (raw)
In-Reply-To: <83wpex6h51.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Dec 2016 05:38:34 +0200")

>> Could someone take a look at this bug https://debbugs.gnu.org/23002?
>> Reported before 25.1 release and still bothers me everyday. It causes a
>> few seconds delay randomly on M-x.
> My problem with the patch proposed there is that it touches a very
> sensitive area, and does that for all the supported systems.
> Stefan, any comments on that?

Re-reading the thread, the *right* solution is to fix while-no-input,
and apparently the easiest way to do that would be to change
while-no-input so that it calls an `internal--adjust-polling-frequency`
function after binding throw-on-input (and maybe after un-binding it as
well).

On systems which don't use polling at all,
internal--adjust-polling-frequency would just do nothing.

The patch should be fairly simple, but I don't think anyone wrote
such a patch yet, so I can't tell if it would be appropriate for emacs-25.

Maybe for emacs-25 we can live with the workaround of adding a "dummy"
call to (input-pending-p) in execute-extended-command--shorter.


        Stefan



  reply	other threads:[~2016-12-18 14:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-17 20:10 Emacs 25.2 RC1 next week Eli Zaretskii
2016-12-17 21:10 ` Nicolas Petton
2016-12-18  3:31   ` Eli Zaretskii
2016-12-18  2:37 ` Leo Liu
2016-12-18  3:38   ` Eli Zaretskii
2016-12-18 14:53     ` Stefan Monnier [this message]
2016-12-18 19:47       ` Eli Zaretskii
2016-12-18 20:17         ` Stefan Monnier
2016-12-18 20:28           ` Eli Zaretskii
2016-12-20  1:32             ` Leo Liu
2016-12-20  3:31               ` Eli Zaretskii
2016-12-22  6:23                 ` Leo Liu
2016-12-22 16:29                   ` Eli Zaretskii
2016-12-23  8:55                     ` Eli Zaretskii
2016-12-23 12:16                       ` Leo Liu
2016-12-24  0:56                       ` Stefan Monnier
2016-12-24  8:11                         ` Eli Zaretskii
2016-12-25  2:32                           ` Leo Liu
2016-12-25  3:35                             ` Eli Zaretskii
2016-12-25  6:43                               ` Leo Liu

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=jwvy3zdgurf.fsf-monnier+Inbox@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=sdl.web@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 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.