Re: [O] Issue with multiline string variable for JavaScript source code blocks

2014-11-21 Thread Peter Moresi
Excellent and thanks for the feedback. I'm glad I was able to give something back to the community that has given me so much. I've also had issues with JavaScript source code blocks truncating the result when the value is a string with a comma. I'm still getting up to speed with Emacs-lisp but whe

Re: [O] Issue with multiline string variable for JavaScript source code blocks

2014-11-21 Thread Nicolas Goaziou
Hello, Peter Moresi writes: > Sure, the patch is attached.​ Applied. Thank you. However I had to fill your commit message, which was incomplete. For reference, here is what I used, from your initial report: --8<---cut here---start->8--- ob-js: Fix passing m

Re: [O] Issue with multiline string variable for JavaScript source code blocks

2014-11-18 Thread Peter Moresi
Sure, the patch is attached.​ From 2c8214a8e45a6368c709ae26d6d20c7458ebe0dd Mon Sep 17 00:00:00 2001 From: Peter Moresi Date: Tue, 18 Nov 2014 15:58:17 -0800 Subject: [PATCH] Fix problem passing multiline variables into JS source code block --- lisp/ob-js.el |2 +- 1 file changed, 1 inserti

Re: [O] Issue with multiline string variable for JavaScript source code blocks

2014-11-18 Thread Nicolas Goaziou
Hello, Peter Moresi writes: > I'm found a bug in ob-js.el when passing multi-line strings into a > JavaScript source code blocks. Thanks for your report. > The attached org file describes the problem and fix that I'm using to work > around the issue. Would you mind providing a patch for that?

[O] Issue with multiline string variable for JavaScript source code blocks

2014-11-17 Thread Peter Moresi
Hi, I'm found a bug in ob-js.el when passing multi-line strings into a JavaScript source code blocks. The attached org file describes the problem and fix that I'm using to work around the issue. Thanks, Peter example-multiline-js-input.org Description: Binary data