[O] [patch] LaTeX export using tabu tables

2013-03-22 Thread Eric Abrahamsen
There are about forty different table environments for latex, all of which do slightly different things, and none of them seem to do it all. I found the "tabu" package recently, and thought "oh god another one", but it seems to do it all: clever column alignment, longtable functionality, all that g

[O] Using cat() with R prints R session prompt (>) in results block

2013-03-22 Thread John Hendy
With an older orgmode file, I used a block like shown in this thread to export multiple plots resulting from some modeling work in my summary document: - http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg01222.html The code I used was like so: #+begin_src R :session model :results output

[O] Using :results output org with new exporter exporting as verbatim with LaTeX

2013-03-22 Thread John Hendy
I have an org file with R src block that spits out some file names to embed. I don't think I need to reproduce the block for testing purposes, but the gist is that I use cat() to spit out some =#+begin_center= and =[[filename]]= stuff. R code block header: #+name: src-block-name #+begin_src R :se

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > It seems to work fine so far (apart from org-remember failing, but > AFAIK, it has been deprecated). What are the consequences of not > having those autoloads files? > Emacs is likely to fail with unexplained and mysterious errors at any moment. There are land

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > On Fri, Mar 22, 2013 at 3:35 PM, Thomas S. Dye wrote: > > Did you `make autoloads'? > Yes, > > org git:(master): make autoloads > == > = Invoke "make help" for a synopsis of make targets. = >

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Marcelo de Moraes Serpa
It seems to work fine so far (apart from org-remember failing, but AFAIK, it has been deprecated). What are the consequences of not having those autoloads files? On Fri, Mar 22, 2013 at 4:19 PM, Thomas S. Dye wrote: > Sorry, I didn't read closely. > > Tom > > Marcelo de Moraes Serpa writes: >

Re: [O] saving state of buffer

2013-03-22 Thread 42 147
Thomas, Glad to hear. I'm quite pleased with this functionality: given that I am always in the midst of some writing / analysis project, it has been a major improvement. Already got one of my friends to instantly adopt it. My only complaint is that I cannot momentarily enslave all my friends and

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Thomas S. Dye
Sorry, I didn't read closely. Tom Marcelo de Moraes Serpa writes: > Yes, > > >> org git:(master): make autoloads >> == >> = Invoke "make help" for a synopsis of make targets. = >> = Created a default local.mk template. = >> = Set

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Marcelo de Moraes Serpa
Yes, > org git:(master): make autoloads > == > = Invoke "make help" for a synopsis of make targets. = > = Created a default local.mk template. = > = Setting "oldorg" as the default target.= > = Please adapt local.mk to

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Thomas S. Dye
Aloha Marcelo, Marcelo de Moraes Serpa writes: > Hi Nick, thank you for the reply. > > Happens it was an error specific to the terminal version of emacs (OpenStep > could not be found, by org-mac-protocol). Not loading that file solved the > issue. > > It looks like I just need to upgrade from o

Re: [O] saving state of buffer

2013-03-22 Thread Thomas S. Dye
Aloha 42, 42 147 writes: > Thomas, > > Could you provide a recipe? As a test, I ran Emacs with just the following > code in my .emacs: > > (require 'saveplace) > (setq-default save-place t) > > (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) > > Emacs ran without any errors

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Marcelo de Moraes Serpa
Hi Nick, thank you for the reply. Happens it was an error specific to the terminal version of emacs (OpenStep could not be found, by org-mac-protocol). Not loading that file solved the issue. It looks like I just need to upgrade from org-remember to org-capture. However, I'm getting the followin

Re: [O] Org tutorials

2013-03-22 Thread Charles
Hi Bastien, On 3/20/2013 7:05 PM, Bastien wrote: Hi Charles, Charles writes: Is there a reason why Richard Dillon's YouTube Hack Emacs org-mode talks are not included in the Org Tutorials? No reason. Worg is community-driven/edited: please send me your public key so that you can get write

Re: [O] Cleaning up my org setup, using version from git

2013-03-22 Thread Nick Dokos
Marcelo de Moraes Serpa wrote: > I have org in ~/.emacs.d/vendor/org, and I also added the following lines to > my init.el: > > (add-to-list load-path (cons (concat dotfiles-dir "vendor/org/lisp")   > load-path)) > (add-to-list load-path (cons (concat dotfiles-dir "vendor/org/contrib/lisp")  

Re: [O] org-mode 7.9.4 now returns org-strip-protective-commas

2013-03-22 Thread Bastien
Hi Luke, Luke Crook writes: > I updated org-mode to 7.9.4 If you updated through git, don't forget to make ~$ make autoloads or simply ~$ make if you want to compile Org. If you updated by downloading a .zip/.tar.gz file, make sure the load-path is set correctly. See http://orgmode.org/o

Re: [O] org-mode 7.9.4 now returns org-strip-protective-commas

2013-03-22 Thread Luke Crook
Luke Crook balooga.com> writes: I also see the following error in 7.9.4; Code block evaluation complete. progn: Symbol's function definition is void: org-unescape-code-in-region

Re: [O] org-mode 7.9.4 now returns org-strip-protective-commas

2013-03-22 Thread Nick Dokos
Luke Crook wrote: > I updated org-mode to 7.9.4, and now a I receive the following error from > Emacs > when I try to generate Latex output; > > Code block evaluation complete. > org-export-select-backend-specific-text: Symbol's function definition is > void: > org-strip-protective-commas >

[O] org-mode 7.9.4 now returns org-strip-protective-commas

2013-03-22 Thread Luke Crook
I updated org-mode to 7.9.4, and now a I receive the following error from Emacs when I try to generate Latex output; Code block evaluation complete. org-export-select-backend-specific-text: Symbol's function definition is void: org-strip-protective-commas Any ideas what might be going on?

Re: [O] org-mode's HEAD org-remember bug?

2013-03-22 Thread Marcelo de Moraes Serpa
Thanks @Sebastian, @Bastien. I'm currently trying to clean up my local org setup. I just started another thread for it, since I'm experiencing a couple of issues. Cheers, - Marcelo. On Sat, Mar 16, 2013 at 12:28 PM, Bastien wrote: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > > > I just

[O] Cleaning up my org setup, using version from git

2013-03-22 Thread Marcelo de Moraes Serpa
Hey guys, I'm trying to update to org 8.0, and also clean up my org setup, as it looks like it still loads some of the .el files out of the Emacs std distribution (I'm using Emacs 23.4.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)). I have org in ~/.emacs.d/vendor/org, and I also added the fo

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > Secondly, the :EXPORT_FILE_NAME: property is only followed when doing > subtree export. It is ignored for buffer export no matter where I put > the property definition. > > Please help. There is no buffer keyword equivalent to :EXPORT_FILE_NAME: property. Actual

Re: [O] [RFC] Org version of the Org manual

2013-03-22 Thread Nicolas Goaziou
Achim Gratz writes: > Am 22.03.2013 15:22, schrieb Nicolas Goaziou: >> Actually the code I pasted is wrong, I meant: >> >>(split-string >> (replace-regexp-in-string >> "\\(+\\)?\\(,\\)" >> (lambda (str) >>(let ((len (length (match-string 1 str >> (if (ev

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-22 Thread John Hendy
On Fri, Mar 22, 2013 at 10:27 AM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> In the past, exporting a subtree seemed to pull options from my >> #+setupfile line. > > And it should still do. > >> I've updated the line to the proper new syntax (#+include: >> "/path/to/setupfile.org

Re: [O] [RFC] Org version of the Org manual

2013-03-22 Thread Achim Gratz
Am 22.03.2013 15:22, schrieb Nicolas Goaziou: Actually the code I pasted is wrong, I meant: (split-string (replace-regexp-in-string "\\(+\\)?\\(,\\)" (lambda (str) (let ((len (length (match-string 1 str (if (evenp len) (concat (make-string (/ len 2) ?\\)

Re: [O] saving state of buffer

2013-03-22 Thread 42 147
Thomas, Could you provide a recipe? As a test, I ran Emacs with just the following code in my .emacs: (require 'saveplace) (setq-default save-place t) (setq org-show-siblings '((default) (isearch t) (bookmark-jump . t))) Emacs ran without any errors, and I made a test.org file, created multiple

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread Rainer Stengele
Am 22.03.2013 15:51, schrieb John Hendy: > On Fri, Mar 22, 2013 at 2:41 AM, Rainer Stengele > wrote: >> Am 22.03.2013 01:20, schrieb John Hendy: >>> Can you try using just "file" and "file.html" (but without quotes) and >>> see I'd it pops out in your working directory ? >>> >>> Your current path

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-22 Thread Nicolas Goaziou
Hello, John Hendy writes: > In the past, exporting a subtree seemed to pull options from my > #+setupfile line. And it should still do. > I've updated the line to the proper new syntax (#+include: > "/path/to/setupfile.org"), but subtree export doesn't seem to be using > the options set there

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread Rainer Stengele
Am 22.03.2013 15:58, schrieb Nicolas Goaziou: > Hello, > > Rainer Stengele writes: > >> Another funny issue here is that for the test my exported subtree has >> the tag :noexport: >> >> My setting is: >> >> org-export-exclude-tags is a variable defined in `ox.el'. >> Its value is ("noexport") >> >

