Re: [O] [PATCH] ob-shell

2014-06-22 Thread Pascal Fleury
Hi Achim, I was wondering how it would behave if the string that is put into a variable contains newlines, backslashes and other things that bash (and other shells) treats specially. The trick with cat and BABEL_TABLE is resistant to this. As in many cases (when I use it at least) the variable com

[O] [Bug] element cache problem with repeating timestamps

2014-06-22 Thread Matt Lundin
A recent git pull broke logging with repeating todos. I'm guessing this has something to do with one of the recent changes to the org element cache, since setting org-element-use-cache to nil solves the problem. Recipe to replicate: 1. /usr/bin/emacs -Q -l ~/minimal.el Here is minimal.el: m

Re: [O] proposal to have ignoreheading tags/properties

2014-06-22 Thread Eric Schulte
Aaron Ecay writes: > Hi Eric, > > Thanks for your work on this code. Partially inspired by this discussion, > I’ve just created contrib/lisp/ox-extras.el, which I hope will become a > home for useful export hook functions like this one. Would you like to > add your code there (or would you mind

Re: [O] Display only latest sub notes in agenda

2014-06-22 Thread Steffen Heilmann
Dear Sacha, thanks for the very helpful code! Does exactly what I was looking for. I have one additional question: At the moment the code also picks-up any dates that are in the body of the structure (this includes deadlines etc). How would I need to modify the code to only look at dates that a

[O] [patch, ox-latex] org-latex-logfiles-extensions

2014-06-22 Thread Rasmus
Hi, The attached patch adds more extensions to `org-latex-logfiles-extensiosn' that shows up when using latexmk and beamer. Also: Aaron, is there are reason why you did not include "bbl" in your previous patch? Note: while I personally very much like this feature the default non-nil value of or

Re: [O] [ANN] ox-extras

2014-06-22 Thread Rasmus
Rasmus writes: > Aaron Ecay writes: > >> 2014ko ekainak 21an, Aaron Ecay-ek idatzi zuen: >> >> [...] >> Eventually, if you insist on writing your full preamble within the document, you can start to write it in a LaTeX-mode buffer, copy it in your Org document and add "#+LATEX_HEAD

Re: [O] [ANN] ox-extras

2014-06-22 Thread Rasmus
Aaron Ecay writes: > 2014ko ekainak 21an, Aaron Ecay-ek idatzi zuen: > > [...] > >>> Eventually, if you insist on writing your full preamble within the >>> document, you can start to write it in a LaTeX-mode buffer, copy it in >>> your Org document and add "#+LATEX_HEADER: " in front of each line

Re: [O] Get links from Firefox/Safari into orgmode

2014-06-22 Thread Uwe Koloska
Am 20.06.2014 19:43, schrieb Daniel Franke: > as the subject says, I would like to get links from any browser (i > almost don’t care which one) into org mode. With firefox you can use the CoLT (Copy Link Text) add-on https://addons.mozilla.org/de/firefox/addon/colt/ with this format string : [[%

Re: [O] [PATCH] ob-shell

2014-06-22 Thread Eric Schulte
If this maintains existing functionality, please go ahead and apply it. Thanks, Achim Gratz writes: > Achim Gratz writes: >> Sebastien Vauban writes: >>> I just ran `make test' and got the same error for >>> `ob-shell/bash-uses-assoc-arrays'. >> >> Yes, that's because not all versions of bash t

Re: [O] [PATCH] ob-shell: honor the specified shell for :session

2014-06-22 Thread Eric Schulte
I thought that `org-babel-sh-command' was still used if code blocks used the keyword "shell" as the language. If that's not the case and there really is no more use for `org-babel-sh-command', then please go ahead and apply this patch. Thanks, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0

Re: [O] How to never have the Footnote heading generated?

2014-06-22 Thread Grant Rettke
The former, and you explained something that I didn't even know that I should have known, too. Thanks! Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurab

[O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-22 Thread Nicolas Girard
The empty src block at the beginning of the following file prevents "capture-tmpl" to expand when tangling. Admittedly, this empty src block shouldn't exist in the first place, it's just a residue of some former confg of mine that didn't cause any problem until I upgraded Org to the latest ELPA pa

Re: [O] How to never have the Footnote heading generated?

2014-06-22 Thread Matt Lundin
Grant Rettke writes: >> What I was aiming for was to have in-line footnotes that did have >> randomly generated IDs so that I one still may reference them. > Here is what I had intended: > > (setq org-footnote-define-inline +1) > (setq org-footnote-auto-label 'random) > (setq org-footnote-auto-a

Re: [O] How to never have the Footnote heading generated?

2014-06-22 Thread Grant Rettke
Here is what I had intended: (setq org-footnote-define-inline +1) (setq org-footnote-auto-label 'random) (setq org-footnote-auto-adjust nil) Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (

Re: [O] How to never have the Footnote heading generated?

2014-06-22 Thread Grant Rettke
Thank you Matt. What I was aiming for was to have in-line footnotes that did have randomly generated IDs so that I one still may reference them. I misunderstood though, because the footnotes will still get defined in the Footnote section, too. I will look at what it takes to have a new footnote ty

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-22 Thread Nicolas Goaziou
Ken Mankoff writes: > It is not a 1x operation, it is a per-document operation. For example, > in my use-case that started this whole discussion, each publication > requires tweaking a dozen or more lines of biblatex config. Of course there are an amount of lines that depends on the document. Th

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-22 Thread Nicolas Goaziou
Aaron Ecay writes: > This is basically making the user do (something like) org-edit-special > manually. That is an interesting idea. `org-edit-special' could be improved to edit clusters of export keywords (e.g. #+LATEX) in a dedicated buffer. Recognizing a keyword as an export keyword is doabl

[O] [PATCH] ob-shell: honor the specified shell for :session

2014-06-22 Thread Achim Gratz
When using a shell block with a :session, the specified shell is ignored and the original value of org-babel-sh-command (defaulting to the value of shell-file-name as set at load-time) gets used. The following patch fixes this, however there are still several other problems with how shells are in

Re: [O] [PATCH] ob-java.el: Add `:var' variables import

2014-06-22 Thread Thierry Banel
Hi Bart Good, this was a missing feature. Is there any reason to embed variables in an inner "Data" class ? Regards Thierry Le 22/06/2014 00:30, Bart Post a écrit : > * lisp/ob-java.el: (org-babel-execute:java): Inject a private static > class inside the Java class designated by > `:classname'

Re: [O] [PATCH] ob-shell (was: 2 Org tests failing)

2014-06-22 Thread Achim Gratz
Achim Gratz writes: > Sebastien Vauban writes: >> I just ran `make test' and got the same error for >> `ob-shell/bash-uses-assoc-arrays'. > > Yes, that's because not all versions of bash that have associative > arrays can parse the bizarre quoting style that goes through a > sub-process and here-do

Re: [O] LaTex best practice in org-mode

2014-06-22 Thread Thorsten Jolitz
Shiyuan writes: Hi, > We can write LaTex directly in org-mode without put it in a SRC block. > When the code is exported, the latex syntax will be handled correctly > to html or pdf. That's very nice part of org mode. However, if we don't > put the latex code into a SRC block, the latex syntax i

Re: [O] Get total number of items

2014-06-22 Thread Thorsten Jolitz
Chris Henderson writes: > Is there a way to get the total number of items at the parent level? I > have lots of ** under a * and I'd like to see the number at a glance. that was asked before, here is what I came up with [using (apply '+ ...) instead of (eval (append (list '+ ...) ...)) would eve

Re: [O] still seeing semi-regular lockups

2014-06-22 Thread Nicolas Goaziou
Hello, Daimrod writes: > Thanks for investigating. I made some progress. Alas I didn't find a definitive answer yet. The problem is related to `quail-input-method', which let-binds `inhibit-modifications-hooks' to t. This is usually done around a function that modifies text properties in a buf