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 14:51:18 +0200 Message-ID: <86h97y2bw9.fsf@realize.ch> References: <86lgxa2cz4.fsf@realize.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477572729 25850 195.159.176.226 (27 Oct 2016 12:52:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 12:52:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (windows-nt) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 14:52:03 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 1bzk9x-0004bw-If for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 14:51:53 +0200 Original-Received: from localhost ([::1]:41246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzkA0-0007h4-1B for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 08:51:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzk9h-0007aS-IU for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:51:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzk9d-0003MG-Ip for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:51:37 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:4160) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzk9d-0003Ih-5g for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:51:33 -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 14:51:25 +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 14:51:18 +0200 In-Reply-To: <86lgxa2cz4.fsf@realize.ch> (Alain Schneble's message of "Thu, 27 Oct 2016 14:27:59 +0200") 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:208870 Archived-At: Alain Schneble writes: > 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. I think it's > pretty useful, as it helps in keeping context when working e.g. in > defuns with many lines of code -- all without having to scroll up and > down. It just came to my mind that I might better had introduced a new separate customizable option to enable or disable prelude instead of mixing it with the already existing style. After all, it could be useful in *addition* to the existing ones. What do you think? Alain