Re: [O] [bug][babel] #+call: execution broken

2011-11-18 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Martyn Jago martyn.j...@btinternet.com writes: Hi C-c C-c on a #+call: block() statement no longer causes the block to execute. This regression occurred on Nov 8th: commit a4273cbe0e0480bd02c59464cafb985951b1c5a2 Author: Eric Schulte

Re: [O] odt export to google-docs problem

2011-11-18 Thread Rustom Mody
On Fri, Nov 18, 2011 at 11:21 AM, Jambunathan K kjambunat...@gmail.comwrote: Suvayu/Rustom suvayu ali fatkasuvayu+li...@gmail.com writes: Hi Jambunathan, On Thu, Nov 17, 2011 at 11:06, Jambunathan K kjambunat...@gmail.com wrote: Can anyone else reproduce this? I can replicate

[O] Export #+call: within example block

2011-11-18 Thread Martyn Jago
Hi Is there a way to export the following, is this a bug, or is there a work-around (to HTML)? --8---cut here---start-8--- #+begin_example #+call: rubbish() #+end_example --8---cut here---end---8--- For instance this

[O] [patch] Add faces for highlighting calendar events in the agenda

2011-11-18 Thread Sebastien Vauban
Hello, Find attached a patch to highlight 2 types of calendar events: - appointments (or whatever close to that), that is events based on an active timestamp; - S-expressions to compute active timestamps for events. The change is quite straightforward. Best regards, Seb -- Sebastien

Re: [O] bug#10071: 24.0.91; Emacs runtime crashes while exporting an org file

2011-11-18 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: Ccing Nicolas to attract his attention. Refer http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10071 I cannot reproduce it on development version of Org mode (nor in stable version), GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version

[O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Holger Hoefling
Hi, I have a problem/request for org-mode and was looking for help. I am using org-mode to write source code files and tangle them out. I want to compile them using make. My problem now is that org-mode overwrites the old files every time I tangle them out, therefore also updating the time stamp

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Brian Wightman
On Fri, Nov 18, 2011 at 7:17 AM, Holger Hoefling hhoef...@gmail.com wrote: I have a problem/request for org-mode and was looking for help. I am using org-mode to write source code files and tangle them out. I want to compile them using make. My problem now is that org-mode overwrites the old

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Sebastien Vauban
Hi Holger, Holger Hoefling wrote: I have a problem/request for org-mode and was looking for help. I am using org-mode to write source code files and tangle them out. I want to compile them using make. My problem now is that org-mode overwrites the old files every time I tangle them out,

[O] How to estimate effort by week?

2011-11-18 Thread Christoph LANGE
Dear all, is there any way of estimating effort by week? I have some tasks on which I don't want to waste too much time per week. For other tasks, on which I don't want to waste too much time per _day_, I can use the following properties: :PROPERTIES: :CLOCK_MODELINE_TOTAL: today

Re: [O] Quicker refile? Capture progress cookies. Using capture to count/tally

2011-11-18 Thread Gez
Bernt, I think your system (and your writing about it) is fantastic and it has inspired me to develop mine. On 17 November 2011 23:10, Bernt Hansen be...@norang.ca wrote: Gez sule...@gmail.com writes: I almost exclusively use capture to quickly file away things I don't want to forget.  This

[O] Bug: Following links moves me in the agenda [7.7 (release_7.7.397.g5adafd)]

2011-11-18 Thread Dave Abrahams
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] How to estimate effort by week?

2011-11-18 Thread Christian Egli
Christoph LANGE ch.la...@jacobs-university.de writes: is there any way of estimating effort by week? Have a look at the doc string of org-effort-durations. Documentation: Conversion factor to minutes for an effort modifier. Each entry has the form (MODIFIER . MINUTES). In an effort string,

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Tom Prince
On Fri, 18 Nov 2011 08:23:18 -0600, Brian Wightman midlife...@wightmanfam.org wrote: Perhaps a way to deal with this would be to tangle to a different directory, and then sync any changes into your compilation source directory. If you would update the compilation directory only when

Re: [O] How to estimate effort by week?

