emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: duskhorn <duskhorn@proton.me>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [BUG] org-block face not working for "non-default" languages
Date: Thu, 22 Dec 2022 17:50:36 +0000	[thread overview]
Message-ID: <zCjC9UjXEgJk8kuyi8t2K2XzO3fL7pYWynHhoYWAes9eCA1FkomCY9bss4uKZfBg60M4xUisyDqFWKVMOn1r_XzUVE7gr3ci82MEOLjGIMk=@proton.me> (raw)

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

I have set up my org-mode so that I use variable pitch fonts for most of the items and fixed pitch fonts for verbatim and src blocks.

This works as expected for languages babel knows by default, for example emacs-lisp, python and c++.

However, I get variable pitch fonts for when I use an unrecognized language, such as nim (in my case) or R. 

This seems to be an issue related to faces and not blocks as a whole, since I can still run both "internal" and "external" languages: the ob-nim package works upon running the block via C-c C-c

[-- Attachment #2: 2022-12-20_11-51.png --]
[-- Type: image/png, Size: 12687 bytes --]

[-- Attachment #3: 2022-12-20_11-52.png --]
[-- Type: image/png, Size: 23981 bytes --]

             reply	other threads:[~2022-12-25 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22 17:50 duskhorn [this message]
2022-12-26  8:58 ` [BUG] org-block face not working for "non-default" languages Ihor Radchenko
2022-12-26 18:04   ` duskhorn
2022-12-27  9:50     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='zCjC9UjXEgJk8kuyi8t2K2XzO3fL7pYWynHhoYWAes9eCA1FkomCY9bss4uKZfBg60M4xUisyDqFWKVMOn1r_XzUVE7gr3ci82MEOLjGIMk=@proton.me' \
    --to=duskhorn@proton.me \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).