From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wMn+JvzcxGBIbQAAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 18:12:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SFuFIvzcxGCLbAAAB5/wlQ (envelope-from ) for ; Sat, 12 Jun 2021 16:12:44 +0000 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 318B926FD8 for ; Sat, 12 Jun 2021 18:12:44 +0200 (CEST) Received: from localhost ([::1]:57302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls6FW-00076J-8P for larch@yhetil.org; Sat, 12 Jun 2021 12:12:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls5Ls-000129-Cs for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 11:15:12 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:37440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ls5Lo-00053v-By for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 11:15:11 -0400 Received: by mail-ed1-x52f.google.com with SMTP id b11so40647717edy.4 for ; Sat, 12 Jun 2021 08:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=FuX6MhqCbQnmcpw+JVMEm4q5jv4C5W6RfyJyqZB66aI=; b=TEKT0daiZd/bQRtUAf/oD5bm/flBlmLpdP/kKfeciIMFIeQooAQFSiVr++PDanfGA5 8KLNC1TOqSch5+eendAqrPsFiTtgt+3VBMqfVz9RAnjm5lXR/a4RAuFQxhh9wmW0xYiI A9l/7e+NjXOv//RZvVibHjc+1lbHa5c5oGnCgLdpxgPVCWIYCjIGDoKwtGocYtfT9eS4 9PTaGCu4RN4oPn9lof1BV7viT2OC87P9dbfZdZsAMxuaqb6mIlnulavcmEDxbCt9vN7l elYOQ7M6+6eD9dABYnYh7YMVgv1QTW2/lQPnwFu8BI1DdbN9PgZqI8fzL/wZXn+6oO6D p3bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=FuX6MhqCbQnmcpw+JVMEm4q5jv4C5W6RfyJyqZB66aI=; b=MBjMdbl7Hb4MCFr6uFuY/JwE8wUIW2chV3alcvasOMPlIiAlzpfu8fVBKrSugmONRo QU8MANhf0Y6Y9PBRNz6QRIsNlGzV1s1qZCDgvgV8cQ7bySzVrJ9RhjfYtZIUvyK/kaR+ m6ju+7EwYnhC+XruwgERKNDfMn9TUfzqfnyvjF1RmXrAdSQN76HHo3SoTvYBHlMbsqPC o2QgIa1ob4WgACusb1nqy3NwY9oFiwLJPNuZ02YjFLkSt5gWijIIQijGlomg1IozTBB3 0KFpNus1WXLYiDCt2d3A5HmWilU2CE76L9LUlATVmEENIAEeewPovZRjfvDMjMsktLoX /i1w== X-Gm-Message-State: AOAM530N8ktNdilcRgRKaORjco0ye4NE1YvXVvxMTCPyZkyWiQAzSo0y MfyPlb+B3J6y3WEK7U1kllLy1TXVr7Q= X-Google-Smtp-Source: ABdhPJxtNbmvsLq+4NWTooK7y8BMg+fLkCBYacoOLgGW/kgTd9alofrCRsolpxt5KTcyK5POxRyJxw== X-Received: by 2002:aa7:c354:: with SMTP id j20mr8931875edr.294.1623510905667; Sat, 12 Jun 2021 08:15:05 -0700 (PDT) Received: from ars3 ([2a02:908:2211:8540::66]) by smtp.gmail.com with ESMTPSA id f21sm4043588edr.45.2021.06.12.08.15.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 08:15:05 -0700 (PDT) From: Augusto Stoffel To: emacs-orgmode@gnu.org Subject: Default entry in org-src-block-faces Date: Sat, 12 Jun 2021 17:15:03 +0200 Message-ID: <878s3fi07c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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-Mailman-Approved-At: Sat, 12 Jun 2021 12:11:45 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623514364; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FuX6MhqCbQnmcpw+JVMEm4q5jv4C5W6RfyJyqZB66aI=; b=Wci+BwoBy+YdYQ7J9/GjOCj5WPWXr00RtXz3bo9gyQPbLCqkFFI72B+bO1KBUoJ8awRckh CkGFEYw0gbpbQGr9pdreo5grYnY204M0vP8/BQ8J5DBo9F4L2dDKtyFEGlO/PGGKG0fgv9 orUM4PdBRMtfwE3rVO/8aIoGQ1TkZMeISU67txchdnbxAlLI2c6FxW0riaNF38z5XeKX6o P5zcIklfLNGKVWecv2MU0uL+DOS0qsEhJMFpOFhznyjQ6JTPyQX3cKAc8s3xIdqH7Fky7K g9Qy53+euYXV3ok4v/hPDtHkPqmg264PXREw2YH7Ja1ARj3i+j6dqv9WW2My5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623514364; a=rsa-sha256; cv=none; b=U259jxfFBdOqn7fC3OEtyC/W2+YzCUCUxVD8usNRUb9DuD7RhkhU1IJch55BNjxpzQ+XgD oUo84GEtuJgjYEDTBGWJWysrBM4lRAvfaGUSSI3nZTj1HLff42Fu0mFQp51PAsus7EQpfJ tC87zJfJ7uXrX7uNC6qWYdVkpVBXzlb52Q6CYGlMpQz8+MrMPIHzuWye6E7xdbtUyrhNGJ Ihwktt7+IHHYiinDeiVEYxCrdK8krzNS6b8St1Yos61a0zsYwQc75nq79i9BnSqwnv3oBG LI0LMQB2CsvBhmR3Fdl2s6NWF7YcTZzAIQ4ZX5EC4KrdOZSjDr2cMR9mfhVELQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=TEKT0dai; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=TEKT0dai; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 318B926FD8 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7NltrCE0FkWT Would it make sense to allow a default entry (t FACE) in `org-src-block-faces', to be applied to all src blocks without a more specific entry in that alist? There seems to be no other way to specify a face to be applied to all src blocks, and only src blocks. I also wanted to point out two minor issues in org-src.el: - It refers to the `org-block' face without requiring `org-faces'. This is probably never a problem in org itself, but if an external package loads `org-src' in order to fontify some code blocks, that face might be missing. - The docstring of `org-src-block-faces' contains the word "respectability".