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:29:28 +0200 Message-ID: <83d0cu9knb.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> <83eexcax6b.fsf@gnu.org> <835zinbkct.fsf@gnu.org> <83zhfyakwd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="27225"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38457@debbugs.gnu.org, monnier@iro.umontreal.ca, juri@linkov.net To: HaiJun Zhang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 12 06:30:16 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 1ifH3I-0006yE-0C for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2019 06:30:16 +0100 Original-Received: from localhost ([::1]:54736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifH3G-00049Z-SJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Dec 2019 00:30:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48371) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifH35-00047B-S1 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:30:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifH34-0004lb-OT for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52956) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifH34-0004ka-L9 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ifH34-0007Ta-FN for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2019 00:30: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:30: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.157612858928667 (code B ref 38457); Thu, 12 Dec 2019 05:30:02 +0000 Original-Received: (at 38457) by debbugs.gnu.org; 12 Dec 2019 05:29:49 +0000 Original-Received: from localhost ([127.0.0.1]:58929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifH2n-0007S4-OV for submit@debbugs.gnu.org; Thu, 12 Dec 2019 00:29:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifH2l-0007RZ-OE for 38457@debbugs.gnu.org; Thu, 12 Dec 2019 00:29:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ifH2f-00042y-Dx; Thu, 12 Dec 2019 00:29:37 -0500 Original-Received: from [176.228.60.248] (port=1535 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ifH2e-00047Q-E7; Thu, 12 Dec 2019 00:29:37 -0500 In-reply-to: (message from HaiJun Zhang on Thu, 12 Dec 2019 12:33:09 +0800) 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:173205 Archived-At: > Date: Thu, 12 Dec 2019 12:33:09 +0800 > From: HaiJun Zhang > Cc: monnier@iro.umontreal.ca, 38457@debbugs.gnu.org, juri@linkov.net > > (And I don't understand why we are arguing, since you just said in > another message that you liked my proposal…) > > Yes. I like your proposal that message do these things internally. Because the input prompt should always be > considered, so all these things can be done in ‘message’. Then it seems that we don’t need another api(like > minibuffer-message)? > > Is the UI of your proposal like this? > (1) Display combination of the prompt and the message with no timeout. > (2) If user inputs something, the message is cleared and only prompt is displayed. Yes. > The last question: > What is the use of minibuffer-message-timeout. It is defined in C. When does it take effect? It affects how long minibuffer-message waits before removing the message text, if there are no input events. Any input event removes the message even if the timeout didn't expire.