From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: Re: Show Paren mode: New prelude style Date: Thu, 27 Oct 2016 19:15:35 +0200 Message-ID: <86d1il3e88.fsf@realize.ch> References: <86lgxa2cz4.fsf@realize.ch> <83funhu82n.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477590861 31103 195.159.176.226 (27 Oct 2016 17:54:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 17:54:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 19:54:17 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzosO-00067a-H7 for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 19:54:04 +0200 Original-Received: from localhost ([::1]:43462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzosR-00046r-1k for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 13:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzoHy-0008M0-9X for emacs-devel@gnu.org; Thu, 27 Oct 2016 13:16:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzoHx-00051r-JT for emacs-devel@gnu.org; Thu, 27 Oct 2016 13:16:26 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:4432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzoHr-0004xD-Ad; Thu, 27 Oct 2016 13:16:19 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit (Unknown [192.168.0.105]) by clientmail.realize.ch with ESMTP ; Thu, 27 Oct 2016 19:16:12 +0200 Original-Received: from myngb (192.168.66.64) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Thu, 27 Oct 2016 19:15:34 +0200 In-Reply-To: <83funhu82n.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Oct 2016 18:26:24 +0300") X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208881 Archived-At: Eli Zaretskii writes: >> From: Alain Schneble >> Date: Thu, 27 Oct 2016 14:27:59 +0200 >> >> Below you will find a patch to extend show-paren-mode with a new >> `prelude' style. It's an extension of `parenthesis' style. If the >> matching opening paren is not visible, it will show the line of text >> containing it as an overlay on the window's start line. > > Any reasons for lack of symmetry with the closing paren? It's just because I thought the opposite is much less useful, as there is probably less entropy in the lines containing the closing parens. I might be wrong though. Symmetry for sure is a valid point and I will extend it if you think it's worth it. Alain