From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qLX2KDSKeWX1lAAAkFu2QA (envelope-from ) for ; Wed, 13 Dec 2023 11:40:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MLPiJTSKeWXVcgAAqHPOHw (envelope-from ) for ; Wed, 13 Dec 2023 11:40:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mUk4ppDW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702464052; 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=/UxcKvhe+uwWrYjlniYAXrgoCNjUJsjkP6RSB1uVeEI=; b=rKaCnIDAbvY6/F93MbOV/LLayGFqNQxxdtDhG1/HLwmJ+CgE4A0ZK0tVgM7rs9atfpbB4M OERU94vBaqvv14hA7YgDpDTsm07tT/kHlUJibTGNTQWGAUfXan570XV7o3pkL04ye87Rnc z/U73tHF4YOndNsgVlBLL4P5tFeP4pCu5Z5zD2x901hhyVFVgw6NUnEJ51P4dVViG8kHOm g1gnDZpGkR0gHTWcIlvMTvm+NWFKaCrmlC2r9kHHhWnvTMAslfBaSeLSFwQJBnoCjX01FF 7PDWgy9jPM9GgaxEMjXPnUD2DXes4SGWzNidgn+QSdbFAkkAwiSfAt4rHSZtJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702464052; a=rsa-sha256; cv=none; b=oGlRRT4Ivy8hku7SK7WRUepSmU3Lmvq5w93yMk94tbGeXQW7eOvf9XH2bEvfpYn45GiQB5 kP+8OM3nxJ1ktFQmMS0twFHJ0S/FEpP/KH9GXBFpzSiQNUdvlzmFiRxB2NQH9VCnsf6+uL b+1aO6/X8nwUsEzOUGUFQvPVNfrTdgCwI1H6HRGAWo7pPo2gnwXGrxy7wo/H6yPzdNbaLn FnjwSHS3qx8CDXEZP6f+zjI93oLiW8pT9C1mbdtzNMlhjM4KLS/Mos/JZtHRnKAMgfYUMo gzyQlGyhX8gv0Ynt9B8lsqAQR0ZVasVpqJfxpZRBvmkqcr8Agx/mmabA/9Siqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mUk4ppDW; 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"; dmarc=pass (policy=none) header.from=posteo.net 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 730BD1186D for ; Wed, 13 Dec 2023 11:40:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDMea-0002Au-Hy; Wed, 13 Dec 2023 05:39:49 -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 1rDMeX-0002AI-VM for emacs-orgmode@gnu.org; Wed, 13 Dec 2023 05:39:46 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDMeT-0008HR-PV for emacs-orgmode@gnu.org; Wed, 13 Dec 2023 05:39:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3A5BC240027 for ; Wed, 13 Dec 2023 11:39:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702463979; bh=Xq8StKcx8+tz1X5WvV6luwwBrM+DzmMyTOU/V+ZQ6XE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=mUk4ppDWlnUVd0JQfcXFYwXqmSemZjVmh70pbwUIuiFL696ltqeViYrEZj1uifvLQ 85frCYy2qe1qchYCTrKQplbOJlYR96/Mb3ysDzNlW6DvmN2QX1auaAMZ9NJHbnK1FL IhOdPK7bdNKvj10T7zdbfJWtYkCP8Yb4VHHxQOiPAGQXxbTkWrd2RB5cnkOIbQs1Cd aBkd6BPPqWuFzYuP28l35fUG98wpk2mBCmkn3L4rnY0tHSE56/z0XEAj0iaKRppf8K lll+FZPIO+SFfoQOOrV/893nOBXJaHLkwOBKOyLaeq6a5rFhmndlTnxtHyrbADoqXx 5QlM7Ges1jUQw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SqsRt5yTLz6tsb; Wed, 13 Dec 2023 11:39:38 +0100 (CET) From: Ihor Radchenko To: Maske Cc: Org-mode Subject: Re: Faces for org blocks that are not "src" In-Reply-To: <868b706d-4f57-33fa-0626-3b8c95e3154a@gmail.com> References: <868b706d-4f57-33fa-0626-3b8c95e3154a@gmail.com> Date: Wed, 13 Dec 2023 10:42:45 +0000 Message-ID: <877clixu1m.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.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -8.93 X-Spam-Score: -8.93 X-Migadu-Queue-Id: 730BD1186D X-Migadu-Scanner: mx12.migadu.com X-TUID: jngcJXphmvSz Maske writes: > Is it possible to change the face of org blocks that don't start by "src"? > > > For example: > =C2=A0'(org-src-block-faces '(("ai" variable-pitch))) > > > I think it should affect to: > > #+begin_ai blocks, but it doesn't seem to work for me. `org-src-block-faces' only affects src blocks, not special blocks. Org mode currently does not support custom faces for special blocks. All you can do is setting the fontification manually, via `font-lock-keywords', as you could in an arbitrary Emacs buffer. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at