2011-11-18 Thread Christoph LANGE
Hi Christian, 2011-11-18 17:32 Christian Egli: Christoph LANGEch.la...@jacobs-university.de writes: is there any way of estimating effort by week? Have a look at the doc string of org-effort-durations. Documentation: Conversion factor to minutes for an effort modifier. Thanks for your

Re: [O] bug#10071: 24.0.91; Emacs runtime crashes while exporting an org file

2011-11-18 Thread Jambunathan K
Eli, Thanks for the clue and Stefan, thanks for the fix meanwhile. The minimal snippet that captures the root cause follows down below. Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Jambunathan K kjambunat...@gmail.com writes: Ccing Nicolas to attract his attention. Refer

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Brian Wightman
On Fri, Nov 18, 2011 at 10:46 AM, Tom Prince tom.pri...@ualberta.net wrote: On Fri, 18 Nov 2011 08:23:18 -0600, Brian Wightman midlife...@wightmanfam.org wrote: Perhaps a way to deal with this would be to tangle to a different directory, and then sync any changes into your compilation source

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Carsten Dominik
On 18.11.2011, at 14:17, Holger Hoefling wrote: Hi, I have a problem/request for org-mode and was looking for help. I am using org-mode to write source code files and tangle them out. I want to compile them using make. My problem now is that org-mode overwrites the old files every time

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Brian Wightman
On Fri, Nov 18, 2011 at 11:02 AM, Carsten Dominik carsten.domi...@gmail.com wrote: How about changing the make file so that the dependence is on the Org file, not on the source file? You could then arrange for make to call emacs in batch-mode to tangle the source file and then compile it?

[O] [OT] TeX/LaTex and OrgMode

2011-11-18 Thread brian powell
* [OT] TeX/LaTex and OrgMode is the off topic--since OrgMode spits out TeX and so many OrgMode users use TeX; I hope you'll get a kick out of this: http://detexify.kirelabs.org/classify.html?

[O] Bug: org-clock-out-if-current = marker does not point anywhere [7.7 (release_7.7.397.g5adafd)]

2011-11-18 Thread Dave Abrahams
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Holger Hoefling
Hi Carsten, thanks for the suggestion, but as I agree with Brian. If there is more than one source file in the org-file, then the whole project would still be recompiled, not just the updated file. To be more exact, I actually don't want to compile things, but run R scripts using make. So the

Re: [O] Export #+call: within example block

2011-11-18 Thread Eric Schulte
Hi Martyn, Thanks for pointing out this bug. I've just pushed up a fix and a test case. Cheers -- Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Is there a way to export the following, is this a bug, or is there a work-around (to HTML)? #+begin_example #+call: rubbish()

Re: [O] Details of compling and running C++ code from Org-mode?

