emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-export-blocks-preprocess: Marker does not point anywhere
@ 2012-03-01  2:58 Matthew Landis
  2012-03-01  5:47 ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Landis @ 2012-03-01  2:58 UTC (permalink / raw)
  To: emacs-orgmode

Hello orgmode fans,

Another issue with org and R giving me headaches tonight.

In the example below, using the :session header argument seems to cause 
problems with export to html.  On export, the *R* buffer is opened up, 
but no file is created.  in the *Messages* buffer, I see

org-export-blocks-preprocess: Marker does not point anywhere

however, if I try to export again, with the *R* buffer already open, 
then things work fine.  This is an OK work around I guess, but I thought 
someone ought to know about it.

Session info:
Windows 7, 64 bit.
Emacs version: GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04 on 
MARVIN
Org mode version 7.8.03
ESS version 5.14
R version 2.14.1

M

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew Landis, Ph.D.
Research Scientist
ISciences, LLC
61 Main St. Suite 200
Burlington VT 05401
802.864.2999
www.isciences.com
~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-export-blocks-preprocess: Marker does not point anywhere
  2012-03-01  2:58 org-export-blocks-preprocess: Marker does not point anywhere Matthew Landis
@ 2012-03-01  5:47 ` Nick Dokos
  2012-03-01 13:31   ` Matthew Landis
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2012-03-01  5:47 UTC (permalink / raw)
  To: Matthew Landis; +Cc: nicholas.dokos, emacs-orgmode

Matthew Landis <landis@isciences.com> wrote:

> Hello orgmode fans,
> 
> Another issue with org and R giving me headaches tonight.
> 
> In the example below, using the :session header argument seems to

I guess you forgot to include the example?

Nick

> cause problems with export to html.  On export, the *R* buffer is
> opened up, but no file is created.  in the *Messages* buffer, I see
> 
> org-export-blocks-preprocess: Marker does not point anywhere
> 
> however, if I try to export again, with the *R* buffer already open,
> then things work fine.  This is an OK work around I guess, but I
> thought someone ought to know about it.
> 
> Session info:
> Windows 7, 64 bit.
> Emacs version: GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04
> on MARVIN
> Org mode version 7.8.03
> ESS version 5.14
> R version 2.14.1
> 
> M
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> Matthew Landis, Ph.D.
> Research Scientist
> ISciences, LLC
> 61 Main St. Suite 200
> Burlington VT 05401
> 802.864.2999
> www.isciences.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-export-blocks-preprocess: Marker does not point anywhere
  2012-03-01  5:47 ` Nick Dokos
@ 2012-03-01 13:31   ` Matthew Landis
  2012-03-01 15:38     ` Nick Dokos
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Landis @ 2012-03-01 13:31 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

On 3/1/2012 12:47 AM, Nick Dokos wrote:
> Matthew Landis<landis@isciences.com>  wrote:
>
>> Hello orgmode fans,
>>
>> Another issue with org and R giving me headaches tonight.
>>
>> In the example below, using the :session header argument seems to cause problems with export to html.  On export, the *R* buffer is
>> opened up, but no file is created.  in the *Messages* buffer, I see
>>
>> org-export-blocks-preprocess: Marker does not point anywhere
>>
>> however, if I try to export again, with the *R* buffer already open,
>> then things work fine.  This is an OK work around I guess, but I
>> thought someone ought to know about it.
>>
>> Session info:
>> Windows 7, 64 bit.
>> Emacs version: GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04
>> on MARVIN
>> Org mode version 7.8.03
>> ESS version 5.14
>> R version 2.14.1
Example now included! (Thanks Nick, for pointing that out...)

#+begin_src R :session :exports code :results silent

   x <- runif(n = 100, min = 0, max = 20)
   y <- 4*x^2 + 0.3*x + 3 + rnorm(100, sd = 200)

#+end_src

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-export-blocks-preprocess: Marker does not point anywhere
  2012-03-01 13:31   ` Matthew Landis
@ 2012-03-01 15:38     ` Nick Dokos
  2012-03-02 17:29       ` Matthew Landis
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Dokos @ 2012-03-01 15:38 UTC (permalink / raw)
  To: Matthew Landis; +Cc: nicholas.dokos, emacs-orgmode

Matthew Landis <landis@isciences.com> wrote:

> On 3/1/2012 12:47 AM, Nick Dokos wrote:
> > Matthew Landis<landis@isciences.com>  wrote:
> >
> >> Hello orgmode fans,
> >>
> >> Another issue with org and R giving me headaches tonight.
> >>
> >> In the example below, using the :session header argument seems to cause problems with export to html.  On export, the *R* buffer is
> >> opened up, but no file is created.  in the *Messages* buffer, I see
> >>
> >> org-export-blocks-preprocess: Marker does not point anywhere
> >>
> >> however, if I try to export again, with the *R* buffer already open,
> >> then things work fine.  This is an OK work around I guess, but I
> >> thought someone ought to know about it.
> >>
> >> Session info:
> >> Windows 7, 64 bit.
> >> Emacs version: GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04
> >> on MARVIN
> >> Org mode version 7.8.03
> >> ESS version 5.14
> >> R version 2.14.1
> Example now included! (Thanks Nick, for pointing that out...)
> 
> #+begin_src R :session :exports code :results silent
> 
>    x <- runif(n = 100, min = 0, max = 20)
>    y <- 4*x^2 + 0.3*x + 3 + rnorm(100, sd = 200)
> 
> #+end_src

I can't reproduce it either with latest (more or less) or with 7.8.03.
The html export succeeds and the code is exported, pdf export (with
minted) succeeds except that the code block is not processed, because
there is no minted lexer for R (at least in my setup). But I get no
error.

Nick

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-export-blocks-preprocess: Marker does not point anywhere
  2012-03-01 15:38     ` Nick Dokos
@ 2012-03-02 17:29       ` Matthew Landis
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Landis @ 2012-03-02 17:29 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <nicholas.dokos <at> hp.com> writes:

> 
> Matthew Landis <landis <at> isciences.com> wrote:

> 
> I can't reproduce it either with latest (more or less) or with 7.8.03.
> The html export succeeds and the code is exported, pdf export (with
> minted) succeeds except that the code block is not processed, because
> there is no minted lexer for R (at least in my setup). But I get no
> error.
> 
> Nick

Well, thanks for trying.  In my current work flow, I tend to have an R session 
running before I try to export, so I'm not troubled by this anymore.  I guess 
I'll just wait until it's a problem.

M

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-02 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01  2:58 org-export-blocks-preprocess: Marker does not point anywhere Matthew Landis
2012-03-01  5:47 ` Nick Dokos
2012-03-01 13:31   ` Matthew Landis
2012-03-01 15:38     ` Nick Dokos
2012-03-02 17:29       ` Matthew Landis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).