Re: [O] Remove the build-in orgmode

2014-06-01 Thread Brady Trainor
Shiyuan wrote: > Hi, > I updated Org-mode from ELPA. If I start emacs normally, M-x > org-version does show the new version(8.2.6). But if I start emacs with > -Q, emacs will still run the built-in version(7.9.3). This is not > convenient for debugging purpose. Is there anyway to remove the b

Re: [O] Tests do not work

2014-06-01 Thread Cecil Westerhof
2014-06-01 23:14 GMT+02:00 Bastien : > Achim Gratz writes: > > > Cecil Westerhof writes: > >> find: `testing': No such file or directory > > > > > > That tells you that the testing directory doesn't exist. Since you seem > > to be trying the install f

Re: [O] gnuplot not working with babel

2014-06-01 Thread Omid
And searching with the keywords from the error you're getting, your first problem is solved by installing gnuplot.el (to drive gnuplot inside Emacs): https://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00563.html Omid Sent from my Emacs On 06/01/2014 10:48 PM, Lawrence Bottorff wrote: >

Re: [O] gnuplot not working with babel

2014-06-01 Thread Omid
Hello, For your second question, please see Easy Templates as one solution: http://orgmode.org/manual/Easy-Templates.html Omid Sent from my Emacs On 06/01/2014 10:48 PM, Lawrence Bottorff wrote: > I'm just starting out with babel and can't get the example code to run > (http://orgmode.org/worg/

[O] gnuplot not working with babel

2014-06-01 Thread Lawrence Bottorff
I'm just starting out with babel and can't get the example code to run ( http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-4) : #+begin_src gnuplot :exports code :file file.png reset set title "Putting it All Together" set xlabel "X" set xrange [-8:8] set xtics -8,2,8

[O] Standard skipping conditions have no effect

2014-06-01 Thread Thomas Morgan
Hello, Org mode hackers, Here is a recipe for a bug on the maint branch that causes standard skipping conditions to have no effect. 1. Change the load path setting in `setup.el'. 2. Start Emacs with `emacs -Q -l setup.el'. 3. Customize the agenda commands with `M-x org-agenda C'. 4. Add a new

Re: [O] Standard skipping conditions have no effect

2014-06-01 Thread Thomas Morgan
Attached are the files referred to in the bug report. Thomas Morgan writes: > Hello, Org mode hackers, > > Here is a recipe for a bug on the maint branch that causes standard > skipping conditions to have no effect. > > 1. Change the load path setting in `setup.el'. > > 2. Start Emacs with `emac

[O] Preset filter sometimes persistent

2014-06-01 Thread Thomas Morgan
Hello, Org mode hackers, Here is a recipe for a bug on the maint branch that causes a preset tag filter to be carried over to another agenda view in some cases. 1. Change the load path setting in `setup.el'. 2. Start Emacs with `emacs -Q -l setup.el'. 3. Open a TODO list with `M-x org-agenda t'

Re: [O] latex markup in org?

2014-06-01 Thread Steven Arntson
John Kitchin writes: > Maybe you can include the sty file as a code block that will be > tangled before export. You should put that block in a section tagged > no-export. Depending on your setup, you may need to make a code block > to build your latex file and/or pdf to make sure the tangling hap

Re: [O] src blocks not fontified

2014-06-01 Thread Omid
One way is to use the package htmlize, which you can install from ELPA using M-x package-install RET htmlize http://www.emacswiki.org/emacs/Htmlize Omid Sent from my Emacs On 06/01/2014 06:40 PM, Shiyuan wrote: > That solves the problem. Thanks Omid. > Should this be the default setup? It seem

Re: [O] src blocks not fontified

2014-06-01 Thread Shiyuan
That solves the problem. Thanks Omid. Should this be the default setup? It seems more nature to fontify the src block than not. Also, when I export the org file to html, the src block is not fontified in the resulting html webpage. Is there another option to turn this function on? Thanks. On Sun

[O] Remove the build-in orgmode

2014-06-01 Thread Shiyuan
Hi, I updated Org-mode from ELPA. If I start emacs normally, M-x org-version does show the new version(8.2.6). But if I start emacs with -Q, emacs will still run the built-in version(7.9.3). This is not convenient for debugging purpose. Is there anyway to remove the built-in version 7.9.3 comp

