Re: [O] Org Babel blocks exports dollar signs to LaTeX verbatim

2015-09-04 Thread Matthew MacLean
<alan.schm...@polytechnique.org > wrote: > (Still catching up on orgmode mail … sorry if you already found a way to > address the issue) > > On 2015-08-18 18:13, Matthew MacLean <archen...@gmail.com> writes: > > > When working with Org Babel source code blocks, if I have a dollar sign

Re: [O] re-search-forward hang in org-link-search

2015-08-18 Thread Matthew MacLean
No worries. If anything it makes be feel better about my own silliness earlier. On Tue, Aug 18, 2015 at 11:54 AM, Bastien b...@gnu.org wrote: Matthew MacLean archen...@gmail.com writes: Maybe the recursive-whitespace Regular Expressions that Pip Cet mentioned are not Emacs freezers

Re: [O] re-search-forward hang in org-link-search

2015-08-18 Thread Matthew MacLean
Fascinating. Maybe the recursive-whitespace Regular Expressions that Pip Cet mentioned are not Emacs freezers in Emacs 25? On Tue, Aug 18, 2015 at 11:30 AM, Bastien b...@gnu.org wrote: Hi Matthew, I've no problem with the link in hang.org. This is with Org 8.3.1 and Emacs 25.0.50.18. --

[O] Org Babel blocks exports dollar signs to LaTeX verbatim

2015-08-18 Thread Matthew MacLean
When working with Org Babel source code blocks, if I have a dollar sign in my code and export it to PDF using LaTeX, it appears to parse as an internal link. (Maybe?) This is what it looks like: [image: Inline image 1] That comes from the following source code block: #+BEGIN_SRC sql :eval no

[O] ob-ruby org-babel-ruby-table-or-string numeric argument patch

2015-08-16 Thread Matthew MacLean
Yo~! fa5fd6351605912ec75e783cb626497b1ebe471e introduced a change where org-babel-script-escape stopped accepting numbers. This caused an issue in ob-ruby.el where when trying to evaluate something like 2 + 2, you would get the message: `org-babel-script-escape' expects a string This broke

Re: [O] ob-ruby org-babel-ruby-table-or-string numeric argument patch

2015-08-16 Thread Matthew MacLean
Yep..! Guess I know that unsubscribed mail doesn't actually go to /dev/null like I heard it might. The end result was commit 81a63729473baaf00c2548d8929b9388053aea05 sans the test from http://thread.gmane.org/gmane.emacs.orgmode/99888 after a little bit of patch bootcamp for someone who read

[O] re-search-forward hang in org-link-search

2015-08-13 Thread Matthew MacLean
So, I found a hang in org-link-search... (In what I think is an Emacs bug, but posting this here certainly can't hurt.) When you have a headline with a tag (For example Mawile with :something: as a tag), and another headline later in the buffer beginning with the other headline's title within a

Re: [O] re-search-forward hang in org-link-search

2015-08-13 Thread Matthew MacLean
On Thu, Aug 13, 2015 at 12:26 PM, Pip Cet pip...@gmail.com wrote: It's not an Emacs bug. Your regular expression whittles down to: (defvar hang-re ^\\*+ *Mawile\\(?:[ ]+\\)+stuff\\(?:[ ]+\\)*$) or even (defvar hang-re \\(?:[ ]+\\)+s) That expression matches the string of spaces

Re: [O] re-search-forward hang in org-link-search

2015-08-13 Thread Matthew MacLean
Yep! This patch works on the original file I noticed the behaviour. On Thu, Aug 13, 2015 at 12:50 PM, Pip Cet pip...@gmail.com wrote: (Sorry if this arrives in duplicate, I had neglected to configure Gmail to default to reply-to-all behaviour). I did that earlier as well, it's a curse!

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Matthew MacLean
Gnarly--and thank you for the help! On Wed, Aug 12, 2015 at 9:41 PM, Kyle Meyer k...@kyleam.com wrote: Matthew MacLean archen...@gmail.com writes: In that case... Here is another patch with your suggestions. I've pushed this (stripping out the test). Thank you for the fix. -- Kyle

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Matthew MacLean
On Tue, Aug 11, 2015 at 11:53 PM, Kyle Meyer k...@kyleam.com wrote: In addition to the formatting, the message should include TINYCHANGE. This may be beyond what qualifies as a tiny change if tests count toward changed lines (Bastien or Nicolas?). If it's acceptable as a tiny change, please

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Matthew MacLean
In that case... Here is another patch with your suggestions. Thanks for taking the time to point out all that..! I'll be sure to keep it all in mind if I submit something else later. On Wed, Aug 12, 2015 at 11:21 AM, Kyle Meyer k...@kyleam.com wrote: Matthew MacLean archen...@gmail.com writes

[O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Matthew MacLean
Yo~! fa5fd6351605912ec75e783cb626497b1ebe471e introduced a change where org-babel-script-escape stopped accepting numbers. This caused an issue in ob-ruby.el where when trying to evaluate something like 2 + 2, you would get the message: `org-babel-script-escape' expects a string This broke

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Matthew MacLean
Yeah, my initial patch was actually for ob-ruby, though, when looking for the change that broke it for the report, I found a change in behaviour of the escaping function and figured that Ruby might not be the only thing broken. So, instead, I restored the original permissive behaviour of

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-11 Thread Matthew MacLean
If the stricter definition covers everything that org-babel-escape-script was supposed to do... I agree we should keep it. My problem was I wasn't sure if the function got pruned of something it needed. But if that's not the case... On Tue, Aug 11, 2015 at 6:52 PM, Kyle Meyer k...@kyleam.com