From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QG/3IZHEm2B1XwEAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 14:05:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eA2FHZHEm2BwBQAAB5/wlQ (envelope-from ) for ; Wed, 12 May 2021 12:05:37 +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 BD6A81194D for ; Wed, 12 May 2021 14:05:36 +0200 (CEST) Received: from localhost ([::1]:42236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgncM-0006YN-MV for larch@yhetil.org; Wed, 12 May 2021 08:05:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgnae-0006V9-2z for emacs-orgmode@gnu.org; Wed, 12 May 2021 08:03:48 -0400 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:43735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgnac-0006Gw-Ck for emacs-orgmode@gnu.org; Wed, 12 May 2021 08:03:47 -0400 Received: by mail-ot1-x333.google.com with SMTP id u19-20020a0568302493b02902d61b0d29adso19539952ots.10 for ; Wed, 12 May 2021 05:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=VyrGNTxMRKfQUZkafRGdaNnL39BZNBuu58t+sv/ucZ4=; b=MdGIComoMoi1DatLi/ZLrEDtRGqNVMXh8JjlhfBH1ZZ5SxDOCMKKBlwUp+LQ4dR7GC O0tvQgvhAOCmbhai1qxUM3CzCULd+u22AyUKW2zLZU+0HZi8qjH/NvHhG8QHGn2WQpPa waAC+o5aCBte/SXQ8n1lXpUkS7iickT8F1f6XrAzbt3TO7ZbNoHmMES2c9z9VA6bnTfN DHw+eLbyrSMHb9mDMb29FVle8EqEtE5tG/Hk8P6mWpCanprcxEjzK1czumVzu7FLzHQb Sq4WGF7MRaO+kOnhVte0U9x0pNQZ9/WEMMTvVzzlvVRRYCltZeIdxu9nE3pQQe97e5zN /aaQ== 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:in-reply-to:references:cc:date :message-id:mime-version; bh=VyrGNTxMRKfQUZkafRGdaNnL39BZNBuu58t+sv/ucZ4=; b=Akx11rVLJDuOJCwcu9DUIn7sq+IFtCzulVkN8ZHG1MdmRi3etBxOOseIKrnvMbQsnH d4U9r4XrizeA7oQGBkiCxXiDrDBxL5gicZ9BHAUbCbprJYGZBoKPjuDY4x0qHRym4uda gPwSm8S2cLiTuNpnvNztXloRCA4QUp2oWKZ11tH9m3yDmnoQ/CfaqGstpAMzNTTKi6vH 9FhGO6R+7zaMwIYfc+NMk42j98TP1kxGmpXgNt/oRBJtSVp5EiIfix8hdT34Evt07pUw DLQQ9LbTLvw8E75wYavDKfVnFpWNMrD6X6rQQ0NGTrB4fuGk3W4sXON7GAoFu/OoBVRw SxtQ== X-Gm-Message-State: AOAM532N8UZkI4aoVIYGkdrAh72ghyr4pjFvAwKCrefFumclpQVbMh/v teYX/IcJzc47EOl+dnonTkM= X-Google-Smtp-Source: ABdhPJwW02XFFn4SRfrulF0XCti5jiwxbH/MWp6EnXpSlKH7awB578tkJ1rzMB1FEBbkZdOZh0UHgA== X-Received: by 2002:a05:6830:40a4:: with SMTP id x36mr27137727ott.342.1620821023336; Wed, 12 May 2021 05:03:43 -0700 (PDT) Received: from localhost ([192.200.115.226]) by smtp.gmail.com with ESMTPSA id e39sm4440204ote.62.2021.05.12.05.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 05:03:42 -0700 (PDT) From: Ihor Radchenko To: Christopher Dimech Subject: Re: Highlighting and Background Colour for Source Code In-Reply-To: References: <87zgx1c1a4.fsf@gmail.com> Date: Wed, 12 May 2021 20:08:35 +0800 Message-ID: <87v97oduik.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::333; envelope-from=yantar92@gmail.com; helo=mail-ot1-x333.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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-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: , Cc: Tim Cross , emacs-orgmode@gnu.org 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=1620821136; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VyrGNTxMRKfQUZkafRGdaNnL39BZNBuu58t+sv/ucZ4=; b=hHYmVfpfRE8peafQ9+OmLQp+g0Q3hEpCmM8p++hTIS/LtrAKd4Kb379pl+jZ0q1p38o00E A5YydA7XzVgs0he+zTUsPGOtZT3AXVv5bcPCOpY6SqyXIJiQ63sFHBwV61rZqKSBp74k1q jSK+G2lRLgmHhBuKLwLVhRU3LfZVKzV1xVZw1yEXu1MbyLehbPn4t35fsPlka7BuImUw/x WXDrQboz9f+DZBXuVU/FnTF6FOBSOse6+WyhA6EUoyJMue+UX09yo0/uyM/KPH2W9nfxz7 4UodC6pIx5xQlkeUf2JWXKNVi8Xbl2EGv1b/VWEoO4+GsTyGyHS0P3weHjJxaA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620821136; a=rsa-sha256; cv=none; b=IXLLxPKPRYSTwSKE5EO1mIWMOb4Yqt7TV51Vm8MXJD09FkFDJCnyUOY7axufXdw1J+3/Tr +JbeJr+cdGQ2Dt1lOdxWRJ/gIFr/OV8qp+9i9JUpdrKdk9EcnNabiNl8pm6VguLAB26wF2 MSjAuyjbR/C/+PKbN+kmSRnvH+c2PO1k7sdo+GhujFp5O1ULPAfOYTO/xjaqlUbRkSwDq2 uZMhF8ke5uinZ0SdxZ4sPuoanlWh8FZ6f8W9gitB6TFJARjUTXMQyKesBtjXxr7JrJO1I7 IQFvrlS6RBt2PwBklQN/orZFqBeOkow51R4IYFTymQNCoN1oe5ZS7BXv5XWsVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=MdGIComo; 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: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=MdGIComo; 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: BD6A81194D X-Spam-Score: -2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: FNOsEqYwgO47 Christopher Dimech writes: > Suppose I have an elisp file and I change to org-mode by hitting "M-x org-mode". > The code does not get highlighted because it is not embedded within org-babel > construct. > > If I have a programming language file with some org-mode heading commands in it, > and change to org-mode, it would be neat to have language highlighting available. Hmm. What about polymode [1]? [1] https://github.com/polymode/polymode