emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: Michael Hannon <jm_hannon@yahoo.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Automatically insert R source code block?
Date: Fri, 16 Sep 2011 10:49:06 +0200	[thread overview]
Message-ID: <4E730D82.2060603@gmail.com> (raw)
In-Reply-To: <1316132579.54211.YahooMailNeo@web161920.mail.bf1.yahoo.com>

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

On 16/09/11 02:22, Michael Hannon wrote:
>> From: suvayu ali <fatkasuvayu+linux@gmail.com>
>> 
>> Hey Mike,
>> 
>> On Fri, Sep 16, 2011 at 1:18 AM, Michael Hannon
>> <jm_hannon@yahoo.com>
> 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:      Rainer@krugs.de

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	other threads:[~2011-09-16  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 23:18 Automatically insert R source code block? Michael Hannon
2011-09-15 23:58 ` suvayu ali
2011-09-16  0:22   ` Michael Hannon
2011-09-16  8:49     ` Rainer M Krug [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E730D82.2060603@gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jm_hannon@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).