From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#38457: 27.0.50; dabbrev-expand regression due to message change Date: Fri, 06 Dec 2019 18:15:27 +0100 Message-ID: <87immtwf2o.fsf@gmail.com> References: <8736e3vve8.fsf@gmx.net> <8736e2coyv.fsf@mail.linkov.net> <83y2vujd0y.fsf@gnu.org> <87blspm0sm.fsf@mail.linkov.net> <837e3ckbem.fsf@gnu.org> <87y2vqaj8n.fsf@gmail.com> <87o8wmqpvd.fsf@mail.linkov.net> <83muc5hpds.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="45899"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 38457@debbugs.gnu.org, stephen.berman@gmx.net, Juri Linkov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 18:44:07 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 1idHeA-000Bmq-FZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2019 18:44:06 +0100 Original-Received: from localhost ([::1]:42406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idHe8-0003NN-OS for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2019 12:44:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40338) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idHD1-00076e-Ea for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 12:16:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idHD0-0004ZZ-9m for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 12:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idHD0-0004Yg-5G for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 12:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1idHCz-0000Bs-Vt for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2019 12:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2019 17:16: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.1575652538539 (code B ref 38457); Fri, 06 Dec 2019 17:16:01 +0000 Original-Received: (at 38457) by debbugs.gnu.org; 6 Dec 2019 17:15:38 +0000 Original-Received: from localhost ([127.0.0.1]:46994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHCc-00008c-Aj for submit@debbugs.gnu.org; Fri, 06 Dec 2019 12:15:38 -0500 Original-Received: from mail-wm1-f53.google.com ([209.85.128.53]:35627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idHCY-00007c-Oi for 38457@debbugs.gnu.org; Fri, 06 Dec 2019 12:15:35 -0500 Original-Received: by mail-wm1-f53.google.com with SMTP id c20so6626372wmb.0 for <38457@debbugs.gnu.org>; Fri, 06 Dec 2019 09:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NAB8AaCs6YJjFAkrTe8eY5uub0BqF31A00O1ZcQ8ymo=; b=bfsTHn9G7UKFc70G1tiniCngvA2p3vJunp8IFp95iWVLWXn7nVut1Ib1NeNWThkV8v eI2TvaTPupqZqk3Zw9S/CdgPnlKu5Ps8Yy51FVTnCY85axTOf1UQkTFcjZSoIUwGwWyN /1HwRilD2CSKS91vDjUxM6XTVUh4VdB1UEIWCkIOhseMjahh+xAuxKOoYjoY7kj0ccHm z2p8iOnAvaX2wpMJycODCqA3C+8beI37SNQGe0NuQCXqn8icm83AXtPKx6pXfJVcGc8l RO+4VVwX7nOr2Y79HI0ajHlh3AEDvakRw27pLFPg/oxHpONBFLw45rU40Aqd+ej0JDCB uVRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NAB8AaCs6YJjFAkrTe8eY5uub0BqF31A00O1ZcQ8ymo=; b=fHXGbPxY0n75eWLWTmAx6friHQ4tiLPcX9fAPSw/B8iJRCgKXSoJAqKqeqdi/BOsyo 2yDji8c+myuZAiu8SKk7aGTNJ3v6W4sH0BbX55XkJ57M4JHNlhAH4h7wMT64t94yQEL+ eP/9QVOOorQ9+JbFtWh066Ufg9WVDoNckICtBM1pfO5UuHro5Dpvh7eBJsj/AfR0B4pE aNwvh0HSvbQPIklLg3l0pLL5thwuY6SsooplrpR16eoBXYWDD9cvPJ6l/S05P18wuZqC 9FrwsrElzKOj/FSsvWPvwcj0X1n+knxOKsGqIIoVCtrQHDFz7scrahQCHWXpgdpvvA6o OYCA== X-Gm-Message-State: APjAAAUoerApFz3SQbQ61phs118DXkVsdOTUMtIlkRipcqlh6O3LLh+d 2N4xYGf3+V4hUSI949MvbvU= X-Google-Smtp-Source: APXvYqzQmi7irTTtsSxC7OpB7/vCwg9i/GqbJkezEzC+lG6htFRWsFMxGzGeSkv9SPRNn+98C2WjOA== X-Received: by 2002:a05:600c:cd:: with SMTP id u13mr11732013wmm.24.1575652528867; Fri, 06 Dec 2019 09:15:28 -0800 (PST) Original-Received: from little-buster (2a01cb04010fc800344a427cd486b589.ipv6.abo.wanadoo.fr. [2a01:cb04:10f:c800:344a:427c:d486:b589]) by smtp.gmail.com with ESMTPSA id t13sm4161526wmt.23.2019.12.06.09.15.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2019 09:15:27 -0800 (PST) In-Reply-To: <83muc5hpds.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Dec 2019 09:41:51 +0200") 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:172971 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > One possibility is for 'message' to bind 'minibuffer-message-timeout' > to zero when it calls 'minibuffer-message'. Would this work in all > the use cases discovered to day? FWIW the following patch does remove the delay before {the dabbrev expansion shows up,TRAMP proceeds with each step}: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=minibuffer-message-timeout.patch diff --git a/src/editfns.c b/src/editfns.c index 72a9cdba7a..3ee00fcc1b 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2895,6 +2895,8 @@ accent (\\=`) and apostrophe (\\=') are special in the format; see /* Avoid possible recursion. */ specbind (Qmessage_in_echo_area, Qt); + /* Do not delay callers (bug#38457). */ + specbind (intern ("minibuffer-message-timeout"), INT_TO_INTEGER (0)); record_unwind_current_buffer (); Fset_buffer (Fwindow_buffer (Fold_selected_window ())); --=-=-= Content-Type: text/plain Though that makes each message flicker briefly and disappear before the user has a chance to read it. --=-=-=--