all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Matching Parentheses
Date: Sat, 03 Oct 2020 14:29:55 +0300	[thread overview]
Message-ID: <83r1qffsy4.fsf@gnu.org> (raw)
In-Reply-To: <trinity-9f052751-e579-48de-961f-7f77fc11810b-1601721573602@3c-app-mailcom-bs12> (message from Christopher Dimech on Sat, 3 Oct 2020 12:39:33 +0200)

> From: Christopher Dimech <dimech@gmx.com>
> 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.



  parent reply	other threads:[~2020-10-03 11:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03 10:39 Matching Parentheses Christopher Dimech
2020-10-03 10:53 ` Christopher Dimech
2020-10-03 11:25   ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-10-03 11:29 ` Eli Zaretskii [this message]
2020-10-03 13:11   ` Christopher Dimech
2020-10-03 18:39 ` Drew Adams
     [not found] <mailman.4991.1187599974.32220.help-gnu-emacs@gnu.org>
2007-08-20 14:01 ` matching parentheses Maarten Bergvelt
2007-08-20 16:50 ` Ralf Angeli
2007-08-20 16:56   ` Joel J. Adamson
2007-08-20 18:04     ` Maarten Bergvelt
2007-08-21  8:15       ` Tim X
  -- strict thread matches above, loose matches on Subject: below --
2007-08-20  7:46 Alain Muls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83r1qffsy4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.