unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ori <ori@oribarbut.com>
To: brandon@guttersohn.org, emacs-devel@gnu.org
Subject: Possible fix for :includes header argument in org-babel C source blocks
Date: Sat, 02 May 2020 10:37:27 -0400	[thread overview]
Message-ID: <87y2qapfmg.fsf@oribarbut.com> (raw)
In-Reply-To: 21b0cd85-d678-2fe6-3c22-e41abc6cf242@guttersohn.org

Hi Brandon,

Some other interesting test results, the first of which makes me think that string un-escaping could be going too far and perhaps the problem lies elsewhere:

    :includes "example.h\""
results in:
    #includes example.h"

    :includes '("\"/some/path/to/example.h\"" "<example_2.h>")
results in:
    #include "/some/path/to/example.h"
    #include <example_2.h>

That works with just one sting in the list as well:
    :includes '("\"/some/path/to/example.h\"")
results in:
    #include "/some/path/to/example.h"


This is on Emacs 26 with org 9.3.4

Ori



             reply	other threads:[~2020-05-02 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 14:37 Ori [this message]
2020-05-03  3:43 ` Possible fix for :includes header argument in org-babel C source blocks Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2020-04-29  0:48 Brandon Guttersohn
2020-05-24 16:25 ` Bastien

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=87y2qapfmg.fsf@oribarbut.com \
    --to=ori@oribarbut.com \
    --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).