From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50176: [PATCH] 28.0.50; repeat-mode does not clear echo-area after timeout Date: Wed, 25 Aug 2021 20:11:10 +0300 Organization: LINKOV.NET Message-ID: <87h7fdtpox.fsf@mail.linkov.net> References: <87o89nxrxf.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24590"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50176@debbugs.gnu.org To: Gabriel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 25 19:19:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIwYX-0006Gz-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Aug 2021 19:19:17 +0200 Original-Received: from localhost ([::1]:33222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIwYW-0007XV-MG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Aug 2021 13:19:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIwSU-0005Bl-4N for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 13:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIwST-0000Vn-S4 for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 13:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIwST-0001RF-Lo for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Aug 2021 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 50176-submit@debbugs.gnu.org id=B50176.16299115255460 (code B ref 50176); Wed, 25 Aug 2021 17:13:01 +0000 Original-Received: (at 50176) by debbugs.gnu.org; 25 Aug 2021 17:12:05 +0000 Original-Received: from localhost ([127.0.0.1]:47544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIwRY-0001Pz-Vv for submit@debbugs.gnu.org; Wed, 25 Aug 2021 13:12:05 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:45807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIwRV-0001PB-A8 for 50176@debbugs.gnu.org; Wed, 25 Aug 2021 13:12:02 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 9F1EE20004; Wed, 25 Aug 2021 17:11:54 +0000 (UTC) In-Reply-To: (Gabriel's message of "Tue, 24 Aug 2021 11:31:30 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212664 Archived-At: > A simple patch: > > @@ -474,8 +474,9 @@ repeat-echo-message > (if (current-message) > (message "%s [%s]" (current-message) mess) > (message mess))) > - (when (string-match-p "Repeat with " (or (current-message) "")) > - (message nil)))) > + (and (current-message) > + (string-match-p "Repeat with " (current-message)) > + (message nil)))) Thanks, pushed with small changes.