Re: [O] [babel] Is Org Babel an X11 application?
Rick Frankel writes: Hi Eric, Hi Rick, > Are you running babel code which generates images (e.g., dot, mscgen, > etc.)? > If so, check if =org-display-inline-images= is being executed in the > =org-babel-after-execute-hook=. It automatically replaces the file link > results with the inline image, therefore requiring a GUI emacs. Yes, that was the culprit: ,--- | org-babel-after-execute-hook is a variable defined in `ob.el'. | Its value is (org-display-inline-images) `--- thanks for the tip -- cheers, Thorsten
Re: [O] [babel] Is Org Babel an X11 application?
On 02.03.2012 02:11, Thorsten wrote: Hi List, results of code block evaluations seem to be inserted as pictures in the org document - and need X11 or there is an error message. Is that true - Org Babel only works in an X11 session and not on the console? Or is there some configuration/trick to make it work on a console too? Are you running babel code which generates images (e.g., dot, mscgen, etc.)? If so, check if =org-display-inline-images= is being executed in the =org-babel-after-execute-hook=. It automatically replaces the file link results with the inline image, therefore requiring a GUI emacs. rick
Re: [O] [babel] Is Org Babel an X11 application?
Can you provide a minimal example? I have a similar usage pattern (emacs daemon and a mixture of X11 and screen Emacs windows) and I have never experienced what you describe. Also, try to reproduce with Emacs -Q, maybe you have some inline-image configuration set. Best, Thorsten writes: > Hi List, > > having figured out that it is really nice to have one emacs daemon > running and then open several emacsclient-windows managed by tmux (a > modern gnu screen) instead of winring.el e.g (a console session) > I tried to use Org Babel with that setting. Only to find out that the > results of code block evaluations seem to be inserted as pictures in the > org document - and need X11 or there is an error message. > > Is that true - Org Babel only works in an X11 session and not on the > console? Or is there some configuration/trick to make it work on a > console too? -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] [babel] Is Org Babel an X11 application?
Hi List, having figured out that it is really nice to have one emacs daemon running and then open several emacsclient-windows managed by tmux (a modern gnu screen) instead of winring.el e.g (a console session) I tried to use Org Babel with that setting. Only to find out that the results of code block evaluations seem to be inserted as pictures in the org document - and need X11 or there is an error message. Is that true - Org Babel only works in an X11 session and not on the console? Or is there some configuration/trick to make it work on a console too? -- cheers, Thorsten