[ESS-bugs] ess-mode 12.09-2 [<unknown>]; URL's not accepted as input for net command in stata mode
Vitalie Spinu
spinuvit at gmail.com
Sat Apr 13 18:25:32 CEST 2013
>> Ben Veal <benveal92 at gmail.com>
>> on Fri, 12 Apr 2013 18:24:39 +0100 wrote:
[...]
BV> I have tried putting the URL in quotes, and backslashing the forward
BV> slashes, but neither of these works. The text from // onwards is
BV> coloured orange which I think means that ess is treating it as a comment
BV> and not sending it to stata.
Indeed, this is precisely what is going on. I have fixed this that in
SVN. Only // comments starting at the begging of the line are now
removed.
If you don't use SVN put the following into you .emacs for time being:
(defun ess-sta-remove-comments (string)
(replace-regexp-in-string "/\\*.*\\*/\\|^//.*$" "" string))
Vitalie
More information about the ESS-bugs
mailing list