[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible fix for :includes header argument in org-babel C source blo
From: |
Kévin Le Gouguec |
Subject: |
Re: Possible fix for :includes header argument in org-babel C source blocks |
Date: |
Mon, 01 Jun 2020 22:17:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Bastien <bzg@gnu.org> writes:
> Brandon Guttersohn <brandon@guttersohn.org> writes:
>
>> So this patch is sort of a
>> new feature, but a trivial one.
>
> Agreed. Could you or Kevin propose a sentence to advertise this small
> enhancement in etc/ORG-NEWS?
Here goes nothing.
0001-etc-ORG-NEWS-Announce-a-recent-fix-in-ob-C.el.patch
Description: Text Data
Note that IIUC, for non-system includes to work, either
- the filenames must be absolute, or
- the compiler must be given -I arguments through org-babel-C-compiler.
This variable can be set (e.g. to "gcc -I .") with file or
directory-local variables. Should we promote this method in NEWS? A
downside is that the user will be warned about the variable's value
being potentially unsafe, and we can't really avoid that unless we throw
a blanket :safe #'stringp on this defcustom.