From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Annoying paren match messages in minibuffer Date: Mon, 12 Jan 2009 10:20:38 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231773671 31357 80.91.229.12 (12 Jan 2009 15:21:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2009 15:21:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Geoff Gole" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 12 16:22:21 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LMOcB-0001eV-Sp for ged-emacs-devel@m.gmane.org; Mon, 12 Jan 2009 16:22:08 +0100 Original-Received: from localhost ([127.0.0.1]:42798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMOav-00023M-Ba for ged-emacs-devel@m.gmane.org; Mon, 12 Jan 2009 10:20:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMOaq-00022N-9m for emacs-devel@gnu.org; Mon, 12 Jan 2009 10:20:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMOan-0001z4-KE for emacs-devel@gnu.org; Mon, 12 Jan 2009 10:20:42 -0500 Original-Received: from [199.232.76.173] (port=39843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMOan-0001yj-AC for emacs-devel@gnu.org; Mon, 12 Jan 2009 10:20:41 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:19764 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMOam-0004Ar-Vz for emacs-devel@gnu.org; Mon, 12 Jan 2009 10:20:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAKruaklMCpxj/2dsb2JhbACBbNB/hW+BbA X-IronPort-AV: E=Sophos;i="4.37,253,1231131600"; d="scan'208";a="32177233" Original-Received: from 76-10-156-99.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.99]) by ironport2-out.teksavvy.com with ESMTP; 12 Jan 2009 10:20:40 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 078598440; Mon, 12 Jan 2009 10:20:39 -0500 (EST) In-Reply-To: (Geoff Gole's message of "Mon, 12 Jan 2009 21:18:35 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107804 Archived-At: > By default, emacs will display a minibuffer message on seeing the user > type an unmatched paren. This is usually a welcome feature, but can > become annoying when point is in the minibuffer where well-formed > input is not necessarily balanced. Maybe the problem can be fixed by changing the way the message is displayed. E.g. it could be displayed as " [unmatched paren]" at the end of the minibuffer input, as is done for minibuffer completion messages. > I attempted to implement this by binding blink-matching-paren and > show-paren-mode. Unfortunately that continues to inhibit paren > matching if the user moves out of the minibuffer, so is not > satisfactory. For those, you'd need to set the variable buffer-locally rather than let-bind it. Stefan