emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Status of org-babel lua / ob-lua.el
@ 2017-11-24 10:06 Jakob Simeth
  2017-11-24 10:41 ` Neil Jerram
  0 siblings, 1 reply; 3+ messages in thread
From: Jakob Simeth @ 2017-11-24 10:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

Hi,

I seem to have problems with lua source blocks (others are working
fine): When evaluating a simple block like

#+BEGIN_SRC lua
print("Hello world!")
#+END_SRC

I get an empty RESULT block, and the message "evaluation complete".
I am running org-9.1.3 (within the spacemacs org layer).

Is lua still officially supported? ob-lua.el seems to be part of
org-plus-contrib and lua is listed on
http://orgmode.org/org.html#Languages

However, not on
http://orgmode.org/worg/org-contrib/babel/languages.html

Is there a way to "debug" this?

Thank you,
Jakob


-- 
Jakob Simeth
===================================================================
GPG:                       AD0B55F959F83D14C6CA28153BE2F106425CBE4E

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: Status of org-babel lua / ob-lua.el
  2017-11-24 10:06 Status of org-babel lua / ob-lua.el Jakob Simeth
@ 2017-11-24 10:41 ` Neil Jerram
  2017-11-24 12:22   ` Jakob Simeth
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Jerram @ 2017-11-24 10:41 UTC (permalink / raw)
  To: emacs-orgmode, Jakob Simeth

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

I'm completely guessing - but does it help to add :results output ?

On 24 November 2017 10:06:12 GMT+00:00, Jakob Simeth <mailinglists@simeth.tk> wrote:
>Hi,
>
>I seem to have problems with lua source blocks (others are working
>fine): When evaluating a simple block like
>
>#+BEGIN_SRC lua
>print("Hello world!")
>#+END_SRC
>
>I get an empty RESULT block, and the message "evaluation complete".
>I am running org-9.1.3 (within the spacemacs org layer).
>
>Is lua still officially supported? ob-lua.el seems to be part of
>org-plus-contrib and lua is listed on
>http://orgmode.org/org.html#Languages
>
>However, not on
>http://orgmode.org/worg/org-contrib/babel/languages.html
>
>Is there a way to "debug" this?
>
>Thank you,
>Jakob
>
>
>-- 
>Jakob Simeth
>===================================================================
>GPG:                       AD0B55F959F83D14C6CA28153BE2F106425CBE4E

[-- Attachment #2: Type: text/html, Size: 1240 bytes --]

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

* Re: Status of org-babel lua / ob-lua.el
  2017-11-24 10:41 ` Neil Jerram
@ 2017-11-24 12:22   ` Jakob Simeth
  0 siblings, 0 replies; 3+ messages in thread
From: Jakob Simeth @ 2017-11-24 12:22 UTC (permalink / raw)
  To: Neil Jerram; +Cc: Jakob Simeth, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

Aaah, that is an embarrassingly simple solution. It seems that this option is
default in most of the other org-babel languages and I didn't know about
it.

Works now. Many thanks!

Jakob


Neil Jerram <neil@ossau.homelinux.net> writes:

> I'm completely guessing - but does it help to add :results output ?
>
> On 24 November 2017 10:06:12 GMT+00:00, Jakob Simeth <mailinglists@simeth.tk> wrote:
>>Hi,
>>
>>I seem to have problems with lua source blocks (others are working
>>fine): When evaluating a simple block like
>>
>>#+BEGIN_SRC lua
>>print("Hello world!")
>>#+END_SRC
>>
>>I get an empty RESULT block, and the message "evaluation complete".
>>I am running org-9.1.3 (within the spacemacs org layer).
>>
>>Is lua still officially supported? ob-lua.el seems to be part of
>>org-plus-contrib and lua is listed on
>>http://orgmode.org/org.html#Languages
>>
>>However, not on
>>http://orgmode.org/worg/org-contrib/babel/languages.html
>>
>>Is there a way to "debug" this?
>>
>>Thank you,
>>Jakob
>>
>>
>>-- 
>>Jakob Simeth
>>===================================================================
>>GPG:                       AD0B55F959F83D14C6CA28153BE2F106425CBE4E


-- 
Jakob Simeth
===================================================================
GPG:                       AD0B55F959F83D14C6CA28153BE2F106425CBE4E

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2017-11-24 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 10:06 Status of org-babel lua / ob-lua.el Jakob Simeth
2017-11-24 10:41 ` Neil Jerram
2017-11-24 12:22   ` Jakob Simeth

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