emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-rec.el
@ 2015-05-16  1:18 Charles Millar
  2015-05-16  3:07 ` ob-rec.el Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Millar @ 2015-05-16  1:18 UTC (permalink / raw)
  To: emacs-orgmode

It appears that ob-rec.el is in org-mode - somewhere - because when I 
evaluate

#+begin_src rec :data Testrec2.rec

#+end_src

the output in the is

no org-babel execute function for rec

However once I add (rec . t) to my org-babel-load-languages and restart 
emacs and then evaluate the block, etc.

#+begin_src rec :data Testrec2.rec

#+end_src

#+RESULTS:
| %Bar        | %Baz        |
|--------------+---    --------|
| entrybar1 | entrybaz1 |
| entrybar2 | entrybaz2 |

So first question - where is ob-rec.el in org-mode?

Second - should rec-utils be added as a supported language or should 
some reference be made so that users know to add (rec . t) to their 
org-babel-load-languages, if so desired?

Charlie

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

* Re: ob-rec.el
  2015-05-16  1:18 ob-rec.el Charles Millar
@ 2015-05-16  3:07 ` Nick Dokos
  2015-05-16 11:05   ` ob-rec.el Charles Millar
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2015-05-16  3:07 UTC (permalink / raw)
  To: emacs-orgmode

Charles Millar <millarc@verizon.net> writes:

> It appears that ob-rec.el is in org-mode - somewhere - because when I 
> evaluate
>
> #+begin_src rec :data Testrec2.rec
>
> #+end_src
>
>
> the output in the is
>
> no org-babel execute function for rec
>
> However once I add (rec . t) to my org-babel-load-languages and restart 
> emacs and then evaluate the block, etc.
>
> #+begin_src rec :data Testrec2.rec
>
> #+end_src
>
> #+RESULTS:
> | %Bar        | %Baz        |
> |--------------+---    --------|
> | entrybar1 | entrybaz1 |
> | entrybar2 | entrybaz2 |
>
> So first question - where is ob-rec.el in org-mode?
>

M-x locate-library RET ob-rec RET

In my case, ob-rec was not present (but see below).


> Second - should rec-utils be added as a supported language or should 
> some reference be made so that users know to add (rec . t) to their 
> org-babel-load-languages, if so desired?
>

I downloaded recutils-1.7.tar.gz from http://ftp.gnu.org/gnu/recutils/
and, after unpacking it, found rec-mode.el and ob-rec.el in the etc/
subdirectory of the unpacked tarball.

Maybe you can add a pointer to where to get it (and a few words about
what it does) to

   http://orgmode.org/worg/org-contrib/babel/languages.html

on Worg. N.B. the language should be "rec", not "rec-utils".

-- 
Nick

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

* Re: ob-rec.el
  2015-05-16  3:07 ` ob-rec.el Nick Dokos
@ 2015-05-16 11:05   ` Charles Millar
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Millar @ 2015-05-16 11:05 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Jose E. Marchesi



On 05/15/2015 11:07 PM, Nick Dokos wrote:
> Charles Millar <millarc@verizon.net> writes:
>
>> It appears that ob-rec.el is in org-mode - somewhere - because when I
>> evaluate
>>
>> #+begin_src rec :data Testrec2.rec
>>
>> #+end_src
>>
>>
>> the output in the is
>>
>> no org-babel execute function for rec
>>
>> However once I add (rec . t) to my org-babel-load-languages and restart
>> emacs and then evaluate the block, etc.
>>
>> #+begin_src rec :data Testrec2.rec
>>
>> #+end_src
>>
>> #+RESULTS:
>> | %Bar        | %Baz        |
>> |--------------+---    --------|
>> | entrybar1 | entrybaz1 |
>> | entrybar2 | entrybaz2 |
>>
>> So first question - where is ob-rec.el in org-mode?
>>
> M-x locate-library RET ob-rec RET
>
> In my case, ob-rec was not present (but see below).
>
>
>> Second - should rec-utils be added as a supported language or should
>> some reference be made so that users know to add (rec . t) to their
>> org-babel-load-languages, if so desired?
>>
> I downloaded recutils-1.7.tar.gz from http://ftp.gnu.org/gnu/recutils/
> and, after unpacking it, found rec-mode.el and ob-rec.el in the etc/
> subdirectory of the unpacked tarball.

Thanks Nick. For me it ob-rec.el is hiding in plain sight - it is in my 
emacs/site-lisp directory by itself since I unpacked the tarball in that 
directory.Per your instruction, I used M-x locate-library and there it 
was and is.

> Maybe you can add a pointer to where to get it (and a few words about
> what it does) to
>
>     http://orgmode.org/worg/org-contrib/babel/languages.html
>
> on Worg. N.B. the language should be "rec", not "rec-utils".
>
I would like to give it a shot however I believe that Jose Marchesi the 
person for this.

Charlie

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

end of thread, other threads:[~2015-05-16 11:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-16  1:18 ob-rec.el Charles Millar
2015-05-16  3:07 ` ob-rec.el Nick Dokos
2015-05-16 11:05   ` ob-rec.el Charles Millar

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).