[O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Aaron Ecay
* lisp/ox-latex.el (org-latex-src-block): Support :float no with caption for minted. (org-latex-listings): Edit docstring to describe this usecase. This takes advantage of the caption package’s \captionof command, which allows to insert a caption (with autogenerated number and \ref-able label) wit

[O] [RFC] [PATCH] org-table: introduce an upper bound on the number of lines `org-table-convert-region-max-lines' will attempt.

2014-08-23 Thread Aaron Ecay
* lisp/org-table.el (org-table-convert-region-max-lines): New defcustom. (org-table-convert-region): Use it. This is useful primarily for babel results. If a large table-like object is returned by a code block, this function will become bogged down in trying to read it, and hang emacs (necessitat

[O] Only show in the agenda for today?

2014-08-23 Thread Sharon Kimble
I have got several TODO's which are set to repeat after one day, like this one - --8<---cut here---start->8--- ** TODO ditto beeb SCHEDULED: <2014-08-22 Fri +1d> --8<---cut here---end--->8--- How can I get them to show in the

Re: [O] R code block produces only partial output

2014-08-23 Thread Aaron Ecay
2014ko abuztuak 19an, Achim Gratz-ek idatzi zuen: > > Aaron Ecay writes: >> R is capable of installing packages to a user-specified directory, >> without requiring root or any other special privileges. So IT cannot >> literally prevent R users from installing their own packages; > > They can, al

Re: [O] [PATCH] ob-R.el: Add customizable R command primary prompt setting

2014-08-23 Thread Aaron Ecay
Hi Grant, We have some discussion of realted issues in the thread that starts at . 2014ko abuztuak 22an, Grant Rettke-ek idatzi zuen: > > list/ob-R.el (org-babel-R-command-primary-prompt, > org-babel-R-eval

Re: [O] Proposal to replace the prefix repetition with whitespace during expansion of noweb references

2014-08-23 Thread Aaron Ecay
Hello, 2014ko abuztuak 18an, Sebastien Vauban-ek idatzi zuen: > > Pierre-Henry FRÖHRING wrote: >> I would like to back this proposition with our use case : >> >> #+BEGIN_SRC js >> REACTIVE_STATE = TYPE_BUILDER( >> <> >> , "reactive_state" >> , <> >> ) >> #+END_SRC >> >> Where `<>` is expanded a

Re: [O] R code block produces only partial output

2014-08-23 Thread Andreas Kiermeier
Hi Aaron, thanks for keeping on this. I personally don't have a problem with requiring an R package. In fact, users will have a rather limited experience with R if they cannot install add-on packages (for whatever reason) - this is one of the things that makes R such an attractive option for data a

Re: [O] babel: ob-C with Visual C++ and compilation-mode

2014-08-23 Thread Ernesto Durante
Eric Schulte writes: > Hi Ernesto, > > This looks like a good change and I'd like to apply it. Could you > re-submit this commit after doing the following. > > 1. ensure no lines go beyond 80 characters in length > 2. remove all lines which include only closing parens >(such lines are genera

Re: [O] [PATCH] ob-R.el: Add customizable R command primary prompt setting

2014-08-23 Thread Grant Rettke
Gotcha. I wasn't tracking that thread. My desires was independent, I had just wanted supported for a non-standard prompt because my source block evaluation obviously quit working. Good to know it is addressed! Have a great day. Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com |

Re: [O] R code block produces only partial output

2014-08-23 Thread Aaron Ecay
Here’s another version of the previous patch which fixes a couple bugs related to 1) changing the window configuration unwarrantedly 2) syntactically invalid R code (mismatched parens or quotes) could hang emacs It’s easy to get R to throw an error in the mismatched-parens case, but more diffic

Re: [O] Only show in the agenda for today?

2014-08-23 Thread Fletcher Charest
Hi, I think org-habit might correspond to your needs. ** TODO ditto beeb SCHEDULED: <2014-08-22 Fri +1d> :PROPERTIES: :STYLE:habit :END: This should appear only today in the agenda. Cheers, FC On Sat, Aug 23, 2014 at 10:12 AM, Sharon Kimble wrote: > I have got several TODO's which are

Re: [O] R code block produces only partial output

2014-08-23 Thread Thomas S. Dye
Aaron Ecay writes: > Well, I think that it’s going to be difficult to make babel a better > literate programming solution for R if we restrict ourselves not to > use the state-of-the-art R package for low-level literate programming > support. Org is full of features which one needs to install ot

Re: [O] R code block produces only partial output

2014-08-23 Thread Ista Zahn
On Sat, Aug 23, 2014 at 2:35 PM, Thomas S. Dye wrote: > Aaron Ecay writes: > >> Well, I think that it’s going to be difficult to make babel a better >> literate programming solution for R if we restrict ourselves not to >> use the state-of-the-art R package for low-level literate programming >> s

Re: [O] Only show in the agenda for today?

2014-08-23 Thread Sharon Kimble
Fletcher Charest writes: > Hi, > > I think org-habit might correspond to your needs. > > ** TODO ditto beeb > SCHEDULED: <2014-08-22 Fri +1d> > :PROPERTIES: > :STYLE:    habit > :END: > > This should appear only today in the agenda. > Thanks for this Fletcher. It still appeared on every day, but

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > * lisp/ox-latex.el (org-latex-src-block): Support :float no with > caption for minted. > (org-latex-listings): Edit docstring to describe this usecase. There is already :float nil, which is documented in the manual. > + (cond ((and (string= "no" float) c

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Aaron Ecay
Hi Nicolas, 2014ko abuztuak 23an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > Aaron Ecay writes: > >> * lisp/ox-latex.el (org-latex-src-block): Support :float no with >> caption for minted. >> (org-latex-listings): Edit docstring to describe this usecase. > > There is already :float nil, w

[O] org-project or something like it?

2014-08-23 Thread John Kitchin
Hi all, I have been mulling an idea in my mind on using a set of org-files as a research notebook. We basically already do this, but what I was thinking is how to define this set as a "project" or "notebook" that would have its own (temporarily defined) set of org-agenda-files, with some functiona

[O] narrow window, tag prompt partially obscured

2014-08-23 Thread Brady Trainor
I am using org-version 7.9.3f-17-g7524ef. When the window is narrow, and I use C-c C-c to set tags in headline, the tag-selection prompt does not show all candidates. Is there a way around this? I'm using a narrow org buffer to mirror my directory structure for visualization, and org tags is

[O] orgtbl-to-latex creates enumerate environment

2014-08-23 Thread Robert McDonald
Radio tables creates a latex table including an enumerate environment, which will not compile. This occurs if a numeric entry within the table ends in a period. The problem does not occur without the period. It seems possible that this is working as designed, but it is sure a surprise in context.

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Nicolas Goaziou
Aaron Ecay writes: > It’s not adding any new functionality to the exporter, Well, it is, since "captionof" command doesn't exist in Org default packages. > but rather covering one particular combination of already-existing > options (caption provided, :float nil, org-latex-listings = minted) >

Re: [O] R code block produces only partial output

2014-08-23 Thread Charles C. Berry
Aaron, Some comments inline. A patch that modifies what you have done is attached. Apart from adding `org-babel-local-file-name' in two places, I think it is functionally that same as yours, but I find the R code easier to follow. On Sat, 16 Aug 2014, Aaron Ecay wrote: Hi Chuck, Thanks

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Aaron Ecay
Hi Nicolas, 2014ko abuztuak 23an, Nicolas Goaziou-ek idatzi zuen: > > Aaron Ecay writes: > >> It’s not adding any new functionality to the exporter, > > Well, it is, since "captionof" command doesn't exist in Org default > packages. I guess this was unclear. What I meant was that the patch i

Re: [O] Running Node.js and exporting css.

2014-08-23 Thread Eric Schulte
Josh Berry writes: > Couple of weeks ago, I accidentally spammed the message board with several > attempts to send up a couple of patches for some problems I was seeing. > So, firstly, apologies for the spam. > > The two problems I was seeing were related to executing js using node.js, > and exp

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-23 Thread Nicolas Richard
Aaron Ecay writes: >> With your patch, when encountering the combination above, the export >> back-end will introduce a "captionof" command, which requires loading >> "caption" package with a specific option (i.e., compatibility=false). > > Why is the compatibility=false option needed? I can’t f