From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ori Newsgroups: gmane.emacs.devel Subject: Possible fix for :includes header argument in org-babel C source blocks Date: Sat, 02 May 2020 10:37:27 -0400 Message-ID: <87y2qapfmg.fsf@oribarbut.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90592"; mail-complaints-to="usenet@ciao.gmane.io" To: brandon@guttersohn.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 16:44:24 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUtNP-000NPJ-Cz for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 16:44:23 +0200 Original-Received: from localhost ([::1]:47022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUtNO-0003vT-FF for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 10:44:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUtGn-0007QR-BB for emacs-devel@gnu.org; Sat, 02 May 2020 10:37:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUtGm-0003QU-5C for emacs-devel@gnu.org; Sat, 02 May 2020 10:37:33 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:34831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUtGl-0003LW-HS for emacs-devel@gnu.org; Sat, 02 May 2020 10:37:31 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id s30so10278753qth.2 for ; Sat, 02 May 2020 07:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oribarbut-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=VrR/6yqozpsb2L1P5W7X6mo3eXsQyrLU7lknyw0Z8d4=; b=bq2+k7A5/S9q1FHQFoZ15GoQg6DXp1csUFYLNZuyJkrUc/ekspZ6Pj1CEBOByDKuFR 1EzFnlbMfWDzCHrdSO4SXBMSuR0GwGty8+3+929NYBCMP0pQ6QYE0lw+MFLzLCh3G7BZ 84EXLZ9y2JPPSBiMEsDfFVVmrJdsuiYue1g8sPPKVSVlzCQpQthZadHxbjfJCQWL/u6D 9aeVi55ZwjBmoWtHblAMZNA9qmgZ2weBZkTOvy9zWmE6LAQQ/xMw2j0i3Kxzx31UB5L4 Dk3xJOFuyRhSCu+5kUM5pd3Qyvxb1YxieTd6aDL3bXFzwu4xbRhep9ti6Dcl3y64WXOY aaXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=VrR/6yqozpsb2L1P5W7X6mo3eXsQyrLU7lknyw0Z8d4=; b=IQd0R29L2f4/11GyLYUFnwgNm52t+LQp5zOfAAQjGRv6hDFuojXb/L9otfCkXIfufW bvQ0wc0W1OnBjA3BWFvm8BAND1PRWmxcLPEJW5Kmz6gE8jf+GARyArJmU64Q9k6a6YBu y5pquApXx/KEZ7sxVyp/qYOVUROcJopFO0MEbJMAuK5Sg6wZoDhChKhwOYmoL4gEGWgS 1a5d/Eiboha2/TzcAKUefw228X9U4YJI396CcmxS6QkUr7CDDeCKHH0z35ELfMpIra64 2Tn0cLEmyxSMjChOxEoWTFewZWfCr9EVe8Nd6AouCL0degd7fFvoQItDpEnMMiU8iffD 48Nw== X-Gm-Message-State: AGi0PubC/8wa7ePIXw56xTL1ftQRWJ9Yy/Q9OS8DJc3Pwt3H5M1D76WI ip8Sj1hril/Ls0/BY9X+jOmFZA== X-Google-Smtp-Source: APiQypIK2vutECDoKMqhDr1QkQaEYKcVcEFFECQci5v09eULtOWR0XTj9aUAWdktb/4AqWjRa6ycuw== X-Received: by 2002:ac8:470e:: with SMTP id f14mr8590240qtp.87.1588430249017; Sat, 02 May 2020 07:37:29 -0700 (PDT) Original-Received: from oribarbut.com (107-159-14-168.on.dsl.ebox.net. [107.159.14.168]) by smtp.gmail.com with ESMTPSA id t7sm5026768qtr.93.2020.05.02.07.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 07:37:28 -0700 (PDT) Original-Received: by oribarbut.com (Postfix, from userid 1000) id 482D9220856; Sat, 2 May 2020 10:37:27 -0400 (EDT) In-Reply-To: 21b0cd85-d678-2fe6-3c22-e41abc6cf242@guttersohn.org Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=ori@oribarbut.com; helo=mail-qt1-x836.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::836 X-Mailman-Approved-At: Sat, 02 May 2020 10:43:36 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248456 Archived-At: 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\"" "") results in: #include "/some/path/to/example.h" #include 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