[O] Including setupfile settings during subtree export (new exporter)

2013-03-22 Thread John Hendy
In the past, exporting a subtree seemed to pull options from my #+setupfile line. I've updated the line to the proper new syntax (#+include: "/path/to/setupfile.org"), but subtree export doesn't seem to be using the options set there (using =C-c C-e C-s l p= for LaTeX/PDF export). I tried using =

Re: [O] latex figure scaling question, backward compatibility and outdated manual

2013-03-22 Thread Nicolas Goaziou
Hello, Thomas Alexander Gerds writes: > when edebugging the function org-export-read-attribute it is unclear to > me which function generates (the text properties of) element. You can have a look at `org-element--collect-affiliated-keywords'. > do you have a script which translates from old sy

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > Another funny issue here is that for the test my exported subtree has > the tag :noexport: > > My setting is: > > org-export-exclude-tags is a variable defined in `ox.el'. > Its value is ("noexport") > > So the export shouldn't export that subtree shouldn't it?

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread John Hendy
On Fri, Mar 22, 2013 at 2:41 AM, Rainer Stengele wrote: > Am 22.03.2013 01:20, schrieb John Hendy: >> Can you try using just "file" and "file.html" (but without quotes) and >> see I'd it pops out in your working directory ? >> >> Your current path looks like a Windows server share which might be a

