From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38457: 27.0.50; dabbrev-expand regression due to message change Date: Tue, 03 Dec 2019 05:36:45 +0200 Message-ID: <83y2vujd0y.fsf@gnu.org> References: <8736e3vve8.fsf@gmx.net> <8736e2coyv.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="149282"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38457@debbugs.gnu.org, stephen.berman@gmx.net To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 03 04:38:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ibz0s-000cf7-R6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Dec 2019 04:38:10 +0100 Original-Received: from localhost ([::1]:47952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibz0r-0005ld-En for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Dec 2019 22:38:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42743) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibz0l-0005jz-7l for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 22:38:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibz0k-0003DD-7N for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 22:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibz0k-0003Cq-2w for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 22:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibz0j-0003SR-UF for bug-gnu-emacs@gnu.org; Mon, 02 Dec 2019 22:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Dec 2019 03:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38457 X-GNU-PR-Package: emacs Original-Received: via spool by 38457-submit@debbugs.gnu.org id=B38457.157534422513226 (code B ref 38457); Tue, 03 Dec 2019 03:38:01 +0000 Original-Received: (at 38457) by debbugs.gnu.org; 3 Dec 2019 03:37:05 +0000 Original-Received: from localhost ([127.0.0.1]:39203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibyzp-0003RG-0b for submit@debbugs.gnu.org; Mon, 02 Dec 2019 22:37:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52021) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibyzo-0003Qn-0V for 38457@debbugs.gnu.org; Mon, 02 Dec 2019 22:37:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ibyzf-0001RM-Vj; Mon, 02 Dec 2019 22:36:56 -0500 Original-Received: from [176.228.60.248] (port=1736 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ibyzf-0001z8-Fd; Mon, 02 Dec 2019 22:36:55 -0500 In-reply-to: <8736e2coyv.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 03 Dec 2019 01:00:40 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172798 Archived-At: > From: Juri Linkov > Date: Tue, 03 Dec 2019 01:00:40 +0200 > Cc: 38457@debbugs.gnu.org > > > 0. emacs -Q > > 1. M-! te M-/ > > > > => It takes about 4 seconds on my machine for the expansion "text" to > > appear, during which the minibuffer displays "[Scanning for > > dabbrevs...100%]" and then "[Scanning for dabbrevs...done]". On builds > > without this regression, the expansion is virtually instantaneous and no > > message is seen in the minibuffer. > > This is because of the current limitation of minibuffer-message. > It uses sit-for to wait for 2 seconds per every message. > This should be fixed by using the timer, so there will be no delays > anymore: Please don't make this change, or any other changes in this stuff that significantly modify the internals of these basic APIs. I'm that close to ask to revert the entire message-in-echo-area change, because it's already too invasive and runs a high risk of disrupting too many commands. We don't want the pretest of Emacs 27.1 to last forever for these reasons. So please try to find a simpler fix for this problem, one that doesn't involve a timer. If it isn't possible, let's indeed consider removing the message-in-echo-area changes for now. Sorry for that, but we should keep in mind that Emacs 27.1 pretest is coming soon, and any deep changes in low-level infrastructure used all over the place should wait for the next release. Thanks.