emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Automatically insert R source code block?


From: Rainer M Krug
Subject: Re: [O] Automatically insert R source code block?
Date: Fri, 16 Sep 2011 10:49:06 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/09/11 02:22, Michael Hannon wrote:
>> From: suvayu ali <address@hidden>
>> 
>> Hey Mike,
>> 
>> On Fri, Sep 16, 2011 at 1:18 AM, Michael Hannon
>> <address@hidden>
> wrote:
>>> but Emacs complains about an "org-mode fontification error"
>>> and
> doesn't give
>>> me an executable R source-code block.  I've tried numerous
>>> minor
> variations
>>> on this theme, but I don't think it's worth wasting your time
>>> by
> listing all
>>> of the thrashing I've done.  The solution is probably obvious
>>> to
> people with
>>> a decent understanding of elisp.
>>> 
>> 
>> Do you have org-src-fontify-natively set to t? If so I am taking
>> a shot in the dark here, emacs probably doesn't know how to
>> fontify R source. Do you have emacs-ess installed? I would expect
>> an error like this if its not.
>> 
>> But I could be wrong here as I don't use either of emacs-ess or
>> R.
> 
> Hi, Suvayu.  The variable org-src-fontify-natively was set to nil,
> but I get the same result with it set to 't'.
> 
> I do have Emacs-ess installed.
> 
> I've been assuming that I was just messing up the syntax, but maybe
> there's something deeper involved.
> 
> Thanks for your note.

Don't worry - try to insert the <s template and observe - the error is
also there (at least most of the time).
But as soon as I go into the code block, everything is fine - so I
would not worry to much, but to hope that this will be fixed?

org version:
Org-mode version 7.7 (release_7.7.285.ge73b)
and
Org-mode version 7.7 (release_7.7.291.g37db)

Rainer
> 
> -- Mike
> 
> 
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5zDYIACgkQoYgNqgF2egr3cACdG2UdRP9ykebSD6f746C3h3CQ
uv4AnA+8KjVna9H5jkllrvM1L9GM0tlK
=nnRu
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]