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: Thu, 12 Dec 2019 07:36:32 +0200 Message-ID: <83blse9kbj.fsf@gnu.org> References: <8736e3vve8.fsf@gmx.net> <8736e2coyv.fsf@mail.linkov.net> <83y2vujd0y.fsf@gnu.org> <87blspm0sm.fsf@mail.linkov.net> <837e3ckbem.fsf@gnu.org> <871rtjn0kt.fsf@mail.linkov.net> <83lfrrigj8.fsf@gnu.org> <87eexiqps5.fsf@mail.linkov.net> <83lfrphp94.fsf@gnu.org> <87wob7g2jk.fsf@mail.linkov.net> <83k177ebs0.fsf@gnu.org> <87muc27prn.fsf@mail.linkov.net> <83tv6acgq5.fsf@gnu.org> <87eexdoygh.fsf@mail.linkov.net> <83tv68c0nb.fsf@gnu.org> <83h828b0lz.fsf@gnu.org> <83r21aak51.fsf@gnu.org> <87eexabg41.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57113"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38457@debbugs.gnu.org, monnier@iro.umontreal.ca To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 12 06:37:17 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 1ifHA5-000EhO-70 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2019 06:37:17 +0100 Original-Received: from localhost ([::1]:54770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifHA3-00057A-DN for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2019 00:37:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43496) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifH9r-00056t-Rc for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:37:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifH9q-00015B-B0 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:37:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifH9q-00014k-77 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ifH9q-0007fz-2R for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2019 05:37:02 +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.157612900729485 (code B ref 38457); Thu, 12 Dec 2019 05:37:02 +0000 Original-Received: (at 38457) by debbugs.gnu.org; 12 Dec 2019 05:36:47 +0000 Original-Received: from localhost ([127.0.0.1]:58933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifH9a-0007fV-M3 for submit@debbugs.gnu.org; Thu, 12 Dec 2019 00:36:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifH9Z-0007fG-Jw for 38457@debbugs.gnu.org; Thu, 12 Dec 2019 00:36:45 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ifH9U-0000Sj-7c; Thu, 12 Dec 2019 00:36:40 -0500 Original-Received: from [176.228.60.248] (port=1963 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ifH9T-000094-I3; Thu, 12 Dec 2019 00:36:40 -0500 In-reply-to: <87eexabg41.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 12 Dec 2019 01:24:30 +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:173206 Archived-At: > From: Juri Linkov > Cc: monnier@iro.umontreal.ca, 38457@debbugs.gnu.org > Date: Thu, 12 Dec 2019 01:24:30 +0200 > > The problem is in usability: it would be very annoying if the message > displayed at the end of the minibuffer's contents would not vanish > after some time. minibuffer-message removes the message > after 2 sec by default. But 'message' always behaved this way, so using a timeout is change in behavior, whereas my proposal leaves the behavior unchanged, and just makes the prompt still visible, so it avoids confusing the user. User confusion was the main issue that triggered the series of changes we are discussing, and it will be resolved by my proposal. > If someone wants the message to hang out indefinitely in the minibuffer, > this is possible, minibuffer-message-timeout is configurable: That is a user option, so we cannot change it globally. We could bind it temporarily, but how can we know which value to use in each and every use case, on the level where you call minibuffer-message from inside 'message'? > But this means that your proposed implementation still should use timers > to remove the echo-area with the appended message after the amount of time > specified by minibuffer-message-timeout is passed (when its value is a number). No, my suggestion is not to remove the message automatically at all, i.e. leave this aspect of 'message's behavior unchanged. The message text will be removed when either the user types something, or when some Lisp calls 'message' again to clear the message text.