Re: [O] [RFC] Org version of the Org manual

2013-03-22 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Am 21.03.2013 22:02, schrieb Nicolas Goaziou: >> I suggest the following code instead, which allows to escape the >> escaping backslash so the comma is not escaped: >> >>(args (mapcar 'org-trim >> (split-string >> (replace-regex

Re: [O] tests with travis-ci

2013-03-22 Thread Andreas Röhler
Am 22.03.2013 13:55, schrieb Nick Dokos: Andreas Röhler wrote: [ ... ] Not worth bothering about IMO: just run the whole test suite. Nick Hi Nick, thanks a lot for your explanation and patience. Still digging in... :) Andreas

Re: [O] tests with travis-ci

2013-03-22 Thread Nick Dokos
Andreas Röhler wrote: > Am 21.03.2013 21:41, schrieb Bastien: > [ ... ] > > Yes. The limitation of the pre-push hook comes from the fact that > > various developers may have various testing environments, no one > > should be prevented from pushing by the fact that tests do not pass > > for someo

Re: [O] Errors after upgrading emacs to 24.3.1 and org to 7.9.4

2013-03-22 Thread Eric S Fraga
Chris Henderson writes: > On Thu, Mar 21, 2013 at 8:28 AM, Chris Henderson wrote: >> I have also upgraded org to version 7.9.4 via emacs M-x package-list >> option and now my custom keys don't work: when I press ^C-c it used to > >> give me option as to where I want to put something: either proj

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-22 Thread Yagnesh Raghava Yakkala
Hello Achim, On Mar 22 2013, Achim Gratz wrote: > As for Travis CI: a website that shows absolutely nothing when JavaScript is > turned off? No, thanks. Agreed although travis-ci source is under FSF approved license. About hudson/jenkins (any other CI), If we have resources on the server, I

Re: [O] tests with travis-ci

2013-03-22 Thread Yagnesh Raghava Yakkala
Hello Yann, On Mar 22 2013, Yann Hodique wrote: > overall looks good to me. I'm glad to see that it might be useful for > others :) Thanks for the review. > About that, is it just because my code doesn't install a working > ert-x.el for emacs 23 ? Probably not. I thought ert-x.el is a split

[O] Sum marked values in table

2013-03-22 Thread Stefan Nobis
Hi. Is there any way to somehow mark cells in an org-table and then sum over all marked cells of the whole table. For example in the following table I marked some time values bold: || Col 1 | Col 2 | Col 3 | Col4 | Sum | |+---+++--+--|

[O] [PATCH] Re: orgtbl-to-generic with lfmt (wrong usage or bug)

2013-03-22 Thread Rémi Vanicat
Gerhard writes: > Hi, > > I was happy to find out about the possibility to convert a table into > something else, but I struggle with obtaining a particular result. I > have addresses in a table and want them to be formatted for printing. > This is where I am so far. > > #+ORGTBL: SEND sofar o

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-22 Thread Achim Gratz
Am 22.03.2013 08:36, schrieb Bastien: Do you know any free (as-in-speech), easy-to-use alternative? Hudson. However, I don't think that a CI framework is what we need or want. As I said, simply running the tests (preferrably with two different versions of Emacs) should be enough for now. U

Re: [O] tests with travis-ci

2013-03-22 Thread Yann Hodique
> "Yagnesh" == Yagnesh Raghava Yakkala writes: > [CC'ed to Yann Hodique to acknowledge him] > Hello Bastien, > I am attaching a patch, please have a look. (especially change in > org-test.el) > It is directly copied from Magit (with one minor change). It uses > Yann's virtualenv-emacs¹ pyt

Re: [O] [RFC] Org version of the Org manual

2013-03-22 Thread Achim Gratz
Am 21.03.2013 22:02, schrieb Nicolas Goaziou: I suggest the following code instead, which allows to escape the escaping backslash so the comma is not escaped: (args (mapcar 'org-trim (split-string (replace-regexp-in-string "\\(+\\)?\\(

Re: [O] latex figure scaling question, backward compatibility and outdated manual

2013-03-22 Thread Thomas Alexander Gerds
thanks for the reply! when edebugging the function org-export-read-attribute it is unclear to me which function generates (the text properties of) element. do you have a script which translates from old syntax to new? thanks. Nicolas Goaziou writes: > Hello, > > Thomas Alexander Gerds writ

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-22 Thread Rainer Stengele
Am 22.03.2013 01:20, schrieb John Hendy: > Can you try using just "file" and "file.html" (but without quotes) and > see I'd it pops out in your working directory ? > > Your current path looks like a Windows server share which might be an > issue. Even if not, simplifying the path might be one plac

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-22 Thread Bastien
Achim Gratz writes: > Am 21.03.2013 18:59, schrieb Bastien: >> Please see my reply to Yagnesh. >> >> It clearly describes a situation where automatically running tests >> with a pre-push hook would be a problem. > > You keep mentioning a pre-push-hook to be run on the developers > machine. That

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-22 Thread Achim Gratz
Am 21.03.2013 18:59, schrieb Bastien: Please see my reply to Yagnesh. It clearly describes a situation where automatically running tests with a pre-push hook would be a problem. You keep mentioning a pre-push-hook to be run on the developers machine. However, the test would run on the server