[ESS] Polymode is on MELPA

Vitalie Spinu spinuvit at gmail.com
Mon Sep 15 02:30:51 CEST 2014



Org mode is not really tested. I included it as a proof of concept. It
worked for me but admittedly with occasional stallings as you described.

The work on polymode got stuck a bit as Emacs folks strongly discourage
inderect buffer usage. So I will have to remove indirect buffers from
the picture. This will solve all the font-locking problems as the one
you have described.

I suggest that you stick with what you know works best for now.

   Vitalie

 >>> Andreas Leha on Sun, 14 Sep 2014 23:38:02 +0100 wrote:

 > Hi Vitali,

 > Finally, I got round to give this a try.  I can't get polymode to load,
 > though.

 > I have an org mode file and do M-x ploy-org-mode and what I get is a
 > message in the minibuffer saying 'Not enabling jit-lock: it does not
 > work in inderect buffer' and emacs is unresponsive, so that it does not
 > react to C-G and I have to kill it.

 > I get the same using emacs -Q loading only org-mode, ess and poly-mode.

 > This is on
 > - OS X 10.9.4
 > - GNU Emacs 24.4.50.1
 > - poly-mode from git
 > - Org-mode version 8.2.6 (if important)

 > Any suggestions?

 > Thanks,
 > Andreas

 > Vitalie Spinu <spinuvit at gmail.com> writes:
 >> >>> Andreas Leha on Wed, 14 May 2014 23:13:15 +0100 wrote:
 >> 
 >> > Hi Vitalie,
 >> > Vitalie Spinu <spinuvit at gmail.com> writes:
 >> 
 >> [...]
 >> 
 >> > I am in the same position as Grant.  And I do not want to wait for
 >> > the docs ;-)
 >> 
 >> The docs are for developers and people who want to understand how it
 >> works. Users can start right away.
 >> 
 >> > What is still not obvious to me: Is it a
 >> > 'multiple-modes-in-the-same-buffer-mode' or is it a literate
 >> > programming tool (with weaving/export functionality).  Or both?
 >> 
 >> It is an interface that puts all together. First, it manages multiple
 >> normal emacs modes in the same buffer transparently for the
 >> user. Second, it makes literate programming tools (pandoc, knitr,
 >> sweave, pdflatex, org-mode exporter etc) readily available in the
 >> polymode buffers.
 >> 
 >> > Basically, I also have a more specific follow-up question.  If
 >> > polymode tries to play well with 'the plethora of literate
 >> > programming tools out there', does it integrate with orgmode?  And if
 >> > so, to what extent?  Are the mode switching capabilities available in
 >> > orgmode documents already?
 >> 
 >> Orgmode is there. There is even a screenshot on the main page. I didn't
 >> test it much as I am not using orgmode for literate programming, but it
 >> seems to work. Orgmode exporting facilities are not yet encapsulated
 >> into a polymode exporter, but you can always call org exporter directly
 >> from org code span.
 >> 
 >> Vitalie
 >> 
 >> ______________________________________________
 >> 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



More information about the ESS-help mailing list