From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Matching Parentheses Date: Sat, 03 Oct 2020 14:29:55 +0300 Message-ID: <83r1qffsy4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9317"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 03 13:30:48 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOfkV-0002N2-Se for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Oct 2020 13:30:47 +0200 Original-Received: from localhost ([::1]:53280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOfkU-0001rd-V9 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Oct 2020 07:30:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOfjj-0001r5-Ky for help-gnu-emacs@gnu.org; Sat, 03 Oct 2020 07:29:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52913) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOfjj-0003yA-By for help-gnu-emacs@gnu.org; Sat, 03 Oct 2020 07:29:59 -0400 Original-Received: from [176.228.60.248] (port=4551 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kOfjh-0006Nx-TF for help-gnu-emacs@gnu.org; Sat, 03 Oct 2020 07:29:58 -0400 In-Reply-To: (message from Christopher Dimech on Sat, 3 Oct 2020 12:39:33 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124253 Archived-At: > From: Christopher Dimech > Date: Sat, 3 Oct 2020 12:39:33 +0200 > > (set-face-background 'show-paren-match (face-background 'default)) > (set-face-foreground 'show-paren-match "#def") > (set-face-attribute 'show-paren-match nil :weight 'extra-bold) This is wrong: show-paren-mode shows the parentheses with a different background color, and you here set the background to the default one, thus effectively disabling the feature. Find a background color that makes the parentheses look prominently, and change only the background of the show-paren-match face. Leave all the other attributes of the show-paren-match face unspecified.