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

2014-06-21 Thread Bart Post
* lisp/ob-java.el: (org-babel-execute:java): Inject a private static class inside the Java class designated by `:classname'. (org-babel-variable-assignments:java): Assign the header variables to static fields in a private static class `Data'. (org-babel-java-var-to-java): Translate string to Strin

Re: [O] [RFC] [PATCH] org-mtags: remove

2014-06-21 Thread Bastien
Hi Aaron, sorry for the lack of feedback on this -- I don't have enough time right now. Aaron Ecay writes: > I pushed this patch to master, since there was no feedback. It can be > reverted if it causes any problems, of course (and if you notice it > does, please feel free to revert it yoursel

[O] LaTex best practice in org-mode

2014-06-21 Thread Shiyuan
Hi all, Hi all, 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 is not correc

[O] Get total number of items

2014-06-21 Thread Chris Henderson
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. Thanks.

Re: [O] [babel][PATCHES] exporting inline source code

2014-06-21 Thread Aaron Ecay
Hi Nicolas, These both seem like good patches to me. Did you run the test suite to make sure that no tests are broken by them? It would also be good if you added some tests for this functionality – the example included at the bottom of your email is a good starting point. The other babel export

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-21 Thread Aaron Ecay
Hi Rainer, 2014ko ekainak 21an, "Charles C. Berry"-ek idatzi zuen: > > On Fri, 20 Jun 2014, Rainer M Krug wrote: > >> Attached please find =the reworked patch. >> >> 1) uses local() and closes connection >> 2) does not leave a variable cal;led file behind >> > > Seems to work on a few test ca

Re: [O] Invalid function

2014-06-21 Thread Thomas S. Dye
Thorsten Jolitz writes: > t...@tsdye.com (Thomas S. Dye) writes: > > Hi, > >> ox.el:77:1:Error: Invalid function: "Org" > > Is that line 77 in /lisp/ox.el? Maybe have a look ... Nothing that looks like "Org" there. And there are still the other 42 failures ... Tom -- Thomas S. Dye http://www

Re: [O] Invalid function

2014-06-21 Thread Thorsten Jolitz
t...@tsdye.com (Thomas S. Dye) writes: Hi, > ox.el:77:1:Error: Invalid function: "Org" Is that line 77 in /lisp/ox.el? Maybe have a look ... -- cheers, Thorsten

[O] Invalid function

2014-06-21 Thread Thomas S. Dye
Aloha all, Today I updated Org mode from its git repo using the makefile I've had for a long time. It usually works flawlessly, but today it didn't: In toplevel form: ox.el:77:1:Error: Invalid function: "Org" Done (Total of 65 files compiled, 43 failed, 3 skipped) What's going on? Worg suggest

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

2014-06-21 Thread Matt Lundin
Grant Rettke writes: > I want only to use in-line footnotes and never to have them > automatically entered into an auto created Footnote heading. An easy way to create inline footnotes is to use the following setting: (setq org-footnote-auto-label nil) Then, when you call org-footnote-action,

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-21 Thread Ken Mankoff
On 2014-06-21 at 20:42, Aaron Ecay wrote: > 2014ko ekainak 21an, Nicolas Goaziou-ek idatzi zuen: >> >> Aaron Ecay writes: >> >>> The first is that editing non-trivial latex code embedded in an >>> elisp string quickly becomes tedious, whereas it’s much pleasanter >>> in org using org-edit-speci

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

2014-06-21 Thread Aaron Ecay
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 if I did so)? Thanks, -- Aar

[O] [ANN] ox-extras (was: BEGIN_LATEX_HEADER [cont])

2014-06-21 Thread Aaron Ecay
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. >> This last step is done ea

Re: [O] [RFC] [PATCH] org-mtags: remove

2014-06-21 Thread Aaron Ecay
2014ko ekainak 14an, Aaron Ecay-ek idatzi zuen: > > * contrib/lisp/org-mtags.el: Delete file. > * lisp/org.el (org-structure-template-alist): Remove -style tags. > (org-complete-expand-structure-template): Don't handle -style tags. > --- > contrib/lisp/org-mtags.el | 255 > --

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-21 Thread Aaron Ecay
Hi Nicolas, 2014ko ekainak 21an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > Aaron Ecay writes: > >> The first is that editing non-trivial latex code embedded in an elisp >> string quickly becomes tedious, whereas it’s much pleasanter in org >> using org-edit-special, syntax highlighting of

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

2014-06-21 Thread Daniel Franke
On 21 Jun 2014, at 22:34, Haider Rizvi wrote: > Daniel Franke writes: > >> emacs => firefox/safari > That's correct. > >> browser => emacs > > Probably the best is to use an Applescript like below, and save it in > ~/Library/Scripts/Applications/Safari. You can kick off this > Applescript usi

Re: [O] Thoughts on weaving variable documentation

2014-06-21 Thread Grant Rettke
Understood. Thanks for sharing and elaborating. The use case on my mind was for people scouring the Internet for interesting things inside of other people's configuration files. That is what I did for a while, but now I just load stuff and use Emacs to read the documentation. Grant Rettke | ACM,

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

2014-06-21 Thread Haider Rizvi
Daniel Franke writes: > emacs => firefox/safari That's correct. > browser => emacs Probably the best is to use an Applescript like below, and save it in ~/Library/Scripts/Applications/Safari. You can kick off this Applescript using a variety of methods (Quicksilver, menu bar, etc.) http://www.

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-21 Thread Charles C. Berry
On Fri, 20 Jun 2014, Rainer M Krug wrote: Attached please find =the reworked patch. 1) uses local() and closes connection 2) does not leave a variable cal;led file behind Seems to work on a few test cases. I'd move the strings to defconsts. Putting a newline before each `%S' will outdent t

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

2014-06-21 Thread Grant Rettke
Good afternoon, I want only to use in-line footnotes and never to have them automatically entered into an auto created Footnote heading. Rather I want that auto-generated, just like it is now. My goal is to allow refactoring literature with footnotes without having to update anything else in that

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

2014-06-21 Thread Daniel Franke
hi Rizvi, thanks for your reply! As far as i can see you run that from emacs => firefox/safari but i want it like browser => emacs Thank you so much! :) Regards, Daniel On 20 Jun 2014, at 20:05, Haider Rizvi wrote: > Daniel Franke writes: > >> as the subject says, I would like to get lin

Re: [O] Bulk select and tag

2014-06-21 Thread Bastien
Hi Chris, Chris Henderson writes: > Wondering how can I select multiple ** items and apply tag on them. (setq org-loop-over-headlines-in-active-region t) Then create an active region with multiple headlines and hit C-c C-q. HTH, -- Bastien

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-21 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > The first is that editing non-trivial latex code embedded in an elisp > string quickly becomes tedious, whereas it’s much pleasanter in org > using org-edit-special, syntax highlighting of src blocks, etc. This is a no-op since you only do it a limited number of time

Re: [O] Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?

2014-06-21 Thread Nicolas Richard
Grant Rettke writes: > On Fri, Jun 20, 2014 at 5:13 PM, Nicolas Goaziou > wrote: >> I cannot reproduce it, neither on maint nor on master. Each time, cursor >> ends up on line 3898. > > Understood. Thank you much for trying. > > I will convert the document to in-line footnotes. You tried with