From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henry Blevins Subject: [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting Date: Wed, 20 Jun 2018 15:36:32 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000b1e514056f17ebbd" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fViuU-0001Rq-Ul for emacs-orgmode@gnu.org; Wed, 20 Jun 2018 15:36:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fViuT-0007qW-VV for emacs-orgmode@gnu.org; Wed, 20 Jun 2018 15:36:54 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:44845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fViuT-0007qM-QR for emacs-orgmode@gnu.org; Wed, 20 Jun 2018 15:36:53 -0400 Received: by mail-qk0-x22c.google.com with SMTP id 185-v6so432002qkk.11 for ; Wed, 20 Jun 2018 12:36:53 -0700 (PDT) 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" To: emacs-orgmode@gnu.org --000000000000b1e514056f17ebbd Content-Type: multipart/alternative; boundary="000000000000b1e510056f17ebbb" --000000000000b1e510056f17ebbb Content-Type: text/plain; charset="UTF-8" Currently, scheme babel blocks ignore :results header arguments like 'verbatim' and attempt to format all output as tables. This patch corrects that and performs the user supplied formatting. This is my first time contributing a patch, so I apologize if I have made any mistakes in submitting this. Regards, Henry Blevins --000000000000b1e510056f17ebbb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Currently, scheme babel blocks ignore :results header argu= ments like 'verbatim' and attempt to format all output as tables. T= his patch corrects that and performs the user supplied formatting.

=
This is my first time contributing a patch, so I apologize if I = have made any mistakes in submitting this.

Regards,<= /div>

Henry Blevins


--000000000000b1e510056f17ebbb-- --000000000000b1e514056f17ebbd Content-Type: text/x-patch; charset="US-ASCII"; name="0001-ob-scheme.el-Fix-scheme-blocks-ignoring-results-in-f.patch" Content-Disposition: attachment; filename="0001-ob-scheme.el-Fix-scheme-blocks-ignoring-results-in-f.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jinionz60 RnJvbSBmOTNmMDg2Y2JiMTY5MjZjODgzYTMxZmU4YWQ3OTZlMGRhOGJjOGY3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBIZW5yeSBCbGV2aW5zIDxoZWJsZXZpQGdtYWlsLmNvbT4KRGF0 ZTogV2VkLCAyMCBKdW4gMjAxOCAxNDozODo0NyAtMDQwMApTdWJqZWN0OiBbUEFUQ0hdIG9iLXNj aGVtZS5lbDogRml4IHNjaGVtZSBibG9ja3MgaWdub3JpbmcgOnJlc3VsdHMgaW4KIGZvcm1hdHRp bmcKCiogb2Itc2NoZW1lLmVsIChvcmctYmFiZWwtZXhlY3V0ZTpzY2hlbWUpOiBQcm9jZXNzIHRo ZSA6cmVzdWx0IGhlYWRlcgphcmd1bWVudCB0byBjb25kaXRpb25hbGx5IGFuZCBhcHByb3ByaWF0 ZWx5IGZvcm1hdCBvdXRwdXQuCgpDdXJyZW50bHksIGBvcmctYmFiZWwtZXhlY3V0ZTpzY2hlbWUn IGlnbm9yZXMgdGhlIHVzZXIgc3BlY2lmaWVkIDpyZXN1bHQgaGVhZGVyCmFyZ3VtZW50IGZvdW5k IGluIHRoZSA6cmVzdWx0LXBhcmFtIHBhcmFtZXRlciBhbmQgcHJvY2VzcyBhbGwgb3V0cHV0IGFz IGEgdGFibGUuClRoZSBmaXggaXMgdG8gcGFzcyB0aGUgYHJlc3VsdCcgYW5kIDpyZXN1bHQtcGFy YW0gdG8gdGhlIGBvcmctYmFiZWwt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