Re: [O] Release 8.0
I wanted to report that the problem seems to be solved in the latest release. I just compiled and ran all the tests (including the maxima ones) without a hitch on my Mac (OSX 10.8.3, Emacs 24.3.1) On Apr 18, 2013, at 8:01 PM, Achim Gratz strom...@nexgo.de wrote: Neuwirth Erich writes: I compiled from the repository after the announcement. On my Mac (OSX 10.8.3, Emacs 24.3.1) the test for maxima still fail. I reported this a few weeks ago. I can't find any post from you on this mailing list that fits that description and your last post mentioning maxima is from March last year. Ran 443 tests, 436 results as expected, 7 unexpected (2013-04-18 19:38:30+0200) 5 expected failures 7 unexpected results: FAILED ob-maxima/integer-input FAILED ob-maxima/list-input FAILED ob-maxima/matrix-output FAILED ob-maxima/simple-list-input FAILED ob-maxima/string-input FAILED ob-maxima/table-input1 FAILED ob-maxima/table-input2 make[1]: *** [test-dirty] Error 1 Well this looks like all maxima tests have failed, so you might want to check if it's correctly configured on your system and/or if there's some extra definition you'll have to give so that the test will find it (it runs from 'emacs -Q', so you'll have to add any extra setup to the config variables that make uses). Also, please trim your quotes. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
[O] Help with beamer
I am preparing a presentation with or-mode and beamer. I am using :PROPERTIES: :BEAMER_envargs: [+-] :END: to make list elements appear one by one. When creating handouts, I want to supress the build effect (it works by creatin many slides unnecessary in printout) Is there a way of using a global variable to enable or disable all these blocks controlling the build effects so I can avoid changing them all one by one?
Re: [O] Help with beamer
Additional question How can I set the BEAMER_envargs property for the whole file? On Apr 4, 2013, at 2:16 PM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: I am preparing a presentation with or-mode and beamer. I am using :PROPERTIES: :BEAMER_envargs: [+-] :END: to make list elements appear one by one. When creating handouts, I want to supress the build effect (it works by creatin many slides unnecessary in printout) Is there a way of using a global variable to enable or disable all these blocks controlling the build effects so I can avoid changing them all one by one?
[O] Maxima tests fail in devel on OSX
I just ran make up1 on the latest version from git and the tests failed on maxima. I have not changed the configuration of maxima since the last tests I ran probably a month ago. 7 unexpected results: FAILED ob-maxima/integer-input FAILED ob-maxima/list-input FAILED ob-maxima/matrix-output FAILED ob-maxima/simple-list-input FAILED ob-maxima/string-input FAILED ob-maxima/table-input1 FAILED ob-maxima/table-input2 make[1]: *** [test-dirty] Error 1 make: *** [up1] Error 2
Re: [O] Further problems with export
I put my old source directory away and started afresh: git clone git://orgmode.org/org-mode.git And I did make up1 sudo make clean-install install When I try to create an open an html file with C-c C-e h o I still get Symbol's value as variable is void: org-element-document-properties Below is what I have changed in my local.mk # Name of your emacs binary #EMACS = emacs EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs # Where local software is found #prefix = /usr/share prefix = /Applications/Emacs.App/Contents/Resources # Where local lisp files go. #lispdir= $(prefix)/emacs/site-lisp/org lispdir= $(prefix)/site-lisp/org # Where local data files go. datadir = $(prefix)/emacs/etc/org datadir = $(prefix)/etc/org # Where info files go. infodir = $(prefix)/info On Mar 14, 2013, at 8:04 AM, Achim Gratz strom...@nexgo.de wrote: Neuwirth Erich writes: I install everything in site-lisp On OSX this is /Applications/Emacs.App/Contents/Resources/site-lisp/org This should be on the load path automatically. And I did not change my configuration and everything worked fine for quite some time. Try make clean-install install to remove any old files you may have there before installing the new ones. Then check your init files to _not_ reference any old exporter files as Emacs may find and load them from the version of Org it is itself delivered with. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[O] Build fail with emacs 24.3.1
I just installed Emacs 24.3.1 on OSX 10.8.2 and tried to build the latest git version of orgmode. It fails. Is this due to the fact that I have a new emacs, or is it a more general problem. Here is the output from building: Ran 428 tests, 426 results as expected, 2 unexpected (2013-03-13 08:36:11+0100) 5 expected failures 2 unexpected results: FAILED test-org-export/define-derived-backend FAILED test-org-export/derived-backend-p make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2
[O] Further problems with export
After being able to build again, I cannot export now. In my .emacs I have ;; using the new exporter (define-key org-mode-map (kbd C-c C-e) 'org-export-dispatch) When I try to export with C-c C-e I get a window with the menu for the export commands, and a prompt Export command: in the bottom line (minibuffer window) When I then press h (one of the highlighted keys) the shortcut keys listed under the Export to HTML item become highlighted (red) and when I then press o which should export to html and open the file the minibuffer displays Symbol's function definition is void: org-export-blocks-preprocess The same problem occurs for any other export option I tried. How can I make things work again?
Re: [O] Further problems with export
I found that I need to add (require 'org-exp-blocks) to my .emacs But now I get another error: Symbol's value as variable is void: org-agenda-export-html-style My guess is that I need another require in .emacs Please help ,me what I need to do. Currently I do -=-=-=-=-=-=-=-=-= (require 'org) (require 'org-e-latex) (require 'org-e-html) (require 'org-e-beamer) (require 'org-e-ascii) (require 'org-e-odt) (require 'org-exp-blocks) (global-set-key (kbd C-c C-e) 'org-export-dispatch) (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) (add-hook 'org-mode-hook 'org-display-inline-images) (setq org-confirm-babel-evaluate nil) (setq org-export-html-validation-link nil) (setq org-export-allow-BIND t) (setq org-support-shift-select t) (setq org-src-fontify-natively t) (setq org-support-shift-select t) (setq org-src-fontify-natively t) On Mar 13, 2013, at 3:16 PM, Bastien b...@altern.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: How can I make things work again? Provided you installed Org correctly, restarting Emacs will do. -- Bastien
Re: [O] Further problems with export
I install everything in site-lisp On OSX this is /Applications/Emacs.App/Contents/Resources/site-lisp/org This should be on the load path automatically. And I did not change my configuration and everything worked fine for quite some time. On Mar 13, 2013, at 11:56 PM, Bastien b...@altern.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Symbol's value as variable is void: org-agenda-export-html-style How do you get this error? My guess is that I need another require in .emacs (require 'org) is the only thing you need. If you add requires for org-e-* libraries, then you need to set the load-path correctly -- did you do so? -- Bastien
Re: [O] Further problems with export
OK, one of my problems was that I did not notice that Emacs itself has org in its lisp directory. So I had two versions. So I started again and did a fresh install of Emacs but I also had a version installed in my ~/.emacs.d/elpa and then I installed a third version in site-lisp Of cours, that way I got an messy installation. I am cleaning up now. When I try to build from the git version, I now get an error: In toplevel form: org-special-blocks.el:40:1:Error: Cannot open load file: org-html Compiling /Users/neuwirth/devel/org-mode/lisp/org-version.el... This happened after I removed the original list/org that came with Emacs. What can I do about that? Do I need to keep the org files that came with Emacs?
Re: [O] Further problems with export
Further investigation shows that in the git version org-special-blocks.el contains (require org-html) but no file org-html.el exists. How can I solve this problem? On Mar 14, 2013, at 2:15 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OK, one of my problems was that I did not notice that Emacs itself has org in its lisp directory. So I had two versions. So I started again and did a fresh install of Emacs but I also had a version installed in my ~/.emacs.d/elpa and then I installed a third version in site-lisp Of cours, that way I got an messy installation. I am cleaning up now. When I try to build from the git version, I now get an error: In toplevel form: org-special-blocks.el:40:1:Error: Cannot open load file: org-html Compiling /Users/neuwirth/devel/org-mode/lisp/org-version.el... This happened after I removed the original list/org that came with Emacs. What can I do about that? Do I need to keep the org files that came with Emacs?
Re: [O] Further problems with export
So for a try I changed (require org-html) to (require ox-html) I could build it, and with the git version of org being the only version in the load-path I tried to export a file as html file C-c C-e h o and then I get Symbol's value as variable is void: org-element-document-properties What next? On Mar 14, 2013, at 2:25 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: Further investigation shows that in the git version org-special-blocks.el contains (require org-html) but no file org-html.el exists. How can I solve this problem? On Mar 14, 2013, at 2:15 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OK, one of my problems was that I did not notice that Emacs itself has org in its lisp directory. So I had two versions. So I started again and did a fresh install of Emacs but I also had a version installed in my ~/.emacs.d/elpa and then I installed a third version in site-lisp Of cours, that way I got an messy installation. I am cleaning up now. When I try to build from the git version, I now get an error: In toplevel form: org-special-blocks.el:40:1:Error: Cannot open load file: org-html Compiling /Users/neuwirth/devel/org-mode/lisp/org-version.el... This happened after I removed the original list/org that came with Emacs. What can I do about that? Do I need to keep the org files that came with Emacs?
[O] build fails
I am using OSX 10.8.2 and Emacs 2.24.1 I am trying to build org-mode from the current version in git, and I get the following errors: Ran 423 tests, 419 results as expected, 4 unexpected (2013-03-03 13:23:56+0100) 5 expected failures 4 unexpected results: FAILED test-org-table/references/format-specifier-E FAILED test-org-table/references/format-specifier-EL FAILED test-org-table/references/format-specifier-L FAILED test-org-table/references/format-specifier-none make[1]: *** [test-dirty] Error 1
Re: [O] bug: org-export-preprocess-string: Wrong number of arguments when doing org-export-as-html
As I learned the correct name for elisp to use with begin_src is emacs-lisp, not elisp On Feb 28, 2013, at 12:13 PM, Achim Gratz strom...@nexgo.de wrote: Karl Voit devnull at Karl-Voit.at writes: #+BEGIN_SRC elisp (org-export-as-html 3 nil nil htmlized-output nil nil) #+END_SRC Am I doing something wrong or is this a bug? You are trying to use the old exporter and pick up code from an earlier version of Org. Regards, Achim.
[O] R code, LaTex export of tables
The following piece of code produced nicely formatted table some time ago when exported through LaTex. It comes from http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html #+BEGIN_SRC R :results output org :exports both library(ascii) a - runif(100) c - Quantiles of 100 random numbers b - ascii(quantile(a),header=TRUE,include.colnames=TRUE) print(b,type=org) rm(a,b,c) #+END_SRC When I tried again now, it renders the table as org source code for tables |0% |25% |50% |75% |100%| |--+--+--+--+--| | 0.01 | 0.26 | 0.51 | 0.76 | 1.00 | And does not format it nicely. How can I make this work the old way?
[O] Builds on OSX fails recently
On OSX 10.8.2 with Emacs 24.2.1 when trying make up2 I get Ran 334 tests, 333 results as expected, 1 unexpected (2012-12-14 18:29:01+0100) 5 expected failures 1 unexpected results: FAILED test-org-src/blank-line-block make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 Yestereday, building worked without this problem.
Re: [O] Test fails ons OSX
Now i can build again! On Nov 3, 2012, at 11:12 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: Sorry, this is when running make up2 (not make update2) On Nov 3, 2012, at 10:38 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
[O] Test fails ons OSX
OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
Re: [O] Test fails ons OSX
Sorry, this is when running make up2 (not make update2) On Nov 3, 2012, at 10:38 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: OSX 10.8.2 Emacs 24.2.1 SInce a few days now I get errors when I run make update2 Ran 330 tests, 329 results as expected, 1 unexpected (2012-11-03 10:35:01+0100) 4 expected failures 1 unexpected results: FAILED test-org/end-of-line make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 And during the tests I see: Test test-org/end-of-line backtrace: signal(ert-test-failed (((should-not (org-test-with-temp-text #+BEG ert-fail(((should-not (org-test-with-temp-text #+BEGIN_CENTER\nCont (if (not (unwind-protect (setq value-4865 (let ((temp-buffer (genera (unless (not (unwind-protect (setq value-4865 (let ((temp-buffer (ge (let (form-description-4866) (unless (not (unwind-protect (setq valu (let ((value-4865 (ert--gensym ert-form-evaluation-aborted-))) (le (should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+EN (lambda nil (should (org-test-with-temp-text Some text\nSome other byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/end-of-line Test `org-end ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org/end-of-line condition: (ert-test-failed ((should-not (org-test-with-temp-text #+BEGIN_CENTER\nContents\n#+END_CENTER (progn ... ... ...))) :form (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect ... ...))) :value t)) FAILED 313/330 test-org/end-of-line
[O] Build fail on OSX
Until now, I was able to build from git (OSX 10.8.2, Emacs 24.2), but just now make up1 fails with the following error make[1]: Nothing to be done for `all'. rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc install -m 644 -p ../contrib/lisp/org-e-ascii.el ../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el ../contrib/lisp/org-e-html.el ../contrib/lisp/org-e-latex.el ../contrib/lisp/org-e-man.el ../contrib/lisp/org-e-odt.el ../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el ../contrib/lisp/org-md.el ../contrib/lisp/org-export.el . org-version: 7.9.2 (release_7.9.2-390-g50fe7c.dirty) Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)... Wrong number of arguments: (lambda (org-release org-git-version) Make the file org-version.el in the current directory. This function is internally used by the build system and should be used by foreign build systems or installers to produce this file in the installation directory of org-mode. Org will not work correctly if this file is not present (except directly from the Git work tree). (with-temp-buffer (insert ;;; org-version.el --- autogenerated file, do not edit ;; ;;; Code: ;;;###autoload (defun org-release () \The release version of org-mode. Inserted by installing org-mode or when a release is made.\ (let ((org-release \ org-release \)) org-release)) ;;;###autoload (defun org-git-version () \The Git version of org-mode. Inserted by installing org-mode or when a release is made.\ (let ((org-git-version \ org-git-version \)) org-git-version)) (provide 'org-version) ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; coding: utf-8 ;; End: ;;; org-version.el ends here ) (toggle-read-only 0) (write-file org-version.el))), 3 make[1]: *** [org-version.el] Error 255 make: *** [all] Error 2
Re: [O] Build fail on OSX
The probleme persists even if I try what you suggested/ On Oct 3, 2012, at 11:52 AM, Bastien b...@altern.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Until now, I was able to build from git (OSX 10.8.2, Emacs 24.2), but just now make up1 fails with the following error Please git pull manually before using make up1 and let us know if this fixes your problem. Thanks, -- Bastien
Re: [O] Build fail on OSX
I do have my own local.mk (at the end of the message) where set things up OSXwise. I also add things for the new exporter and for R ORG_ADD_CONTRIB = org-e-* org-md org-export # e.g. the new exporter BTEST_EXTRA = ess-site # load ESS for R tests Here is more of my output: Mahler:org-mode neuwirth$ make up0 git remote update Fetching origin git pull Already up-to-date. Mahler:org-mode neuwirth$ make config = Emacs executable and Installation paths EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs DESTDIR = ORGCM = dirall ORG_MAKE_DOC= info html pdf lispdir = /Applications/Emacs.App/Contents/Resources/site-lisp/org infodir = /Applications/Emacs.App/Contents/Resources/info datadir = /Applications/Emacs.App/Contents/Resources/etc/org testdir = /var/folders/cl/zktxb0v51ng7jfv0mspj2w94gn/T//tmp-orgtest = Additional files from contrib/lisp org-e-ascii.el org-e-beamer.el org-e-groff.el org-e-html.el org-e-latex.el org-e-man.el org-e-odt.el org-e-publish.el org-e-texinfo.el org-md.el org-export.el = Org version make: Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty = /Applications/Emacs.App/Contents/Resources/site-lisp/org) make up1 produces (towards the end) make[1]: Nothing to be done for `all'. rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc install -m 644 -p ../contrib/lisp/org-e-ascii.el ../contrib/lisp/org-e-beamer.el ../contrib/lisp/org-e-groff.el ../contrib/lisp/org-e-html.el ../contrib/lisp/org-e-latex.el ../contrib/lisp/org-e-man.el ../contrib/lisp/org-e-odt.el ../contrib/lisp/org-e-publish.el ../contrib/lisp/org-e-texinfo.el ../contrib/lisp/org-md.el ../contrib/lisp/org-export.el . org-version: 7.9.2 (release_7.9.2-399-g2e9427.dirty) Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)... Saving file /Users/neuwirth/devel/org-mode/lisp/org-version.el... Loading vc-git... Wrote /Users/neuwirth/devel/org-mode/lisp/org-version.el org-install: 7.9.2 (release_7.9.2-399-g2e9427.dirty) Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Loading /Users/neuwirth/devel/org-mode/mk/org-fixup.el (source)... Symbol's function definition is void: org-make-org-install make[1]: *** [org-loaddefs.el] Error 255 make: *** [all] Error 2 Here is my local.mk (which worked up until now) local.mk Description: Binary data
Re: [O] Build fail on OSX
The problem was my fault. I simply used the old local.mk. After creating a new local.mk from mk/default.mk and changing the settings in there, building works again. On Oct 3, 2012, at 6:52 PM, Achim Gratz strom...@nexgo.de wrote: Neuwirth Erich writes: = Org version make: Org-mode version 7.9.2 (release_7.9.2-399-g2e9427.dirty = /Applications/Emacs.App/Contents/Resources/site-lisp/org) We still don't know why a freshly pulled Org is dirty. That seems very strange, so again, what is the output of git status? Here is my local.mk (which worked up until now) Remove the part after ##-8--- or compare to mk/default.mk and take note of the changes that have been made there. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
Re: [O] tables once again
Here is my example (slightly modified) again, I still cannot get it to work the way I want it: In my .emacs I have (among other things) (require 'org-install) (require 'org-e-latex) (require 'org-e-html) ;;(require 'org-e-ascii) ;; using the new exporter (global-set-key (kbd C-c C-e) 'org-export-dispatch) Doing C-c C-e still gives me the old dispatcher, not the new one. M-x org-export-dispatch does give me the new dispatcher. How can I bind the new dispatcher to C-c C-e?
[O] (no subject)
I just did make up2 And on OSX 10.8.2 and Emacs 24.2 I get: Ran 208 tests, 207 results as expected, 1 unexpected (2012-09-29 09:27:47+0200) 6 expected failures 1 unexpected results: FAILED test-ob/org-babel-remove-result--results-org make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 Perhaps this is useful information
[O] test fails on OSX
Sorry for the missing subject in the last message, here it is again with a subject line. I just did make up2 And on OSX 10.8.2 and Emacs 24.2 I get: Ran 208 tests, 207 results as expected, 1 unexpected (2012-09-29 09:27:47+0200) 6 expected failures 1 unexpected results: FAILED test-ob/org-babel-remove-result--results-org make[1]: *** [test-dirty] Error 1 make: *** [up2] Error 2 Perhaps this is useful information
[O] tables once again
Bastien, does the current git version contain the new LaTeX exporter? I am asking because I just installed via make up2 (as you noticed) after you fixed the export but and l c r are still not respected in LaTeX export on my Mac. html export works as expected. #+title: Table test ** My Table | Headhead | headhead | headhead | headhead | headhead | headhead | headhead | headhead | |--+--+--+--+--+--+--+--| | l | c | r | | l | c | r | | | 1| 1|1 |1 | aa | aa | aa | aa |
Re: [O] Inline and executing the document
Sorry for not reading the docs carefully enough. I had overlooked :results wrap But even with this options things behave strangely. src_emacs-lisp[:results wrap]{(+ 2 3)} :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: Running the code multiple times in the document produces multiple outputs. I though the whole idea of wrapping was intended to mark results in a way the are replaces when the command is reexecuted. Furthermore, on exporting the keywords :RESULTS: and :END: are written into the exported document (I tried LaTeX+pdf and HTML) Am I still misunderstanding something?
Re: [O] Inline and executing the document
Thank you, this clarified things for me! I will look and suggest a place for mentioning this in the docs. Erich On Sep 20, 2012, at 4:23 PM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: Sorry for not reading the docs carefully enough. I had overlooked :results wrap But even with this options things behave strangely. src_emacs-lisp[:results wrap]{(+ 2 3)} :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: :RESULTS: 5:END: Running the code multiple times in the document produces multiple outputs. I though the whole idea of wrapping was intended to mark results in a way the are replaces when the command is reexecuted. Furthermore, on exporting the keywords :RESULTS: and :END: are written into the exported document (I tried LaTeX+pdf and HTML) Am I still misunderstanding something?
Re: [O] Another tricky question: accessing named values
Here is an example of what I would like. #+title: Macro test Define a name with a value #+name: myval #+begin_src elisp :exports both (+ 1 2) #+end_src The named value can be accessed in another code block #+begin_src elisp :session *elisp* :var myval2=myval :exports both (setq myval3 myval2) myval2 #+end_src I can also (with some trickery as shown above) use the value in running text: value equals src_elisp[:session *elisp*]{myval3} One of the minor annoyances here is that output of the inline src is always put between equals signs, and in some cases I would like the same formatting as the surrounding text. Macros create output without additional formatting. #+macro: testmac this is plain macro text Before macro expanded : {{{testmac}}} : after macro expanded Macros with arguments work nicely: #+macro: testmacarg the argument is $1 {{{testmacarg(my argument)}}} I would like to get the value of the name =myval= into the argument of the macro. I also would like to be able to say something like =evalorg(myval)= and get the value of myval into my running text without any additional formatting. What I would like to be able to do is put results of computations into running text. A typical example would be something like #+BEGIN_QUOTE As the table above shows we hav 1217 cases in our analysis. #+END_QUOTE The number 1217 would come from a named code block, but it should be typeset as running text, not as code text. Since macros do the right kind of formatting, being able to the value of org names in a macro would solve my problem. On Sep 14, 2012, at 9:33 AM, Bastien b...@altern.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Is there a way of accessing the value of something defined by a #name: statement as part of plain text, of within the definition of a macro? This is a bit cryptic to me. Care to give an example? Thanks, -- Bastien
[O] Another tricky question: accessing named values
Is there a way of accessing the value of something defined by a #name: statement as part of plain text, of within the definition of a macro?
[O] Graphics in LaTeX pdf output.
I am trying to produce pdf through latex with R in org. I am using MacTeX 2012, Emacs 24.2, and org mode version 7.9.1 (on Mountain Lion) I have the the following code segment. #+BEGIN_SRC R :session *R* :results output graphics :file first.png :exports both plot((0:10)^2,type=l) #+END_SRC It does not work. It produces text output and then stops. When I run latex on this manually, TeX complains about a missing bounding box. ! LaTeX Error: Cannot determine size of graphic in agegraph.png (no BoundingBox ). See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.863 ...raphics[width=.9\linewidth]{agegraph.png} html output works. I dimly remember that the same file worked with a previous version of org and MacTeX 2011.
Re: [O] Graphics in LaTeX pdf output.
Excuse my sloppy report, I copied from the wrong terminal window. And after rebooting my Mac, things suddenly worked again. On Sep 11, 2012, at 5:26 PM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: I am trying to produce pdf through latex with R in org. I am using MacTeX 2012, Emacs 24.2, and org mode version 7.9.1 (on Mountain Lion) I have the the following code segment. #+BEGIN_SRC R :session *R* :results output graphics :file first.png :exports both plot((0:10)^2,type=l) #+END_SRC It does not work. It produces text output and then stops. When I run latex on this manually, TeX complains about a missing bounding box. ! LaTeX Error: Cannot determine size of graphic in agegraph.png (no BoundingBox ). See the LaTeX manual or LaTeX Companion for explanation. Type H return for immediate help. ... l.863 ...raphics[width=.9\linewidth]{agegraph.png} html output works. I dimly remember that the same file worked with a previous version of org and MacTeX 2011.
[O] Formatting R output
I am using org-mode with R. I already wrote a message about formatting inline code some time ago. After working more with R in org-mode (which I _really_ like) I have some questions and/or suggestions. 1) a mild annoyance. src_R{1+1} inserts the result 2 in the output. In fact, it inserts =2=. When one runs the file repeatedly, org-mode does not remove older results. So if I replace src_R{1+1} by src_R{2+2} and do not remove the last output, My file will contain src_R{2+2} =4= =2= Also, If I run the inline code segment by C-c C-c one, the org file ail contain just 1 correct result, bit if afterwards I export the file (to LaTeX or html), the exported file will have 2 copies of the result. Is there anything the developers can do about this? 2) formatting inline output. As discussed above, using inline code produces something like src_R{2+2} =4= In some cases, I would like the result to be not on fixed font. Currently, I to not see a way of removing the equal signs before and after the result, they seem to be added by org itself, therefore I cannot use trickery in R to remove them. Could the developers think of an option which would allow to get the result without the bracketing equal signs?
[O] Test problems again
I need help to locate a configuration problem. As I alreay wrote I am building org-mode on 2 Macs. On the desktop, I do not have any problems, and all the test pass (except the ones where the testing routines tells they are expecting to fail). But on the MacBook (which essentially has the same configuration) testing fails: Code block evaluation complete. htmlize.el 1.34 or later is needed for source code formatting Exporting... HTML export done, pushed to kill ring and clipboard passed 33/137 test-ob-lob/export-lob-lines 13 src blocks added to Library of Babel passed 34/137 test-ob-lob/ingest Babel evaluation exited with code 1 passed 35/137 test-ob-sh/dont-error-on-empty-results passed 36/137 test-ob-sh/dont-insert-spaces-on-expanded-bodies Here the process hand and I need to kill it with C-C ^Cmake[1]: *** [test-dirty] Error 2 make: *** [up1] Interrupt: 2 Meanwhile I am also able to use testing/README to start interactive testing. If I am not asking too much, it would help if somebody briefly explains to me how I could dig into more details at the place where things go wrong. I do not understand why I get passed ... with consecutive numbering, but between these messages I get the exited with code 1 message. Can anybody enlighten me?
[O] test report with strange messages
I em learning to run the tests interactively. Again, OSX 10.8.1, Emacs 24.2.1 Perhaps the following report is useful for the developers. The message seems rather strange ;-) -=-=-=-=-=-=-=-=-= Selector: \\(org\\|ob\\) Passed: 128 Failed: 12 (2 unexpected) Total: 140/140 Started at: 2012-08-31 01:24:12+0200 Finished. Finished at: 2012-08-31 01:24:34+0200 ff..FF.. F test-org-babel/nested-code-block Test nested code blocks inside code blocks don't cause problems. (error No org-babel-execute function for org!) F test-org-babel/partial-nested-code-block Test nested code blocks inside code blocks don't cause problems. (error No org-babel-execute function for org!)
Re: [O] Multicolumn
That is probably what I will have to do. But since I want both html and LaTeX output, I have to two write separate output routines in R which I had hoped to be able to avoid. On Aug 29, 2012, at 4:39 AM, t...@tsdye.com (Thomas S. Dye) wrote: Neuwirth Erich erich.neuwi...@univie.ac.at writes: My problem is that the tables are produce by R code snippets. The code snippets produce plain org tables, bracketed by attributes identifying the text as ORG code. #+RESULTS: #+BEGIN_ORG | Jahr | Region | m | w | pWert | m.se | w.se | |--++-+-+---+---+---| | 2000 | Sonst | 508 | 507 | 0.85 | 4.91 | 4.93 | #+END_ORG I am able to insert additional lines before and after the text produce by the R commands with the following technique (in R): print(as.table(NULL),quote=FALSE,type=org) cat(|---|\n) print(res,type=org) cat(|---|\n) So I could write a line with my multicol headers. But for that to work, org mode would have to honor multicol indicators in the text. Alternatively, compose latex or html tables in R and then have the source code block :results output latex or :results output html That should wrap the output in #+BEGIN_LATEX ... #+END_LATEX, which org will export directly to LaTeX, or #+BEGIN_HTML ... #+END_HTML, which org will export directly to HTML. hth, Tom On Aug 29, 2012, at 2:28 AM, Christopher J. White orgm...@grierwhite.com wrote: Hi Erich, I have a hack for multicolumn support that may help... It's not great, but serves my purpose. I implemented a TWiki mode that uses orgtbl-minor-mode. TWiki pages support multicolumn cells by adding vertical bars with no separators: Display: | Multicol | | C1 | C2 | TWiki format: | Multicol || | C1 | C2 | Notice the double vertical bars after Multicol. The number of vertical bars on every row must be the same. You can join as many cells as you want that way. I basically wanted to be able to still use orgtbl-minor-mode to edit such tables. So I hacked my twiki-import/export code to convert || to | | and vice-versa. So the orgtbl version of the above looks like this in the buffer: | Multicol | | | C1 | C2 | The down side is that the text Multicol will expand the display size of C1, so if it gets long, the table grows: | This is a long multicol cell | | | C1 | C2 | So it gets me what I want, which is orgtbl editing, and import/export support to twiki format. Seems a similar technique could be backed in to any org export engine. ...cj On 8/28/12 5:10 PM, Neuwirth Erich wrote: After some googling it seems that multicolumn support is not yet implemented in org tables. I would need multicolumn headers quite urgently, but I have not yet found a way to make this possible. I think that tables with headers like this: | |mean | s.e.| | gender | varA | varB | varA | varB | are quite common, so I really want to put this feature on the wish list. I am not able to implement this myself. Erich -- Thomas S. Dye http://www.tsdye.com
[O] Question about section titles
I am exporting an org file to html. The text is German. The table of contents, however, gets a sections with the title Table of Contents. How can I change this section title? Erich
[O] LaTeX table formatting
I would like to add some twists to tables. Using the ATTR_LaTeX attribute I can control alignment and vertical gridlines in the table. I also would like to have horizontal gridlines, and I would like to have multicol top headers. tgroupt and n.tgroup in theory should me give these multicol headers, but it does not work. Is there a way of accomplishing what I want? #+title: Testing R table output #+author: Erich Neuwirth #+date: 28. August 2012 #+ATTR_LaTeX: align=|l|c|r|r|r|r| #+ATTR_HTML: border=2 rules=all frame=border #+begin_src R :session *RPisa* :results output org :exports results require(ascii) mydf - data.frame( year = rep(as.character(rep(seq(2000,2009,3)),each=2)), gender = rep(c(f,m),times=2), m1 = (11:18)/11, m2 = (102:109)/22, s1 = seq(1,2,length.out=8), s2 = seq(1.5,2.5,length.out=8) ) res - ascii(mydf, digits=c(0,0,1,1,2,2), align=c(l,c,r,r,r,r), format=c(d,s,f,f,f,f), include.rownames=FALSE, tgroup=c(,mean,se), n.tgroup=c(2,2,2)) print(res,type=org) #+end_src
[O] Multicolumn
After some googling it seems that multicolumn support is not yet implemented in org tables. I would need multicolumn headers quite urgently, but I have not yet found a way to make this possible. I think that tables with headers like this: | |mean | s.e.| | gender | varA | varB | varA | varB | are quite common, so I really want to put this feature on the wish list. I am not able to implement this myself. Erich
Re: [O] Multicolumn
My problem is that the tables are produce by R code snippets. The code snippets produce plain org tables, bracketed by attributes identifying the text as ORG code. #+RESULTS: #+BEGIN_ORG | Jahr | Region | m | w | pWert | m.se | w.se | |--++-+-+---+---+---| | 2000 | Sonst | 508 | 507 | 0.85 | 4.91 | 4.93 | #+END_ORG I am able to insert additional lines before and after the text produce by the R commands with the following technique (in R): print(as.table(NULL),quote=FALSE,type=org) cat(|---|\n) print(res,type=org) cat(|---|\n) So I could write a line with my multicol headers. But for that to work, org mode would have to honor multicol indicators in the text. On Aug 29, 2012, at 2:28 AM, Christopher J. White orgm...@grierwhite.com wrote: Hi Erich, I have a hack for multicolumn support that may help... It's not great, but serves my purpose. I implemented a TWiki mode that uses orgtbl-minor-mode. TWiki pages support multicolumn cells by adding vertical bars with no separators: Display: | Multicol | | C1 | C2 | TWiki format: | Multicol || | C1 | C2 | Notice the double vertical bars after Multicol. The number of vertical bars on every row must be the same. You can join as many cells as you want that way. I basically wanted to be able to still use orgtbl-minor-mode to edit such tables. So I hacked my twiki-import/export code to convert || to | | and vice-versa. So the orgtbl version of the above looks like this in the buffer: | Multicol | | | C1 | C2 | The down side is that the text Multicol will expand the display size of C1, so if it gets long, the table grows: | This is a long multicol cell | | | C1 | C2 | So it gets me what I want, which is orgtbl editing, and import/export support to twiki format. Seems a similar technique could be backed in to any org export engine. ...cj On 8/28/12 5:10 PM, Neuwirth Erich wrote: After some googling it seems that multicolumn support is not yet implemented in org tables. I would need multicolumn headers quite urgently, but I have not yet found a way to make this possible. I think that tables with headers like this: | |mean | s.e.| | gender | varA | varB | varA | varB | are quite common, so I really want to put this feature on the wish list. I am not able to implement this myself. Erich
Re: [O] build failure
Pulling the latest version and building it made the problem disappear. org-version says 7.9 (release_7.9-80-gf29660.dirty) On Aug 26, 2012, at 10:50 PM, Bastien b...@altern.org wrote: Hi Erich, Erich Neuwirth erich.neuwi...@univie.ac.at writes: I just pulled the latest version of the sources on my MacBook with OSX 10.8.1 Buildung does not work any more, here is the error. Loading /Users/neuwirth/devel/org-mode/lisp/org-compat.el (source)... Cannot open load file: ../UTILITIES/org-fixup.el make[1]: *** [org-version.el] Error 255 make: *** [all] Error 2 Looks like you're behind commit bf352eced, where org-compat.el has been updated so that it loads utils/org-fixup.el, not UTILITIES/org-fixup.el Please pull again from git, this is fixed there. So I installed the latest version from ELPA Yes -- still several things to fix to get a working ELPA version. We're on it. Let us know if git pull does it for you. Thanks! -- Bastien
Re: [O] make test on OSX
I do not kow hat you changed, but since today all tests pass. On Aug 14, 2012, at 8:49 AM, Neuwirth Erich erich.neuwi...@univie.ac.at wrote: I am not (yet?) fluent enough in elisp to be able to debug other people's code ;-) On Aug 13, 2012, at 9:21 AM, Bastien b...@gnu.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Is there any way I can find out more? By looking for an actual bug related to the failed test? I have no other idea, sorry. -- Bastien
Re: [O] make test on OSX
I am not (yet?) fluent enough in elisp to be able to debug other people's code ;-) On Aug 13, 2012, at 9:21 AM, Bastien b...@gnu.org wrote: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: Is there any way I can find out more? By looking for an actual bug related to the failed test? I have no other idea, sorry. -- Bastien
Re: [O] make test on OSX
Is there any way I can find out more? On Aug 13, 2012, at 5:44 AM, Bastien b...@gnu.org wrote: Neuwirth Erich erich.neuwi...@univie.ac.at writes: Any ideas why the tests are failing? It looks like there is a missing dependancy related to org-element somewhere. But I can't reproduce the problem, so it is hard to tell. -- Bastien
[O] make test on OSX
Enclosed is the output of make test with the current (see time spam of mail) version pulled from git. it contains the backtraces of the failed tests. I am running OSX 10.8 and Emacs 24.1.1 This is GNU Emacs 24.1.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-06-10 on bob.porkrind.org Any ideas why the tests are failing? Test test-org/auto-fill-function backtrace: org-element-at-point() org-fill-context-prefix(11) org-auto-fill-function() (let ((fill-column 5)) (end-of-line) (org-auto-fill-function) (buffe (prog1 (let ((fill-column 5)) (end-of-line) (org-auto-fill-function) (progn (org-mode) (progn (insert 12345 7890) (goto-char (point-min (unwind-protect (progn (org-mode) (progn (insert 12345 7890) (goto (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert 12345 7890) (goto-char (org-test-with-temp-text 12345 7890 (let ((fill-column 5)) (end-of (list 12345\n7890 (org-test-with-temp-text 12345 7890 (let ((fil (let ((fn-2704 (function equal)) (args-2705 (list 12345\n7890 (org (should (equal 12345\n7890 (org-test-with-temp-text 12345 7890 ( (lambda nil (should (equal 12345\n7890 (org-test-with-temp-text 1 byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/auto-fill-function Test a ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((-L lisp/ -L testing/ --eval (defconst org command-line() normal-top-level() Test test-org/auto-fill-function condition: (void-function org-element-at-point) FAILED 185/205 test-org/auto-fill-function OVERVIEW OVERVIEW Mark set Test test-org/backward-element backtrace: org-element-at-point(keep-trail) org-backward-element() (prog1 (goto-line 3) (end-of-line) (org-backward-element) (should (l (progn (org-mode) (progn (insert Paragraph1.\n\nParagraph2.) (goto (unwind-protect (progn (org-mode) (progn (insert Paragraph1.\n\nPar (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert Paragraph1.\n\nParagrap (org-test-with-temp-text Paragraph1.\n\nParagraph2. (goto-line 3) (lambda nil (org-test-with-temp-text \nParagraph. (org-skip-wh byte-code(\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org/backward-element Test `or ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((-L lisp/ -L testing/ --eval (defconst org command-line() normal-top-level() Test test-org/backward-element condition: (void-function org-element-at-point) FAILED 186/205 test-org/backward-element OVERVIEW OVERVIEW OVERVIEW OVERVIEW OVERVIEW Test test-org/comment-dwim backtrace: org-element-at-point() org-comment-or-uncomment-region(1 25 nil) uncomment-region(1 25 nil) comment-or-uncomment-region(1 25 nil) comment-dwim(nil) call-interactively(comment-dwim) (progn (transient-mark-mode 1) (push-mark (point) t t) (goto-char (p (prog1 (progn (transient-mark-mode 1) (push-mark (point) t t) (goto- (progn (org-mode) (progn (insert # Comment 1\n\n# Comment 2) (goto (unwind-protect (progn (org-mode) (progn (insert # Comment 1\n\n# C (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert # Comment 1\n\n# Commen (org-test-with-temp-text # Comment 1\n\n# Comment 2 (progn (transi (list Comment 1\n\nComment 2 (org-test-with-temp-text # Comment 1 (let ((fn-2736 (function equal)) (args-2737 (list
Re: [O] make test on Mac
After reinstalling fortran following the instructions for th R Tools implementation on http://www.webmo.net/support/fortran_osx.html The fortran test examples now woe. But I am getting another set or errors (after updating from git) 6 expected failures 10 unexpected results: FAILED test-org/auto-fill-function FAILED test-org/backward-element FAILED test-org/comment-dwim FAILED test-org/down-element FAILED test-org/drag-element-backward FAILED test-org/drag-element-forward FAILED test-org/fill-paragraph FAILED test-org/forward-element FAILED test-org/mark-subtree FAILED test-org/up-element How can I get more details error messages for these problems? On Aug 2, 2012, at 8:35 AM, Achim Gratz strom...@nexgo.de wrote: Neuwirth Erich erich.neuwirth at univie.ac.at writes: Are the tests supposed to work only from within Emacs? No, but you might be in a better position to tell us what went wrong, as you still haven't shown what error you are getting from the tests in question. So could you please go into the org directory and instead of make run: emacs -Q -L lisp -l ob-fortran testing/examples/ob-fortran-test.org Then just run one of the examples (C-c C-c on the #+begin_src line) and tell us what happens. There might be additional information in the *Messages* buffer. Regards, Achim.
Re: [O] make test on Mac
The private reply was not intended. I checked. I do (of course) have /bin/bash and the error is produced by bash. It seems that the test suite does not find cc1 on Mountain Lion. cc1 in installed byXCode, but PATH does not include the directory with cc1. So I will try to add it there and report again. Any further suggestions? On Aug 3, 2012, at 10:32 PM, ASSI strom...@nexgo.de wrote: [It looks you sent this mail to me rather than the list, so my reply is private as well. I'd prefer to keep the discussion on-list.] On Thursday 02 August 2012, 09:05:52, Neuwirth Erich wrote: i686-apple-darwin11-gfortran-4.2.1: error trying to exec 'cc1': execvp: No such file or directory /bin/bash: /var/folders/cl/zktxb0v51ng7jfv0mspj2w94gn/T/babel-9230sRi/fortran-bi n-9230CSz: Permission denied So I see this is a problem with gcc. Maybe, but it rather seems that actually it is expecting to find /bin/bash, but comes up empty. But gfortran is running on my machine. Running meaning what exactly? From the above it doesn't appear it might actually work when you tried to start it from the command line. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
[O] :var problems with R
The following works #+name: xvar #+begin_src emacs-lisp ahaRx #+end_src #+RESULTS: xvar : ahaR #+name: myblock #+begin_src R :var xxx=xvar xxx #+end_src #+RESULTS: myblock : ahaRx But when I replace emacs-lisp with R in the first code block, it does not work any more. I think it should because R also returns the character value in that case. Any ideas?
[O] graphics size
In org-mode for R I am using something like :results output graphics :file first.png :exports both and in the block then here is a plot command. How can I control the dimensions of first.png?
Re: [O] :var problems with R
Meanwhile I learned that #+name: xvar : waterfall #+name: myblock #+begin_src R :var xxx=xvar print(xxx) #+end_src #+RESULTS: myblock : waterfall ans so will #+name: xvar2 : water #+name: myblock2 #+begin_src R :var xxx=xvar2 xxx #+end_src #+RESULTS: myblock2 : water The critical missing piece for me was the colon in front of the value in a name definition. I wanted this because I am running a project on different machines, and I want to give the name od subdirectories through this mechanism. Ir seems cleaner than using code in a programming language when we just need constants. And I explained the problem seems to be that a value returned by R in a named block is not accessible as a named variable. In this case, I would rather stay with R which I need anyhow and I have to explain to my coworkers. Using emacs-lisp additionally would just make things harder to understand fore some of the project members. This also works now #+name: rvar #+begin_src R raha #+end_src #+RESULTS: rvar : raha #+name: rvartest #+begin_src R :var xxx=rvar xxx #+end_src I had misunderstood something there.
[O] Beginner's question
I am using R. I am combining large data frames, and I am getting into memory problems. Therefore I would like to to this in separate steps and after each step the R process should be closed to free memory. When I do not use the :session argument for the code blocks, it seems that the R process is terminated after the code is run. I also tried to use separate sessions to achieve what I want and in each code block I used quit(save=no) at the end. That did not work. I would like to use a piece of initialization code in each of these code blocks but could not find an understandable example how to use name code blocks and noweb references to achieve this. Or can I do out with #+name: and a :var header argument? Is there a way to do this? I tried to understand :var with the following example The first code block is from the docs and it works. The second is by me and it does not work. Can anybody explain why my example does not work? #+TBLNAME: example-table |1| |2| |3| |4| #+NAME: table-length #+BEGIN_SRC emacs-lisp :var table=example-table (length table) #+END_SRC #+RESULTS: table-length : 4 #+name: xvar 123 #+name: myblock #+begin_src emacs-lisp :var xxx=xvar (* xxx xxx) #+end_src I need to pass string constants and numeric values o code segments this way.
[O] font-lock in src code blocks
I could not find the option to set language sensitive font locking in source code blocks. Is there such an option?
Re: [O] Preformatted text
And if you just avoid too much typing e TAB will insert #+BEGIN_EXAMPLE #+END_EXAMPLE On Mar 29, 2012, at 12:23 PM, Tassilo Horn wrote: Dashamir Hoxha dashoho...@gmail.com writes: Hi Dashamir, I have no idea about how easy or difficult would be to implement it, but I think that it would be nice to have some markup like these: --8-- --8-- instead of #+BEGIN_EXAMPLE #+END_EXAMPLE You could prefix your snippets with :, e.g., this is also a preformatted snippet. : /dev/sda1 /boot ext2noauto,noatime 1 2 : /dev/sda3 / ext4noatime,user_xattr 0 1 : /dev/sda2 noneswapsw 0 0 : /dev/cdrom /mnt/cdrom autonoauto,ro 0 0 : debugfs /sys/kernel/debugdebugfsdefaults0 0 Bye, Tassilo
[O] babel for maxima
I have a suggestion for the maxima mode in org-babel. I am using Emacs on a Mac which means that some hint work differently. The standard distribution of Maxima for the mac does not have a command 'maxima' anywhere on the path. The way to start character mode maxima from a shell is using /Applications/Maxima.App/Contents/Resources/maxima.sh Maxima itself brings an emacs mode with the standard distribution, and in maxima mode for Emacs he maxima command can be configured by using (setq maxima-command /Applications/Maxima.app/Contents/Resources/maxima.sh) in .emacs So it makes sense that maxima mode in org does (require 'maxima) and then uses maxima-command when it defines the function (defun org-babel-execute:maxima I hope this is a reasonable suggestion.
[O] Assigning results to variables
Is it possible to assign the results of a babel code block to a variable? Then the results produce by one language could be transferred as input to a code block in another language. I studied the documentation and could not find any hint about this.