tag:blogger.com,1999:blog-3992530807750384868.post2556299854516999420..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: executable source code blocks with org-babelUnknownnoreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3992530807750384868.post-66853954862355542572012-07-04T18:46:42.494+03:002012-07-04T18:46:42.494+03:00When i say Org Edit Example to python code, then c...When i say Org Edit Example to python code, then code open in new buffer. But when i try to save edited code, then it ask me name of file where i will be save code. And then doesn't return code to org-mode.pimientohttps://www.blogger.com/profile/15522413746771127459noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-4306681982355353082012-02-03T06:15:35.537+02:002012-02-03T06:15:35.537+02:00Hi Michael King, please use c++ instead of C++. I ...Hi Michael King, please use c++ instead of C++. I had similar problem in org2blog.Wuhttps://www.blogger.com/profile/16292382609235179041noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-6683252831247978032011-03-06T18:19:40.092+02:002011-03-06T18:19:40.092+02:00I quickly figured out that the org-mode version th...I quickly figured out that the org-mode version that I was using was the one that shipped with emacs 23.2, which I believe was 6.44 or something. After downloading org-mode 7.4 from the website, all is well.<br /><br />However, when I add "(C++ . t)" to the org-babel-load-languages variable, I get the error "File error: Cannot open load file, ob-C++". However, this is how the C++ identifier is listed on the org website. <br /><br />Anyone else run into this issue?Michael Kinghttps://www.blogger.com/profile/01397326230451320080noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-91706663348357367002011-03-04T21:56:05.305+02:002011-03-04T21:56:05.305+02:00I am running a compiled version of emacs 23.2, but...I am running a compiled version of emacs 23.2, but do not seem to have the ability to evaluate source code with babel. The command org-confirm-babel-evaluate is not available at emacs runtime and setting org-babel-do-load-languages gives an emacs initialization error. "Symbol's function definition is void".<br /><br />Did I not have some library installed at emacs compile time that babel needed? Thanks in advance for any help you can give.Michael Kinghttps://www.blogger.com/profile/01397326230451320080noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-1113456843246688252011-03-01T00:59:20.043+02:002011-03-01T00:59:20.043+02:00Setting org-confirm-babel-evaluate to nil all the ...Setting org-confirm-babel-evaluate to nil all the time is dicey, so you might be better off recommending ``C-u M-x set-variable RET org-confirm-babel-evaluate RET nil RET'', which turns off confirmations only in that buffer and in that session.yandroshttps://www.blogger.com/profile/06748159207603412737noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-4443937256745389312011-02-28T16:15:09.975+02:002011-02-28T16:15:09.975+02:00Hi,
Thanks for your post ! Just to mention that y...Hi,<br /><br />Thanks for your post ! Just to mention that you can insert #BEGIN_SRC and +END_SRC pairs with just a few key strokes : type '<s' followed by TAB and you get the block ;-)<br /><br />http://orgmode.org/manual/Easy-Templates.htmlMichaël Bruneelhttp://www.alethes.benoreply@blogger.com