From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cFrYKkrW72MxIQAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 20:32:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sMfLKkrW72MKQQAA9RJhRA (envelope-from ) for ; Fri, 17 Feb 2023 20:32:26 +0100 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 431F22FA1F for ; Fri, 17 Feb 2023 20:32:26 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kragelund.me header.s=x header.b=o3B9leix; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676662346; a=rsa-sha256; cv=none; b=tfpwYE14pF8ivZZnIqIiZuXQ8mBUmUPZ4WCp/hThYt5urH5fsDgH1GWNGdCGVTMgPz08Mh Dx45TxUnwYTvGPnnT5Y0A9w/AWcHzs2hdT8uw1IUVT1JAY5deOWkqHCfq+ko4xYSI7PdH5 sXes8F27PgCH2UypbYaEyrmwgjfY+LWEDq128nfhthsSBruVmb2mvo+EewPtORoNZGDbLl n/bLjzR1r5bCMCeE/SfzT7nJKCeO7QEJ6udLHJHUPx9veb8mL1+9JHccQ0gHgFeE2pksVN uE01P+AG3kznUnOn4QKcPcOl8besHMfw0p82YNEQRc89QVrw6q3T/o4ieEH3lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kragelund.me header.s=x header.b=o3B9leix; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676662346; 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=DlzlB4PGog36HWjBaWCoKdwmTLg1qDuT9AEEn0eDYVk=; b=S8UcihEnuEVAtE3Hh1Ncr2wkoBqe7q5yLvxiiN3c7eoy+L8xInydEdaPdnYKEJ3tiXpRcd u3j0d9lvIUpwORXFp8JqA+9nidFW+vdNu5stTYFcDxhtsruF524iDzx2T63XTKw7eCmX9p SGdL7zNPrfC7YKIac1Gz3px3r6lSW48AsCSLS3BxlTT9o6J3qlYyeT9Cd2U6M85d16YmUo sFa2uMUuLBwlhdUaafydADk+Wcc/GZvDXAkjcXK7uf/5IMNIVaz129lrHdjJsNjPc5rCbI rGPRvcoNciL27rAe3P1KEfJ2SjS6zeM4PZWhWOjyVo6erKXgIjCe5Odbm6QTbA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT6SN-0004Ul-Sk; Fri, 17 Feb 2023 14:31:43 -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 1pT6SL-0004S4-Kq for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 14:31:41 -0500 Received: from mail-108-mta77.mxroute.com ([136.175.108.77]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT6SK-0002vk-4Z for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 14:31:41 -0500 Received: from mail-111-mta2.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta77.mxroute.com (ZoneMTA) with ESMTPSA id 18660dc42f9000edb4.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Fri, 17 Feb 2023 19:31:33 +0000 X-Zone-Loop: fda56701c27361d60ed559abfe89675af830151ef9e3 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kragelund.me; s=x; h=Content-Transfer-Encoding:Content-Type:Message-ID: References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DlzlB4PGog36HWjBaWCoKdwmTLg1qDuT9AEEn0eDYVk=; b=o3B9leixKHl03mqXDBzT39u/rN t7mLlqYR6KN75zx6PKdC8zO0TbReGT3gsINyujBBkkf2O0TP4m/NqH5L2pRvdWFnum9iDY+FG35i/ lLpSronUxHa4aph5HpNC0jVXXg8VaC1L+WXgwheDlQB3K0ZO/dQYUMNdvQsTMmVbsU8N6OX6ZSes/ E2in+Rn+bDUWJaqPDuD8JO4ZJxwK9lkVymXvP5JEfTfzfykfJLvMAwcX53GD1u1eiTkJVFHayJJVn 2+Ox3Ycd15LKr46pN1AMbAMbb7uvez7kMOCr0/AkCaKiD7X1foKyPXQrkwNC7EWorJFTVYKabbub5 /TCkYWEw==; MIME-Version: 1.0 Date: Fri, 17 Feb 2023 20:31:31 +0100 From: carsten@kragelund.me To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] [FR] Fontifying src-blocks with no language specified In-Reply-To: <87pma8bi0t.fsf@localhost> References: <99388ff3711696091f0312a5c3f0bcbd@kragelund.me> <87pma8bi0t.fsf@localhost> Message-ID: <2882a71eb58514858769117689e0875b@kragelund.me> X-Sender: carsten@kragelund.me Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Id: carsten@kragelund.me Received-SPF: pass client-ip=136.175.108.77; envelope-from=carsten@kragelund.me; helo=mail-108-mta77.mxroute.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: X-Migadu-Queue-Id: 431F22FA1F X-Spam-Score: -2.43 X-Migadu-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com 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-TUID: dhiqh/FQHXXa Ihor Radchenko skrev den 2023-02-17 13:20: > carsten@kragelund.me writes: > >> Fontifying src-blocks with a missing language would allow being able >> to >> theme src-blocks without having the unthemed text of languages >> fallback >> to whatever color the src-blocks are set to. >> I envision this could be done with an empty string in >> org-src-block-faces. > > I do not see much problem adding this. > See the attached patch. Hey, this patch works great, minor issue, I believe the line (add-to-list 'org-src-block-faces '(("" highlight)) in ORG-NEWS has an extra opening parenthesis and should be (add-to-list 'org-src-block-faces '("" highlight))