emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code b


From: Ihor Radchenko
Subject: Re: [BUG] [PATCH] org-babel-execute-buffer: Prevent executing non-code blocks [9.6.20 ( @ /home/cassou/.emacs.d/lib/org/lisp/)]
Date: Sun, 17 Mar 2024 14:30:01 +0000

Gerard Vermeulen <gerard.vermeulen@posteo.net> writes:

>> (setq org-babel-default-header-args:text '((:eval . "no")))
>> 
>> to your config.
>
> Is it possible to make org-lint recognize those settings?
>
> I have the kludge
>
> (defun org-babel-execute:text (_body _params)
>    "NO-OP to silence warnings." nil)
>
> in my config to silence "Unknown source block language" warnings.

You can hide all the warnings from a certain checker by pressing "i" in
the org-lint report.

If necessary, we may add some customizations to org-lint that will allow
customizing which checkers to use.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]