2011-11-18 Thread Eric Schulte
Hi Michael, Michael Hannon jm_han...@yahoo.com writes: Greetings.  I'm curious about the process of executing a program that is compiled from a source block in Org-mode. Some background: I was playing with some C++ code (a slight generalization of some code I found in a book).  I wanted to

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Eric Schulte
Brian Wightman br...@wightmanfam.org writes: On Fri, Nov 18, 2011 at 11:02 AM, Carsten Dominik carsten.domi...@gmail.com wrote: How about changing the make file so that the dependence is on the Org file, not on the source file? You could then arrange for make to call emacs in batch-mode to

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Achim Gratz
Holger Hoefling hhoef...@gmail.com writes: I have a problem/request for org-mode and was looking for help. I am using org-mode to write source code files and tangle them out. I want to compile them using make. My problem now is that org-mode overwrites the old files every time I tangle them

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Michael Hannon
Just for the record, adding the following to my .emacs file seems to solve the problem I was having, where the C++ compiler was compiling a source block (written  to a temporary file in /tmp/...) and was unable to find an include file in the current working directory: (setq

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Achim Gratz
Eric Schulte schulte.e...@gmail.com writes: I think the best approach in this case would be to tangle each file out to a temporary buffer, and then just before exiting the tangle function the content of these temporary buffers could be checked against the files on disk, and only those buffers

[O] LaTeX export: footnotes vs. angle brackets in Babel snippets

2011-11-18 Thread Ludovic Courtès
Hello, The LaTeX exporter of Org 7.7 from a recent Emacs snapshot improperly interprets sequences with angle brackets in Babel snippets as if they were footnote references, as in: #+BEGIN_src C int array[2]; #+END_src This leads to a wrong-type-arg error in

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Eric Schulte
A slightly cleaner solution would be the following. (add-to-list 'org-babel-default-header-args:C (cons :flags (concat -std=c++0x -I (expand-file-name . But either the above or below configuration will likely only work if the directory holding your .emacs is the same directory

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Nick Dokos
Holger Hoefling hhoef...@gmail.com wrote: Hi Carsten, thanks for the suggestion, but as I agree with Brian. If there is more than one source file in the org-file, then the whole project would still be recompiled, not just the updated file. To be more exact, I actually don't want to

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: Eric Schulte schulte.e...@gmail.com writes: I think the best approach in this case would be to tangle each file out to a temporary buffer, and then just before exiting the tangle function the content of these temporary buffers could be checked against the

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Sebastien Vauban
Hi Michael, Michael Hannon wrote: Just for the record, adding the following to my .emacs file seems to solve the problem I was having, where the C++ compiler was compiling a source block (written  to a temporary file in /tmp/...) and was unable to find an include file in the current working

Re: [O] Use prefix arg 0 to inhibit note taking for TODO change

2011-11-18 Thread Sebastien Vauban
Hi Carsten, You committed: Use prefix arg 0 to inhibit note taking for TODO change * lisp/org.el (org-todo): Interpret 0 prefix arg as note inhibitor. Sometimes I want to quickly make a few TODOs done in the agenda and I want to bypass the note taking I have normally set up. With this

Re: [O] Use prefix arg 0 to inhibit note taking for TODO change

2011-11-18 Thread Carsten Dominik
On 18.11.2011, at 10:29, Sebastien Vauban wrote: Hi Carsten, You committed: Use prefix arg 0 to inhibit note taking for TODO change * lisp/org.el (org-todo): Interpret 0 prefix arg as note inhibitor. Sometimes I want to quickly make a few TODOs done in the agenda and I want to

Re: [O] Export #+call: within example block

2011-11-18 Thread Martyn Jago
Eric Schulte schulte.e...@gmail.com writes: Thanks Eric - sorted my script. Best, Martyn Hi Martyn, Thanks for pointing out this bug. I've just pushed up a fix and a test case. Cheers -- Eric Martyn Jago martyn.j...@btinternet.com writes: Hi Is there a way to export the

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Holger Hoefling
Hi Eric, sounds like the problem may after all not be that simple.Could the code blocks be written incrementally to the buffer (or a temporary file on disk) and only after everything has been tangled out all temporary buffers or files checked against the ones on disk? Unfortunately, I do not

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Holger Hoefling
Hi Nick, I think you misunderstood me there - I am actually not worried about how computationally intensive the tangling process is. This always works very quickly, so even if they have to be copied around and take a bit longer, I would not mind. Thanks Holger On Fri, Nov 18, 2011 at 8:32 PM,

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Nick Dokos
Holger Hoefling hhoef...@gmail.com wrote: I think you misunderstood me there - I am actually not worried about how computationally intensive the tangling process is. This always works very quickly, so even if they have to be copied around and take a bit longer, I would not mind. Ah, ok -

Re: [O] Problem compiling C++ in Org-mode

2011-11-18 Thread Michael Hannon
From: Sebastien Vauban wxhgmqzgw...@spammotel.com Just for the record, adding the following to my .emacs file seems to solve the problem I was having, where the C++ compiler was compiling a source block (written  to a temporary file in /tmp/...) and was unable to find an include file in the

Re: [O] Not overwriting unchanged source code files when tangling

2011-11-18 Thread Holger Hoefling
Hey Nick, thank you very much. That sounds like a very good solution to my problem that does not require changes to org-mode. Best Holger On Sat, Nov 19, 2011 at 5:00 AM, Nick Dokos nicholas.do...@hp.com wrote: Holger Hoefling hhoef...@gmail.com wrote: I think you misunderstood me there -