[ESS] ESS in brew syntax files
Felix Andrews
felix at nfrac.org
Sun Sep 11 13:42:33 CEST 2011
Hi Baptiste,
You could just replace the references to html-mode with some other
mode. By my reading there are 3 such references. It would be nice to
have a general framework that somehow automatically detected the
appropriate modes, but that's beyond me. (I also have approximately
zero experience with emacs lisp). Perhaps this Org-Babel thing would
be better, I haven't looked into it yet.
Cheers
Felix
On 10 September 2011 11:38, baptiste auguie
<baptiste.auguie at googlemail.com> wrote:
> Hi,
>
> How hard would it be to modify this script for markdown + R or
> asciidoc + R in brew, instead of html? I have no experience in emacs
> lisp.
>
> Best regards,
>
> baptiste
>
>
> On 10 September 2011 11:14, Felix Andrews <felix at nfrac.org> wrote:
>> Hi,
>>
>> The multi-mode based solution works fine except for one annoyance:
>>
>> If you move the point over the separator between HTML and R (ie. <% or
>> %>) the mark seems to disappear, making it hard to select a block of
>> text.
>>
>> Actually the same problem happens in the standard Sweave mode too.
>>
>> Cheers
>> Felix
>>
>> On 10 September 2011 00:04, Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk> wrote:
>>> Sven Hartenstein <lists at svenhartenstein.de> wrote:
>>>
>>>>
>>>> Thank you very much for all your answers!
>>>>
>>>> I followed the link which Felix sent and it works perfectly! Great to
>>>> have easy "brewing" now, thanks!
>>>>
>>>> (ESS core, would that be something to include into ESS? I don't know
>>>> how many brew users are out there, though. And the solution is for R
>>>> and HTML only; a more general solution for R and "whatever else" might
>>>> be preferable. I am not able to assess how this could be done.)
>>>
>>> I am keen at getting noweb-mode.el updated, which would mean us
>>> including multi-mode.el, which this brew solution uses.
>>>
>>> However, for now, why not just write a short note on the emacswiki so
>>> that other users can easily find Felix's nice package?
>>>
>>> http://www.emacswiki.org/emacs/EmacsSpeaksStatistics
>>>
>>> Stephen
>>>
>>> ______________________________________________
>>> ESS-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>>
>>
>>
>>
>> --
>> Felix Andrews / 安福立
>> http://www.neurofractal.org/felix/
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
--
Felix Andrews / 安福立
http://www.neurofractal.org/felix/
More information about the ESS-help
mailing list