From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#28047: 25.2; Add another show-paren face Date: Sun, 13 Aug 2017 01:34:58 +0900 Message-ID: <8760dssq19.fsf@calancha-pc> References: <87shgyb4hw.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502555778 9564 195.159.176.226 (12 Aug 2017 16:36:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 16:36:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28047@debbugs.gnu.org To: Felipe Ochoa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 18:36:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dgZOQ-0001nB-9l for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 18:36:06 +0200 Original-Received: from localhost ([::1]:38942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZOW-0003Li-At for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 12:36:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZOQ-0003LO-44 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:36:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgZOM-0002eH-Vz for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48401) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgZOM-0002dh-Rb for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgZOM-0003Hf-Et for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Aug 2017 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28047-submit@debbugs.gnu.org id=B28047.150255571412609 (code B ref 28047); Sat, 12 Aug 2017 16:36:02 +0000 Original-Received: (at 28047) by debbugs.gnu.org; 12 Aug 2017 16:35:14 +0000 Original-Received: from localhost ([127.0.0.1]:57079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgZNZ-0003HJ-S4 for submit@debbugs.gnu.org; Sat, 12 Aug 2017 12:35:13 -0400 Original-Received: from mail-pg0-f65.google.com ([74.125.83.65]:33776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgZNY-0003HD-8T for 28047@debbugs.gnu.org; Sat, 12 Aug 2017 12:35:12 -0400 Original-Received: by mail-pg0-f65.google.com with SMTP id u185so5458201pgb.0 for <28047@debbugs.gnu.org>; Sat, 12 Aug 2017 09:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=GNhko90dvaZfrWVhr4TEbaup71TGQRbfKkNNpstV1NA=; b=fun7iaaO4+gu06B8DEJIGN3sj+rb5Co4tmuo5lCulln/hDAiB6deFwsozCWhx94G7b 6BPnnGG4iKQXhMl0qocH6ekUXJHOVcu4b75mppLPiY+L5dQhH/D7XNe39HB8kH6oWkIo LgR4MUpifh+yWAYujIOrCwaEAegKU12oqM6iU4s9nTTPMOX/vBqZyA9LFLAM0Suc6ESr jD9mqLVpSIuWC8yabLIBVooja5LepTRT0h/+fIKEddTb/QAWX/60TNm346Gpj5MizMOF TmxAqOrlZfLKQdIm1UP7u+/LM6XwHDMuDXDg2LB9mSQu9A0+caKYjUnP7XQIPIAmNYBU MRiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=GNhko90dvaZfrWVhr4TEbaup71TGQRbfKkNNpstV1NA=; b=MNT5+Cqd7dFE9fAC0jS4vc8U1durCfHKzJzhy6vOfDVCAmHAFmxGsEcLaPX6EDqd6y mRYO+QWi/Z08atKeAz8aCmv8jza8bMGtZYcnOEW1lNz0RJAYdXtQJXNhrunv0iYQKrkg d2NvvHoab8/rAnm5IzfIN9XT0BlHGiKvEpTvSxvAszy9a+x8yMTvoDzCNYVEbLBYwRGe S/rS3aiYUl+hwQKchnFRhDswfVRfN1KPtBMUx8Wrf+cFI7wxRciPEZqu+bbFKe9eMxJM 9Hx+In3MDBQtSeoJ+yhvN3Q96VMi8ptGzpXGSWOKWDfm5gf8NcbvZWJ/3cmm/45WBqoS zypg== X-Gm-Message-State: AHYfb5jS6wG1CI2lOIotvnA4yJneZbRkq+zWcE2KPtImlYBrim84Vrho sgZkX2NN7hf2WQ== X-Received: by 10.98.217.27 with SMTP id s27mr20144101pfg.293.1502555706439; Sat, 12 Aug 2017 09:35:06 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id z8sm7689691pfk.130.2017.08.12.09.35.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Aug 2017 09:35:05 -0700 (PDT) In-Reply-To: <87shgyb4hw.fsf@gmail.com> (Felipe Ochoa's message of "Fri, 11 Aug 2017 15:47:39 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135691 Archived-At: Felipe Ochoa writes: > I use show-paren-style in mixed mode, and would like to be able to use > different faces depending on whether the match is being displayed in > 'expression style or 'parenthesis (I want a stronger contrast in > parenthesis than in expression). The attached patch splits the > show-paren-match face into two, show-paren-match-expression and > show-paren-match, using inheritance to make the split styling opt-in. > > With this change, users can style the two faces separately if they wish. Thank you Felipe for your patch! I've tested it and it looks good. I tried `show-paren-match-expression' customized lighter as you suggested, and it looks nicer. I used following grey colors: * background grey95, with emacs -Q * background grey20, with emacs -Q -r I think your path is long enough (2 files changed, 20 insertions, 11 deletions) to require copyright assignment. I cannot find your name in the Emacs commit history. Are you willing to sign a copyright assignment to the FSF so that we can include your patch within Emacs? Tino