From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: [bug] org-babel-load-file Date: Sat, 1 Sep 2012 14:55:29 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=bcaec554d60c51babb04c8a36c57 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7nEa-0001Tx-3K for emacs-orgmode@gnu.org; Sat, 01 Sep 2012 08:55:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7nEZ-0000nF-77 for emacs-orgmode@gnu.org; Sat, 01 Sep 2012 08:55:32 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7nEY-0000nB-Vf for emacs-orgmode@gnu.org; Sat, 01 Sep 2012 08:55:31 -0400 Received: by lahd3 with SMTP id d3so2983652lah.0 for ; Sat, 01 Sep 2012 05:55:29 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --bcaec554d60c51babb04c8a36c57 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi all On Fri, Aug 31, 2012 at 11:31 AM, Michael Brand wrote: > With emacs -q and today=92s release_7.9-176-g2939333 I get =93Wrong type > argument: arrayp, nil=94 after org-babel-load-file with this file: > > #+BEGIN_SRC org > ,* TODO > , #+BEGIN_SRC emacs-lisp > , (message "any") > , #+END_SRC > #+END_SRC This issue with tangling a source block when heading has no text is solved with the attached patch. Michael --bcaec554d60c51babb04c8a36c57 Content-Type: text/plain; charset=US-ASCII; name="0001-ob-tangle-Fix-bug-when-heading-has-no-text.patch.txt" Content-Disposition: attachment; filename="0001-ob-tangle-Fix-bug-when-heading-has-no-text.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h6kppbgr0 RnJvbSAzZTY3MjA5ODIzNTJlMWNmNmFhYTY0MGUxZGVkYzM3YWM5MzdmOWQwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWNoYWVsIEJyYW5kIDxtaWNoYWVsLmNoLmJyYW5kQGdtYWls LmNvbT4KRGF0ZTogU2F0LCAxIFNlcCAyMDEyIDE0OjUxOjQyICswMjAwClN1YmplY3Q6IFtQQVRD SF0gb2ItdGFuZ2xlOiBGaXggYnVnIHdoZW4gaGVhZGluZyBoYXMgbm8gdGV4dAoKKiBsaXNwL29i LXRhbmdsZS5lbCAob3JnLWJhYmVsLXRhbmdsZS1jb2xsZWN0LWJsb2Nrcyk6IFVzZSBkdW1teQpz dHJpbmcgd2hlbiBoZWFkaW5nIGhhcyBubyB0ZXh0LgotLS0KIGxpc3Avb2ItdGFuZ2xlLmVsIHwg ICAgMyArKy0KIDEgZmlsZXMgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9ucygt KQoKZGlmZiAtLWdpdCBhL2xpc3Avb2ItdGFuZ2xlLmVsIGIvbGlzcC9vYi10YW5nbGUuZWwKaW5k ZXggNWJmNzBmZS4uZWI0N2UwMiAxMDA2NDQKLS0tIGEvbGlzcC9vYi10YW5nbGUuZWwKKysrIGIv bGlzcC9vYi10YW5nbGUuZWwKQEAgLTM2MCw3ICszNjAsOCBAQCBjb2RlIGJsb2NrcyBieSBsYW5n dWFnZS4iCiAJICAgKHNldHEgYmxvY2stY291bnRlciAoKyAxIGJsb2NrLWNvdW50ZXIpKSkpCiAg ICAgICAgKHJlcGxhY2UtcmVnZXhwLWluLXN0cmluZyAiWyBcdF0iICItIgogCQkJCSAoY29uZGl0 aW9uLWNhc2UgbmlsCi0JCQkJICAgICAobnRoIDQgKG9yZy1oZWFkaW5nLWN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