From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gKtxOhLXyGWeNgAAe85BDQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 15:17:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gKtxOhLXyGWeNgAAe85BDQ (envelope-from ) for ; Sun, 11 Feb 2024 15:17:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GDsiWFiv; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707661074; a=rsa-sha256; cv=none; b=GI10chQCdCHzuLRmw0ztsALa5ppAUwsFs7IYA7+D9PHjXVY8U5MWYGelAKd72vP3oC7lMu YI/P0IZhqK/Y0or80DmQrqimPu8OVx2HJ5jaNYu0Bko6AeZZRfn9nf9afbUuuhjyy5grjq OhCE65ikZ+S7fOHto2gJC6ZRyqP2cIKQ1KzNBaRhyt6R47YhJt33sLdW2PU0cWNTocTBmg vZ6DFPWxOkIwVRgn0t3kB2xFmh0BEppqbltpV1ZRqQ7ciSM5PN7GEMpWC9JrPE+sbtiJB4 XnLiWiMXi+Xx0Qj6KG5RMfTwmMHYqSkqBirUGbbJbS25flPrvbLhn2hQGHgZcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GDsiWFiv; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707661074; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Spv3H0cJEdNFixb7h5WCkWLi5jQMFfvp+DFGRGMq1Qk=; b=JLIfRR1FipZIpqCefldB0iRpkWmKfvp0A5xni/T/MU/2tD6gswc7xf7qfrm9bpjsGQqjyz rqzwFZM7Md/3FC/LMRm77jYvW9xqirFNi4PXAf+Knt7bWtJ5rJamQLB88B7Uqofr+E24KO IUSXxBxofIg5xtqJF9Q35i4EHksOPWy2X4ujJ7CKJQd672W8lfsCjxW50ei7q++6jaThXB vzDFEw2WEStKB5QEYH17zDOZ5UEbzUYLMVvhPl6r+Rs0Gi0/qHADF13fAh3vaMLn6RWgH3 NAa10gnqSGmDB9KxuT/msJJITy4/RO3bCfFBB4ymoRBkZdjiM4X9vkWLu1cHJQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C827027E76 for ; Sun, 11 Feb 2024 15:17:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZAdY-0008Q8-A0; Sun, 11 Feb 2024 09:16:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZAdV-0008Pt-Tk for emacs-orgmode@gnu.org; Sun, 11 Feb 2024 09:16:49 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZAdT-0000u1-V2 for emacs-orgmode@gnu.org; Sun, 11 Feb 2024 09:16:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 62018240104 for ; Sun, 11 Feb 2024 15:16:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707661004; bh=8MeKIGMF6mC+/Uz5l9CUKdGOJ9Tew7uFmp7egbatG04=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=GDsiWFivPkn5/Tx945MHLs05PmIzkWZWkVlfzJ3bnaQ1X9q5lbI8sXyC203EqdLoX 5ZtuizwGKHupOfGDc1xFoP/gbIGrqgYKsiV4p6ZYJ26y0Q4oZOFyS70tf7fU7uFCtU TakllDVkrny+dg5YilZeyWFnYVWehWZEvX7zdC3LifqNCBxCPw3bRVT6OFRnUd+l8x jAqPSdc4738Q8BAIXDuGRk2i+6bQl0r3BTRdzwAdTq5XCsM9ohHsxKtUR5+Uz32+Tt NFtowkVzmqQoXTxc2KCX93iVOuxoI9mHE3C7ya/JW8VrmPRUGYm5LEt3h9VKNibtWV iSh00E9HkutFg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TXqQg2ZzDz9rxF; Sun, 11 Feb 2024 15:16:43 +0100 (CET) From: Ihor Radchenko To: Ypo Cc: Org-mode Subject: Re: Help: How to change faces of words between parenthesis In-Reply-To: <42e05c0e-a57e-4052-358f-bcb82660fd7e@gmail.com> References: <42e05c0e-a57e-4052-358f-bcb82660fd7e@gmail.com> Date: Sun, 11 Feb 2024 14:20:18 +0000 Message-ID: <87o7cn9j6l.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.96 X-Migadu-Queue-Id: C827027E76 X-Migadu-Spam-Score: -7.96 X-TUID: KZ7oxurHftoX Ypo writes: > Could it be possible to change the color of words between parentheses? > > For example, in: > > "mejorar su bienestar psicol=C3=B3gico (Cronin et al., 2012; Molero, Fust= er,=20 > Jetten y Moriano, 2011; Outten, Schmitt, Garc=C3=ADa y Branscombe, 2009;= =20 > P=C3=A9rez-Gar=C3=ADn et al., 2016)." > > I would like that this part changes into a lighter color, so it doesn't=20 > distract me when reading: (defun yant/apply-custom-faces () (add-to-list 'org-font-lock-extra-keywords '("([^)]+)" . (0 'font-lock-co= mment-face prepend)) 'append)) (add-hook 'org-font-lock-set-keywords-hook #'yant/apply-custom-faces) --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at