From: Bastien <bzg@gnu.org>
To: Brandon Guttersohn <brandon@guttersohn.org>
Cc: emacs-devel@gnu.org
Subject: Re: Possible fix for :includes header argument in org-babel C source blocks
Date: Sun, 24 May 2020 18:25:15 +0200 [thread overview]
Message-ID: <87wo51jo5w.fsf@gnu.org> (raw)
In-Reply-To: <21b0cd85-d678-2fe6-3c22-e41abc6cf242@guttersohn.org> (Brandon Guttersohn's message of "Tue, 28 Apr 2020 19:48:01 -0500")
Hi Brandon,
Brandon Guttersohn <brandon@guttersohn.org> writes:
> Hey all, I think I may have a small fix for executing C source blocks
> in org-babel. Or, possibly just a bad case of user error.
>
> The issue (in emacs 27 with -q) is that it doesn't seem possible to
> specify non-system header files with the :includes header argument.
>
> [...]
>
> The attached patch will wrap filenames in quotes if they do not begin
> with "<", and works for me.
Thanks for reporting this and for suggesting this patch, I think it is
good enough. I have applied it to the master branch of Org:
https://code.orgmode.org/bzg/org-mode/commit/44cb98fdb6
Best,
--
Bastien
next prev parent reply other threads:[~2020-05-24 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 0:48 Possible fix for :includes header argument in org-babel C source blocks Brandon Guttersohn
2020-05-24 16:25 ` Bastien [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-02 14:37 Ori
2020-05-03 3:43 ` Richard Stallman
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wo51jo5w.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=brandon@guttersohn.org \
--cc=emacs-devel@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.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).