Re: [O] src blocks not fontified

2014-06-01 Thread Omid
Hi Shiyuan, Add (setq org-src-fontify-natively t) to your .emacs. Omid Sent from my Emacs On 06/01/2014 06:13 PM, Shiyuan wrote: > Hi, > I am using Emacs 24.3 with the built-in org mode(7.9.3). The src > code block is not fontified (Emacs is started with -Q option) > #+BEGIN_SRC emacs-

[O] src blocks not fontified

2014-06-01 Thread Shiyuan
Hi, I am using Emacs 24.3 with the built-in org mode(7.9.3). The src code block is not fontified (Emacs is started with -Q option) #+BEGIN_SRC emacs-lisp (defun org-xor (a b) "Exclusive or." (if a (not b) b)) #+END_SRC This is my first time to use org-mode, so I could miss some s

[O] babel C, C++, D enhancement

2014-06-01 Thread Thierry Banel
Hi Bastien, hi all Here is a Babel enhancement for C, C++ and D languages - support for non-homogeneous tables (mixing numerics and strings) - support for table headers - easier iterating over a table - added some error handling - new D support for simple lists and vectors - new unit tests Curren

Re: [O] Tests do not work

2014-06-01 Thread Bastien
Achim Gratz writes: > Cecil Westerhof writes: >> find: `testing': No such file or directory > > > That tells you that the testing directory doesn't exist. Since you seem > to be trying the install from a distribution tarball, this is correct: > there

Re: [O] Patch for testing `org-open-at-point'

2014-06-01 Thread Bastien
Achim Gratz writes: > York Zhao writes: >> Thank you very much for implementing this. Really appreciated. So do you >> think >> it is a good idea to add my test (the patch) now for testing this? > > Shouldn't the test check that the desired target is actually > reached? That would be too compli

Re: [O] Tests do not work

2014-06-01 Thread Achim Gratz
Cecil Westerhof writes: > find: `testing': No such file or directory That tells you that the testing directory doesn't exist. Since you seem to be trying the install from a distribution tarball, this is correct: there simply is no testing directory the

Re: [O] Implementing Reproducible Research

2014-06-01 Thread Thomas S. Dye
Aloha Christophe, Chapter 8, Reproducible Research for Large-Scale Data Analysis, by Holger Hoefling and Anthony Rossini uses Org mode for literate programming and for reproducible research. The article focuses on the challenges faced by a large-scale data analysis, where the full R code base mig

Re: [O] Tests do not work

2014-06-01 Thread Cecil Westerhof
2014-06-01 21:14 GMT+02:00 Bastien : > > Cecil Westerhof writes: > > > I saw my version was outdated (8.2.1), so I upgraded to 8.2.6. Seems > > to have gone OK, but when running: > > make test > > I get: > > install -m 755 -d /tmp/tmp-orgtest > > TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval

Re: [O] Patch for testing `org-open-at-point'

2014-06-01 Thread Achim Gratz
York Zhao writes: > Thank you very much for implementing this. Really appreciated. So do you think > it is a good idea to add my test (the patch) now for testing this? Shouldn't the test check that the desired target is actually reached? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron mic

Re: [O] latex markup in org?

2014-06-01 Thread John Kitchin
Maybe you can include the sty file as a code block that will be tangled before export. You should put that block in a section tagged no-export. Depending on your setup, you may need to make a code block to build your latex file and/or pdf to make sure the tangling happens. at the top keep this #+L

Re: [O] An org password manager

2014-06-01 Thread Bastien
Dear Jorge, jorge.a.alf...@gmail.com (Jorge A. Alfaro-Murillo) writes: > This is my first time submitting a patch, so I do not know if > this is the way I am supposed to do it. Yes, the commit message looks good. Can you resent the patch as an attachment? Simply create a dedicated branch from

Re: [O] Tests do not work

2014-06-01 Thread Bastien
Hi Cecil, Cecil Westerhof writes: > I saw my version was outdated (8.2.1), so I upgraded to 8.2.6. Seems > to have gone OK, but when running: >     make test > I get: > install -m 755 -d /tmp/tmp-orgtest > TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval '(setq > vc-handled-backends nil)'  --eval

