From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WStmGiUKb2NaDAAAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 03:51:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +DkjGSUKb2OrRwEAauVa8A (envelope-from ) for ; Sat, 12 Nov 2022 03:51:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1CB153D6F3 for ; Sat, 12 Nov 2022 03:51:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otg24-00084E-00; Fri, 11 Nov 2022 21:14:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otg20-000845-MY for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 21:14:04 -0500 Received: from cather.verilab.com ([64.20.234.125]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otg1y-00017U-B9 for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 21:14:04 -0500 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by cather.verilab.com (Postfix) with ESMTPS id 648AE804BD for ; Sat, 12 Nov 2022 02:13:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verilab.com; s=v202012; t=1668219238; bh=6eCD7drCf/nLArtEE+Ox6ed8jpldCsVJjyeOD4sP5fI=; h=From:Date:Subject:To; b=K4A+lFp6a+/msyqmmJsvjW+N5ZXzDDJ3roly+cA1+TkCUbI0RrWBls5Qb3EdSUL2F HqoyNpb6PZThTx1S8UeSJkuhJm/8kLVmXM2elYi4wu6J1eXE8TlI8Rc6JoM+79Wufs OkUuariLJBs8E9km0JgsGGMO2QYU+XbxHi/bl/CdqbbNbyYGBmZiNzkOk0SQ91mVLn 1ZZSrGkU5JDHWP5hr5RDSF+H+scqp9FBxxDblCY6YqCqkBWA0Ji0l+C4lfnlDgZ4xM Dbyipx914MClMYZp9uzg9UkU5TbjydFENG36/AV+sKXDhbri8JL2BNqZwlNgIfAZVr Ku+3m2EBQ/fuw== Received: by mail-ed1-f69.google.com with SMTP id x18-20020a05640226d200b00461e027f704so4553987edd.7 for ; Fri, 11 Nov 2022 18:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verilab.com; s=gv202012; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6eCD7drCf/nLArtEE+Ox6ed8jpldCsVJjyeOD4sP5fI=; b=MRDJsnCfqvSIZjZBRJoVknrDutPjv4IrAn9C3uaFamjG5q0631gMec0hm4GBA3pf7O wiC4SYvoraCUqV4Et2+q5ltIKo27IB10LXyCVk0Re3d49OJYoG35vO3ahBoNZ2urXcQs 2tWI2z8UtkCv52gdm7UwvXxavjSI4bq1SHIDVdb/00rH3lV8nuv8mCgYCVW3aXuLlK0y oJTe4Q4EQBg6YySJPZD5wQtHxTsLAOordKX2CIXD91/1MT+IQiM1ppCMvPOgNHESYHjR xgb8Cm260XKbmFhwsAG5gD7GCfKUmnsktLTOE3UmmEduivXqZe8U8f5m1ZNkBillqCE0 C3Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6eCD7drCf/nLArtEE+Ox6ed8jpldCsVJjyeOD4sP5fI=; b=XoAEP946v1GeqXO5Qak4Qsy1kJmuSh57/QWmjL7/GlcYFT8LBwr2OXBeQA0vrpvIuW 05CBn5v3PNMVbX5vyigdAXPjsQnmdqmCXXgvl03OLBv4BehN7+1YRTUzsg33C1GfHHXC w+VC5nYzceVLc8Z5y3Ag4EjdfSpUkUuFKDzC/6ZIUelMuROpSSGYsSy73Jah98k7jaA5 Z+DrfBUYh02/2y+ZbCVhFUtFaRLsDFODNA8rjbzvEAU3yN4IXoysyTwq+gyrONS0/i5y 0xNlfQ9pfg5iduVqwnz9wDPYMcAiTEAA1N38SSuZmVMm3Y8yrl6idpp0dgtXgs/G+Qyk 2Dgg== X-Gm-Message-State: ANoB5pl28HLciSX2+M1PT2S2gaewM1Xl+gw3h796mAl4oZye9hOGTbZX 1HrpdrR2OyZT3gApW4VjOkJrb+OGF9ItFAQLFk30i2g15LZMB1fU0O9L1RrSjry9s12Vi1SYNsO 78TOY0/2ovWC7h5rNbk8z4T9pYXz55RF6pQ== X-Received: by 2002:a17:906:3e03:b0:78d:8bcf:bb47 with SMTP id k3-20020a1709063e0300b0078d8bcfbb47mr3974265eji.525.1668219236711; Fri, 11 Nov 2022 18:13:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf78cJy3u92wszphxcWEFxQobbv+ToUFmhF1oQwzbkUfNrIM+DTe8b+U1Is8xd9DBNK4fy1penMXGAKeLvSBsVU= X-Received: by 2002:a17:906:3e03:b0:78d:8bcf:bb47 with SMTP id k3-20020a1709063e0300b0078d8bcfbb47mr3974259eji.525.1668219236411; Fri, 11 Nov 2022 18:13:56 -0800 (PST) MIME-Version: 1.0 From: Tommy Kelly Date: Fri, 11 Nov 2022 18:13:20 -0800 Message-ID: Subject: BUG? Null character prevents org-babel-tangle from tangling a block To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="000000000000feb84f05ed3c8e76" Received-SPF: pass client-ip=64.20.234.125; envelope-from=tommy.kelly@verilab.com; helo=cather.verilab.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668221477; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jjIjt2bpRayGL+TcOjQqPAdAwnq3BHQL3GyV4JXoiQI=; b=lkw9Sy3TgTzughuh8Ii2EKKgv917N8e89ZU94OVOi2A6N/XZHjECbWhCKb4Qt4Et5vaUmy T+4QWghVHAmp4SSwlnoHGB7d9fdOf9q5ECsKA6dA5KAaY2buiv75nu1fjR95dsaqSIz5nF yYGbzgfnLqbZcKRewVLPEXeSujMqPuTZWBB4ysAXohdrD/xfI4MqwseyBvAmMFUdoPm7u8 sb8eJ8PL9t+dGAiEWNF/wwTKNitriG/fHBPRW1PERHg71lag6PVEkozRbyS6qtXnZQFOhX NG64BcKkZLe3cGbLMVm73317khiB6oroZxUR7dfA0vZ4YsOBmCguUoODvFxVSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668221477; a=rsa-sha256; cv=none; b=qAHA9iOa8uAY/wEleJnIAgeT/aE2bGQhbuOInf7/m6Uf91lQSJ855j7JIXcHnESksDIn0H gdWYbyJEBgGBrRSb7Y+RMHESCDr5A4FwEnBI2ahUaDeW6f4DVDfRGp4oAEMCcBqqCZEdGm GQynvAyDpyvGL2FvlZHKDCeKWGIAAzQ2b9y+1k5FAge4GwA1skLJLxjDTzVmY5TL/UoWoN iYkeb2qLVd32cHiRR+ISej6PG5/gPR+DfX/NO2StnY0TVwb4quekVPDBQTVENPKElAV5WN 5Dx5ujgLsuYx6H+yTeFdPhlif6Zbty544hK0lKIKmY+BZAuAwM9YXqRZ72IADg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=verilab.com header.s=v202012 header.b=K4A+lFp6; dkim=fail ("body hash did not verify") header.d=verilab.com header.s=gv202012 header.b=MRDJsnCf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=verilab.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=verilab.com header.s=v202012 header.b=K4A+lFp6; dkim=fail ("body hash did not verify") header.d=verilab.com header.s=gv202012 header.b=MRDJsnCf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=verilab.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1CB153D6F3 X-Spam-Score: 7.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: gfww8D7XJYCM --000000000000feb84f05ed3c8e76 Content-Type: multipart/alternative; boundary="000000000000feb84c05ed3c8e74" --000000000000feb84c05ed3c8e74 Content-Type: text/plain; charset="UTF-8" I'm starting to figure out tangle by wrapping chunks of my emacs init.el in #+begin_src/#end_src and then hitting C-c C-v t. It has been working fine, but one block simply refused to participate. I eventually tracked the problem down to a stray NULL character that had found its way into some of the lisp comments in that particular chunk of my init.el. It had the effect of completely disabling tangling of the entire block. Blocks before and after that one, however, all tangle nicely. The attached .org file describes a simple test to demonstrate the problem. I've also attached a .zip version, in case the NULL character in the test doesn't survive the gmailing process. (The null is In BLOCK 2, two characters after the '3' in ';; line3' If it's there, you should see the usual ^@ (as a single character) placeholder. --000000000000feb84c05ed3c8e74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm starting to figure out tangle by wrapping chu= nks of my emacs init.el in #+begin_src/#end_src and then hitting C-c C-v t.= It has been working fine, but one block simply refused to participate. I e= ventually tracked the problem down to a stray NULL character that had found= its way into some of the lisp comments in that particular chunk of my init= .el. It had the effect of completely disabling tangling of the entire block= . Blocks before and after that one, however, all tangle nicely.
<= br>
The attached .org file describes a simple test to demonstrate= the problem. I've also attached a .zip version, in case the NULL chara= cter in the test doesn't survive the gmailing process. (The null is In = BLOCK 2, two characters after the '3' in ';; line3' If it&#= 39;s there, you should see the usual ^@ (as a single character) placeholder= .=C2=A0





--000000000000feb84c05ed3c8e74-- --000000000000feb84f05ed3c8e76 Content-Type: application/octet-stream; name="test-effect-of-null.org" Content-Disposition: attachment; filename="test-effect-of-null.org" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ladagq4h0 IytQUk9QRVJUWTogaGVhZGVyLWFyZ3M6ZW1hY3MtbGlzcCA6dGFuZ2xlIC4vdGVzdC1lZmZlY3Qt b2YtbnVsbF9SRVNVTFQuZWwKIytTVEFSVFVQOiBzaG93YWxsCgoqIFRlc3QgdG8gc2hvdyB0aGUg aW1wYWN0IG9mIHRoZSBwcmVzZW5jZSBvZiBhIG51bGwgY2hhciBvbiB0YW5n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--000000000000feb84f05ed3c8e76 Content-Type: application/zip; name="test-effect-of-null.org.zip" Content-Disposition: attachment; filename="test-effect-of-null.org.zip" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ladaiusv1 UEsDBBQACAAIAAmRa1UAAAAAAAAAALMDAAAXACAAdGVzdC1lZmZlY3Qtb2YtbnVsbC5vcmdVVA0A BxMAb2MlAG9jEwBvY3V4CwABBPUBAAAEFAAAAK2SMW/bMBCFM/NXPCBLm4AqLCeLPKVGpqaNoShD p4CiThIRmjRIKkL+fUjJjjMYTVF00pGHe+/dJ55fbsr7zW1Z/S7Qk2jIceE6X9BWSM+18jsUQZhO E7JvgXzg1LYkA7ctN4PWT+Xtw+NdlZFm55cP1U1ZPW4K+N6OQmvGLlDFGQQ7XSH0BLXdCRlg2+m0 c+TJSEpngaQI2QsHazDbssoi+RZskaEcDKzreC1q0nyf68uaS6z5C8LXaaxXHq2KDeG58iuojDKM KvTJkAGzizLQyhCWyfn73f36B3KWZ/hlA03JYrBBB2U6bMl70VEaSY2fyiheDxGDK6KhfsUC0jaE Wlv5nAw6Cn4fv2HLDDfaW2hrnyHi4kPYDWFO+Eeg71lESKKT0xx0gV541EQGo1MhxG9UzdhVGhnR kKb9Eu9AI3Jyp5e+jlyJu0/Q/gMbE7PkH9D4tMZIjv47m9rGv3tgI0xz2C1yeqEToAAWn2tNnTJP 3kl8eO2xt1odtOZDQpYfy+WxvDqW11GQTJPk/ko7P62Ns0/V3wBQSwcIGAqBYpkBAACzAwAAUEsD BBQACAAIAAmRa1UAAAAAAAAAABYBAAAiACAAX19NQUNPU1gvLl90ZXN0LWVmZmVjdC1vZi1udWxs Lm9yZ1VUDQAHEwBvYyUAb2NdAG9jdXgLAAEE9QEAAAQUAAAAY2AVY2dgYmDwTUxW8A9WiFCAApAY AycQGwHxEyAG8hnFGIgCjiEhQRAWWMcWIE5CU8IEFfdgYOBPzs/VSywoyEnVy01MzoHI/wFiKQYG IZBcSlF+QVJ+hV5iSUlR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