From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aEfwBX/XpF+PWAAA0tVLHw (envelope-from ) for ; Fri, 06 Nov 2020 04:56:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kMe6AX/XpF8IdgAAbx9fmQ (envelope-from ) for ; Fri, 06 Nov 2020 04:56:31 +0000 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 9FC939400EF for ; Fri, 6 Nov 2020 04:56:30 +0000 (UTC) Received: from localhost ([::1]:60926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1katnZ-0002yZ-Ha for larch@yhetil.org; Thu, 05 Nov 2020 23:56:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1katmY-0002H1-GZ for emacs-orgmode@gnu.org; Thu, 05 Nov 2020 23:55:26 -0500 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]:36634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1katmW-00032x-Qa for emacs-orgmode@gnu.org; Thu, 05 Nov 2020 23:55:26 -0500 Received: by mail-il1-x132.google.com with SMTP id p10so14591ile.3 for ; Thu, 05 Nov 2020 20:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=u68U5r8ALyBiJnBUu91kAaA7QAxsWkfsJKFpq0n2nwk=; b=MDTHsUbpZH7hpfSFMybb5F8RU0M+WETyn4e10PN4c67VuBErgHvdxqQs3uMXW8u6Qt g9GugoywCg5GlU9mDwUeQWQonRx1QVkBEOzT7SkSBVZwRjfmMmnzFURSssbpA5gZmBlo HWg6JB67GVaoTR1W7MEpflIGGHJjSidLblPPQdSJh6lUBKB1925YVsLHr9VHKSqug9ig ap+KxXIs5l+iWTRADXByBTbA5tOHZnFZsIse44GJS4ucATITte/jxpR26Scvs6qIsH/d di153SIQ6cr3diIldgElWd5raNNOxWs4i+8pt1fNfKVKv/ZkIlKxbdIbdZpBqzts+KyA /6dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=u68U5r8ALyBiJnBUu91kAaA7QAxsWkfsJKFpq0n2nwk=; b=LoZZSPk2x5DrwEijAu2Ru7krCIx2/STZbS37zZo59b+ffUOwI0Eh3XJVgkDCOcbxkD JIzrjRM7dtc4EII7EuQkNoILqbm6ZydBN2cz4AfjDMeX7wqzbCeqb6pvGx5vKUrarR1y jJfKmDPFaoWh15AOwnotwB2JoZqa3seStEYpISNOOtoWF5d3Ww6upD8W806EgKsVMYTB bZbf66YdHxGO8joxzyXX0RRFqp/k2m7S0BoEAChwJtJIuwSOt6NpicoWjXWzDOID/m/a HAhi15uBrYQc1tuVklWSvQHtaKjUDk5ZxRwBHW/mfCmi64Gvu5Z8uXbZTZ77fLUj3TBu EzCA== X-Gm-Message-State: AOAM530XQINiyNuNH2SjyWj5DwCdR5O+QG5sCwsh5Ithfc5JiEbgl6I7 0boFb3Zb4uGYZ0+GuJB42pMR7N/K/E3sakPKJOFMrFsPhwA= X-Google-Smtp-Source: ABdhPJxA9S7CREienNVc+zOCbceuEy7RCAWC1lNwlolGWVUQXZv5/ZIuz/KlY2wksUT3tXuLU4ewZirB8GKxAyEVJF8= X-Received: by 2002:a92:512:: with SMTP id q18mr166384ile.147.1604638522829; Thu, 05 Nov 2020 20:55:22 -0800 (PST) MIME-Version: 1.0 From: Asa Zeren Date: Thu, 5 Nov 2020 23:55:11 -0500 Message-ID: Subject: [PATCH] ob-C.el: Fix a number a bugs related to table parameters To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="0000000000002585ab05b3690571" Received-SPF: pass client-ip=2607:f8b0:4864:20::132; envelope-from=asaizeren@gmail.com; helo=mail-il1-x132.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=MDTHsUbp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: kgrQdq0tTfjv --0000000000002585ab05b3690571 Content-Type: text/plain; charset="UTF-8" Here are a number of fixes to ob-C.el. There is still probably a bunch of general cleanup to do in this file, but these changes make it work for me. --0000000000002585ab05b3690571 Content-Type: application/octet-stream; name="0001-ob-C.el-Fix-a-number-a-bugs-related-to-table-paramet.patch" Content-Disposition: attachment; filename="0001-ob-C.el-Fix-a-number-a-bugs-related-to-table-paramet.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kh5sbnzc0 RnJvbSAwY2VmYmYzZGEzN2RlYTg5MDU4MjQ4YjVjZDkyODNkYjA0YjY2NWFhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBc2EgWmVyZW4gPGFzYWl6ZXJlbkBnbWFpbC5jb20+CkRhdGU6 IFRodSwgNSBOb3YgMjAyMCAyMzoyMzoxMCAtMDUwMApTdWJqZWN0OiBbUEFUQ0hdIG9iLUMuZWw6 IEZpeCBhIG51bWJlciBhIGJ1Z3MgcmVsYXRlZCB0byB0YWJsZSBwYXJhbWV0ZXJzCgoqIG9iLUMu ZWwgKG9yZy1iYWJlbC1DLWV4cGFuZC1DLCBvcmctYmFiZWwtQy1oZWFkZXItdG8tQywgb3JnLWJh YmVsLUMtZXhwYW5kLUQpOiBBZGQgYSBUWVBFIHBhcmFtZXRlciB0byBvcmctYmFiZWwtQy1oZWFk ZXItdG8tQyBzbyB0aGF0IHRoZSBoZWxwZXIgZnVuY3Rpb25zIHJldHVybiB0aGUgY29ycmVjdCB0 eXBlLgpQcmV2aW91bHN5IGZvciB0YWJsZXMgb2Ygbm9uLXN0cmluZ3MgdGhlIGhlbHBlciBmdW5j dGlvbnMgd291bGQgYXR0ZW1wdCB0byByZXR1cm4gYSBzdHJpbmcsIGxlYWRpbmcgdG8gY29tcGls YXRpb24gZXJyb3JzLgoKKiBvYi1DLmVsIChvcmctYmFiZWwtQy1oZWFkZXItdG8tQyk6IENvcnJl Y3RseSBxdW90ZSBoZWFkZXIgZWxlbWVudHMKQmVmb3JlLCBpZiB0aGUgZWxpc3AgdmFsdWUgd2Fz IG5vdCBhIHN0cmluZywgaXQgd291bGQgbm90IHF1b3RlIGl0LCBsZWFkaW5nIHRvIFVCIHdoZW4g Y29kZSBhdHRlb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gICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc2V0cSBlbCAoY2RyIGVsKSkpCisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbCkpKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICh0eXBlIChvcmctYmFiZWwtQy12YWwtdG8tYmFz ZS10eXBlIHRibCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChvcmctYmFiZWwt Qy1oZWFkZXItdG8tQyBoZWFkIHR5cGUpKSkgY29sbmFtZXMgIlxuIikKIAkJOzsgYm9keQogCQko aWYgbWFpbi1wCiAJCSAgICAob3JnLWJhYmVsLUMtZW5zdXJlLW1haW4td3JhcCBib2R5KQpAQCAt Mjg5LDcgKzI5NiwxNCBAQCBpdHMgaGVhZGVyIGFyZ3VtZW50cy4iCiAJCSh3aGVuIGNvbG5hbWVz CiAJCSAgKG9yZy1iYWJlbC1DLXV0aWxpdHktaGVhZGVyLXRvLUMpKQogCQk7OyB0YWJsZXMgaGVh ZGVycwotCQkobWFwY29uY2F0ICdvcmctYmFiZWwtQy1oZWFkZXItdG8tQyBjb2xuYW1lcyAiXG4i KQorCQkobWFwY29uY2F0IChsYW1iZGEgKGhlYWQpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChsZXQqICgodGJsbm0gKGNhciBoZWFkKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICh0YmwgKGNkciAoY2FyIChsZXQqICgoZWwgdmFycykpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2hpbGUgKG5vdCAob3IgKGVxdWFs IHRibG5tIChjYWFyIGVsKSkgKG5vdCBlbCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoc2V0cSBlbCAoY2RyIGVsKSkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbCkpKSkKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICh0eXBlIChvcmctYmFiZWwtQy12YWwtdG8tYmFzZS10eXBl IHRibCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChvcmctYmFiZWwtQy1oZWFk ZXItdG8tQyBoZWFkIHR5cGUpKSkgY29sbmFtZXMgIlxuIikKIAkJOzsgYm9keQogCQkoaWYgbWFp bi1wCiAJCSAgICAob3JnLWJhYmVsLUMtZW5zdXJlLW1haW4td3JhcCBib2R5KQpAQCAtNDI1LDcg KzQzOSwxMSBAQCBvZiB0aGUgc2FtZSB2YWx1ZS4iCiBpbnRvIGEgY29sdW1uIG51bWJlci4iCiAg IChwY2FzZSBvcmctYmFiZWwtYy12YXJpYW50CiAgICAgKChvciBgYyBgY3BwKQotICAgICAiaW50 IGdldF9jb2x1bW5fbnVtIChpbnQgbmJjb2xzLCBjb25zdCBjaGFyKiogaGVhZGVyLCBjb25zdCBj aGFyKiBjb2x1bW4pCisgICAgICIKKyNpZm5kZWYgX1NUUklOR19ICisjaW5jbHVkZSA8c3RyaW5n Lmg+CisjZW5kaWYKK2ludCBnZXRfY29sdW1uX251bSAoaW50IG5iY29scywgY29uc3QgY2hhcioq IGhlYWRlciwgY29uc3QgY2hhciogY29sdW1uKQogewogICBpbnQgYzsKICAgZm9yIChjPTA7IGM8 bmJjb2xzOyBjKyspCkBAIC00NDQsMTEgKzQ2MiwxOCBAQCBpbnRvIGEgY29sdW1uIG51bWJlci4i CiB9CiAiKSkpCiAKLShkZWZ1biBvcmctYmFiZWwtQy1oZWFkZXItdG8tQyAoaGVhZCkKKyhkZWZ1 biBvcmctYmFiZWwtQy1oZWFkZXItdG8tQyAoaGVhZCB0eXBlKQogICAiQ29udmVydCBhbiBlbGlz cCBsaXN0IG9mIGhlYWRlciB0YWJsZSBpbnRvIGEgQyBvciBEIHZlY3Rvcgogc3BlY2lmeWluZyBh IHZhcmlhYmxlIHdpdGggdGhlIG5hbWUgb2YgdGhlIHRhYmxlLiIKKyAgKG1lc3NhZ2UgIiVTIiB0 eXBlKQogICAobGV0ICgodGFibGUgKGNhciBoZWFkKSkKLSAgICAgICAgKGhlYWRlcnMgKGNkciBo ZWFkKSkpCisgICAgICAgIChoZWFkZXJzIChjZHIgaGVhZCkpCisgICAgICAgICh0eXBlbmFtZSAo cGNhc2UgdHlwZQorICAgICAgICAgICAgICAgICAgICAoJ2ludGVnZXJwICJpbnQiKQorICAgICAg ICAgICAgICAgICAgICAoJ2Zsb2F0cCAiZG91YmxlIikKKyAgICAgICAgICAgICAgICAgICAgKCdz dHJpbmdwIChwY2FzZSBvcmctYmFiZWwtYy12YXJpYW50CisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICgob3IgJ2MgJ2NwcCkgImNvbnN0IGNoYXIqIikKKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKCdkICJzdHJpbmciKSkpKSkpCiAgICAgKGNvbmNhdAogICAgICAoZm9y bWF0CiAgICAgICAocGNhc2Ugb3JnLWJhYmVsLWMtdmFyaWFudApAQCAtNDU2LDEzICs0ODEsMTMg QEAgc3BlY2lmeWluZyBhIHZhcmlhYmxlIHdpdGggdGhlIG5hbWUgb2YgdGhlIHRhYmxlLiIKIAko YGQgInN0cmluZyAlc19oZWFkZXJbJWRdID0gWyVzXTsiKSkKICAgICAgIHRhYmxlCiAgICAgICAo bGVuZ3RoIGhlYWRlcnMpCi0gICAgICAobWFwY29uY2F0IChsYW1iZGEgKGgpIChmb3JtYXQgIiVT IiBoKSkgaGVhZGVycyAiLCIpKQorICAgICAgKG1hcGNvbmNhdCAobGFtYmRhIChoKSAoZm9ybWF0 ICJcIiVzXCIiIGgpKSBoZWFkZXJzICIsIikpCiAgICAgICJcbiIKICAgICAgKHBjYXNlIG9yZy1i YWJlbC1jLXZhcmlhbnQKICAgICAgICAoKG9yIGBjIGBjcHApCiAJKGZvcm1hdAotCSAiY29uc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