Re: [O] [bug] f36b19eef6 uses font-lock-ensure, which is only implemented in emacs-trunk

2014-06-01 Thread Bastien
Achim Gratz writes: > Done in e6883dd03d. Thanks! -- Bastien

Re: [O] Difference between two rows

2014-06-01 Thread Thierry Banel
Le 01/06/2014 13:38, Cecil Westerhof a écrit : > I like to calculate in a table the difference between the value in a > field in the current row and the previous field. How would I do that? > > Something like: > |---+| > | value | difference | > |---+| > |12 |

Re: [O] [bug] f36b19eef6 uses font-lock-ensure, which is only implemented in emacs-trunk

2014-06-01 Thread Achim Gratz
Bastien writes: > I expected the compatibility alias to be available from Emacs trunk, > but I should have checked. I don't have time to fix time right now, > so if you can add it to org-compat.el, please go ahead. Otherwise I > will look at this later on. Done in e6883dd03d. Regards Achim. --

Re: [O] Export to iCalendar only not DONE, scheduled tasks?

2014-06-01 Thread Chris Poole
On Wed, May 14, 2014 at 11:31 PM, Arun Persaud wrote: > > had another look and org-export-filter-final-output-functions is the > wrong function to use. ... > So, I ended up solving my problem, via an alternative route. The code is here: https://github.com/chrispoole643/org-gtd/blob/dcfe7122fa496

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Achim Gratz
Nicolas Goaziou writes: > However, note that "wrap" is confusing because it sounds like Babel's > keyword and yet does something different. I'm not wedded to the name, maybe "export" has a nicer ring to it (but that#s also been used differently in Babel, just like almost anything else you#d be abl

Re: [O] Difference between two rows

2014-06-01 Thread Cecil Westerhof
2014-06-01 15:18 GMT+02:00 Michael Brand : > Hi Cecil > > On Sun, Jun 1, 2014 at 2:24 PM, Cecil Westerhof > wrote: > > But what if I would want to know the > > difference between the previous filled one, divided by the distance? > > > > For example: > > |---+| > > | value | differ

[O] Tests do not work

2014-06-01 Thread Cecil Westerhof
I saw my version was outdated (8.2.1), so I upgraded to 8.2.6. Seems to have gone OK, but when running: make test I get: install -m 755 -d /tmp/tmp-orgtest TMPDIR=/tmp/tmp-orgtest emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path "./lisp")' --eval '(ad

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Nicolas Goaziou
Achim Gratz writes: > I'm still not getting your argument or I misunderstand what you're > trying to say. Using "wrap" should produce an export block and nothing > else. So as long as there can be no export block named "center", the > INCLUDE above would simply raise a user-error (yes, that che

Re: [O] Escaping again!

2014-06-01 Thread Nicolas Goaziou
Hello, Gregor Zattler writes: > I'd like to be able to use a mix of "-" or "+" in list items as to > indicate positive respective negative aspects of something: > > * should org-mode support a mix of "+" and "-" as the first char in plain > lists? > + would be a great to indicate positive an

Re: [O] Difference between two rows

2014-06-01 Thread Michael Brand
Hi Cecil On Sun, Jun 1, 2014 at 2:24 PM, Cecil Westerhof wrote: > But what if I would want to know the > difference between the previous filled one, divided by the distance? > > For example: > |---+| > | value | difference | > |---+| > |12 || > |

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Achim Gratz
Nicolas Goaziou writes: > As explained in this thread, it is not necessary to support: > > #+INCLUDE: "file.ext" wrap center I'm still not getting your argument or I misunderstand what you're trying to say. Using "wrap" should produce an export block and nothing else. So as long as there can b

Re: [O] Escaping again!

2014-06-01 Thread Gregor Zattler
Hi Bastien, * Bastien [30. May. 2014]: [...] > For now description lists accept both "-" and "+". I'm all for > allowing only "-" so that we could use [...] > in your example. > > What do you and others think? I'd like to be able to use a mix of "-" or "+" in list items as to indicate positive

Re: [O] Difference between two rows

2014-06-01 Thread Cecil Westerhof
2014-06-01 13:57 GMT+02:00 Michael Brand : > On Sun, Jun 1, 2014 at 1:38 PM, Cecil Westerhof > wrote: > > I like to calculate in a table the difference between the value in a > field > > in the current row and the previous field. How would I do that? > > > > Something like: > > |---+-

Re: [O] Difference between two rows

2014-06-01 Thread Michael Brand
Hi Cecil On Sun, Jun 1, 2014 at 1:38 PM, Cecil Westerhof wrote: > I like to calculate in a table the difference between the value in a field > in the current row and the previous field. How would I do that? > > Something like: > |---+| > | value | difference | > |---+-

[O] Difference between two rows

2014-06-01 Thread Cecil Westerhof
I like to calculate in a table the difference between the value in a field in the current row and the previous field. How would I do that? Something like: |---+| | value | difference | |---+| |12 || |15 | 3 | |83 | 68 | |

Re: [O] Check on empty does not work

2014-06-01 Thread Cecil Westerhof
2014-06-01 12:58 GMT+02:00 Michael Brand : > On Sun, Jun 1, 2014 at 12:00 PM, Cecil Westerhof > wrote: > > 2014-06-01 11:50 GMT+02:00 Cecil Westerhof : > >> I am trying the following: > >> #+TBLFM: @-I$4..@+I$4 = if("$3" == "nan", string(""), $3 - $2) ; > %.1f > >> and: > >> #+TBLFM: @-I$

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Nicolas Goaziou
Achim Gratz writes: > Nicolas Goaziou writes: >> I didn't like the "wrap" parameter because it mixes parsed blocks (e.g., >> wrap quote) and raw blocks (e.g., wrap html). It is important to know if >> the parser should parse the contents of the file or not. Therefore, the >> new syntax, if any, s

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Nicolas Goaziou
Hello, Omid writes: > I think #+INCLUDE: should be just that: Include whatever the user is > asking to. No header arguments dumps the file in Org (as it does now), > subject to the usual processing, and a header argument like html wraps > it in the appropriate delimiter, subject to processing ac

Re: [O] Hiding checked items in a checkbox list (FR?)

2014-06-01 Thread Alexis
Sergio Pokrovskij writes: > Yes (actually I have about 80 items in my Springpad list; if the full > list consists of mere 10 items, it fits the screen of my smartphone, > and there is no real need to hide the checked items). *nod* Fair enough; i was just making up some numbers in order to be con

Re: [O] Check on empty does not work

2014-06-01 Thread Michael Brand
Hi Cecil On Sun, Jun 1, 2014 at 12:00 PM, Cecil Westerhof wrote: > 2014-06-01 11:50 GMT+02:00 Cecil Westerhof : >> I am trying the following: >> #+TBLFM: @-I$4..@+I$4 = if("$3" == "nan", string(""), $3 - $2) ; %.1f >> and: >> #+TBLFM: @-I$4..@+I$4 = if("$3" == "", string(""), $3 - $2) ; %

Re: [O] Hiding checked items in a checkbox list (FR?)

2014-06-01 Thread Sergio Pokrovskij
> "Al" == Alexis wrote: Al> Sergio Pokrovskij writes: >> The next problem is that MobileOrg should respect the preliminary >> hiding done before the visit to the shop. I do not request that it >> hide the checked (= bought) items as well (actually I'd prefer it to >> leave them ch

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Achim Gratz
Nicolas Goaziou writes: > I didn't like the "wrap" parameter because it mixes parsed blocks (e.g., > wrap quote) and raw blocks (e.g., wrap html). It is important to know if > the parser should parse the contents of the file or not. Therefore, the > new syntax, if any, should make it clear. In the

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Omid
Thank you for the patch, Achim. On 06/01/2014 05:26 AM, Achim Gratz wrote: > Nicolas Goaziou writes: >> Thanks for the patch. However, I'd rather not allow arbitrary blocks >> around included files, as it can be the source of some headache (e.g., >> a quote block around an Org file containing a he

Re: [O] Check on empty does not work

2014-06-01 Thread Cecil Westerhof
2014-06-01 11:50 GMT+02:00 Cecil Westerhof : > I am trying the following: > #+TBLFM: @-I$4..@+I$4 = if("$3" == "nan", string(""), $3 - $2) ; %.1f > and: > #+TBLFM: @-I$4..@+I$4 = if("$3" == "", string(""), $3 - $2) ; %.1f > > But in both case the fourth field is filled when the third field

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Nicolas Goaziou
Achim Gratz writes: > Nicolas Goaziou writes: >> Actually, I think there are two possible ways to handle this: >> >> 1. Add a new "export" (or something else) parameter which will wrap >> file contents within an export block relative to the current >> back-end. Unfortunately, this wi

[O] Check on empty does not work

2014-06-01 Thread Cecil Westerhof
I am trying the following: #+TBLFM: @-I$4..@+I$4 = if("$3" == "nan", string(""), $3 - $2) ; %.1f and: #+TBLFM: @-I$4..@+I$4 = if("$3" == "", string(""), $3 - $2) ; %.1f But in both case the fourth field is filled when the third field is empty. What am I doing wrong? I am using version 8.2

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Achim Gratz
Nicolas Goaziou writes: > Thanks for the patch. However, I'd rather not allow arbitrary blocks > around included files, as it can be the source of some headache (e.g., > a quote block around an Org file containing a headline). Also we don't > really need it since most use-cases are already supporte

Re: [O] latex markup in org?

2014-06-01 Thread Glyn Millington
Steven Arntson writes: > I've been learning to export from org to latex (to pdf), and have had > great success. There's a simplification to the process I'd like to make, > though, if it's possible. > > Right now I use files: file.org and filestyle.sty. The .sty gives > the latex-specific instruct

Re: [O] Patch for testing `org-open-at-point'

2014-06-01 Thread Bastien
Hi York, York Zhao writes: > Thank you very much for implementing this. Really appreciated. So do you think > it is a good idea to add my test (the patch) now for testing this? Yes. > For your convenience, I've attached again in this message the same patch I had > sent on April 10. Installed,

Re: [O] Moving footnotes

2014-06-01 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Done. Though, I changed `org-footnote-action' instead of > `org-footnote-new', since the latter should, IMO, return an error when > called from a point where no footnote is allowed. Right, thanks, -- Bastien

Re: [O] [bug] f36b19eef6 uses font-lock-ensure, which is only implemented in emacs-trunk

2014-06-01 Thread Bastien
Achim Gratz writes: > This needs a compatibility alias, > function or macro since the behaviour of font-lock-fontify-buffer has > been changed to interactive-only. I expected the compatibility alias to be available from Emacs trunk, but I should have checked. I don't have time to fix time right

Re: [O] Escaping again!

2014-06-01 Thread Nicolas Goaziou
Hello, Bastien writes: > For now description lists accept both "-" and "+". I'm all for > allowing only "-" so that we could use > > + \(+\) :: Int → Int → Int > + \(-\) :: Int → Int →Int > + \(\leq\) :: Int → Int → Bool > + \(=\) :: Int → Int → Bool > > in your example. > > What do you and ot

[O] [bug] f36b19eef6 uses font-lock-ensure, which is only implemented in emacs-trunk

2014-06-01 Thread Achim Gratz
As the subject says, aside from this that particular change should have been in a separate commit since it's completely unrelated to what the commit summary says it is doing. This needs a compatibility alias, function or macro since the behaviour of font-lock-fontify-buffer has been changed to in

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > That's not yet possible. The following patch would implement it, but I > guess there are a few things that need to be discussed before this gets > official, if at all. I haven't given it much testing either. > > From 425b53146b99b1dd9b9b5d9b96e950dfea81835c Mon Sep

Re: [O] #+INCLUDE: myfile.html html does not include /literally/; Org processes

2014-06-01 Thread Achim Gratz
Omid writes: > I am trying to include an HTML file (say myfile.html, which has only > the ) in an Org file so that upon export the contents of > myfile.html are /literally/ inserted in the appropriate section of the > exported HTML file. That's not yet possible. The following patch would implemen

Re: [O] latex markup in org?

2014-06-01 Thread Omid
Hello Steven, LaTeX .sty files are special. They are not meant to be included in a .tex file. See https://tex.stackexchange.com/questions/91167/why-use-sty-files for more information. Omid Sent from my Emacs On 06/01/2014 02:57 AM, Steven Arntson wrote: > I've been learning to export from org t