From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Pontus Newsgroups: gmane.emacs.devel Subject: [PATCH] Blinking paren won't hide minibuffer expression. Date: Sun, 12 Apr 2015 04:56:08 +0300 Message-ID: <87h9smyurr.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1428803804 21768 80.91.229.3 (12 Apr 2015 01:56:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 01:56:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 03:56:39 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yh78Z-0001wS-KE for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 03:56:39 +0200 Original-Received: from localhost ([::1]:44245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh78Y-0000rm-Td for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 21:56:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh78O-0000rh-2b for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:56:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh78K-0006UR-TI for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:56:28 -0400 Original-Received: from mail-la0-x243.google.com ([2a00:1450:4010:c03::243]:35122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh78K-0006S3-Kl for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:56:24 -0400 Original-Received: by labmn9 with SMTP id mn9so2091727lab.2 for ; Sat, 11 Apr 2015 18:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=ARwXdslX3jKM7BXMDZIIwFPSGcLSNuJN/NOmxwT4XvE=; b=pnomYwrtmSvh8P7GID4lfOtoZXw89lbeE+PpU2utfIqqw1L7CaSu1uwNvT7LVGaBFj i0VbqcdlG7gnJI8Hut1FlGHn/0ZSDKlxAK5JOi3N46vCYiHd/LFvpo0n5Y6WNxFQD+h6 4U3wv7sES3/MtyBokUjRAei3nIZZI2RlIM4/p841/zw5VjRomJW80ho2aRQUHGDHZSrW qeREa5iwxD2DSbLDpK1qHplGeDMnD9Ps2aIT2l9WSx+LhznojErkusKDlySVMuyw6RJ/ UIwYV2bmyLnSabF5AALEYRU6vlQ4zT4Ndank8hH/4aN9O3LnpNhXjiBvdtLJwBkxPFIZ piQw== X-Received: by 10.152.4.136 with SMTP id k8mr7466496lak.103.1428803783153; Sat, 11 Apr 2015 18:56:23 -0700 (PDT) Original-Received: from gentoo (broadband-77-37-140-14.nationalcablenetworks.ru. [77.37.140.14]) by mx.google.com with ESMTPSA id aj4sm749415lbd.5.2015.04.11.18.56.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Apr 2015 18:56:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185311 Archived-At: --=-=-= Content-Type: text/plain I would like to suggest a simple change that will prevent blinking paren from momentarily hiding the expression that is being typed. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Blinking-paren-won-t-hide-minibuffer-expression.patch Content-Description: Replace `message' with `minibuffer-message' in `blink-matching-open'. >From a97c6afed49843d4772ad3906b6a97efe39a756e Mon Sep 17 00:00:00 2001 From: myeffort Date: Sun, 12 Apr 2015 04:45:20 +0300 Subject: [PATCH] Blinking paren won't hide minibuffer expression. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 5185607..0c738ef 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6987,7 +6987,7 @@ The function should return non-nil if the two tokens do not match.") (buffer-substring blinkpos (1+ blinkpos)))) ;; There is nothing to show except the char itself. (t (buffer-substring blinkpos (1+ blinkpos)))))) - (message "Matches %s" + (minibuffer-message "Matches %s" (substring-no-properties open-paren-line-string))))))))) (defvar blink-paren-function 'blink-matching-open -- 2.0.5 --=-=-=--