Re: [O] [RFC/PATCH] Fixes for org-timer

2014-12-07 Thread Kyle Meyer
Nicolas Goaziou wrote: > Kyle Meyer writes: > >> Do you prefer to add fixes for the current design, or just move >> directly to merging the two APIs? > > The latter sounds better. I've attached updated patches. >From da0454ea110de0b4effb59ec220d8e15960fbf84 Mon Sep 17 00:00:00 2001 From: Kyle M

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 04:25, Eric Abrahamsen a écrit : > > Okay, having fun! This seems like exactly what I was after. A couple of > things: > > I've attached a patch replacing some [a-z] regexps with [:word:], so > that column names can be written in scripts other than ascii (my tables > above are actuall

Re: [O] table formula help...

2014-12-07 Thread Michael Brand
Hi Thierry On Sun, Dec 7, 2014 at 4:25 AM, Eric Abrahamsen wrote: > Thierry Banel writes: >> [...] >> #+BEGIN: aggregate :table "work" :cols "Translator sum(Chars) sum(Lines)" >> | Translator | sum(Chars) | sum(Lines) | >> >> |-++| >> | Austin

Re: [O] table formula help...

2014-12-07 Thread Michael Brand
Hi Thierry On Sun, Dec 7, 2014 at 10:20 AM, Thierry Banel wrote: > Le 07/12/2014 04:25, Eric Abrahamsen a écrit : >> [...] >> (sum(prod($2 0.7) prod($3 10)) >> >> Where $2 and $3 refer to cells in the aggregated table. > > It would be great of course. However I don't know how to do that > cleanly

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 10:39, Michael Brand a écrit : > Hi Thierry > > > I suggest that orgaggregate leaves such fields empty instead of "NA". > This way the user gets a choice how to deal with them by adding e. g. > EN or not as TBLFM format specifier: > > | Translator | sum(Chars) | sum(Lines) | > |-

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 10:40, Michael Brand a écrit : > > I suggest that orgaggregate lets the user specify a TBLFM to be > inserted and updated. Missing target columns are added automatically, > it would result in > > #+BEGIN: aggregate :table "work" :cols "Translator sum(Chars) sum(Lines)" > | Translator

Re: [O] table formula help...

2014-12-07 Thread Michael Brand
Hi Thierry On Sun, Dec 7, 2014 at 11:02 AM, Thierry Banel wrote: > Maybe the TBLFM should be taken care of for any kind of dynamic blocks, > not only aggregate (columnview, clocktable, propview, invoice, > transpose, and any future dynamic block). Yes, see e. g. ":formula" in http://orgmode.org/

[O] Noweb (named blocks) reference name

2014-12-07 Thread abonnements
Hi, what do you think of allowing spaces in Noweb reference name or named blocks? It seems (to me) to be more natural than remplacing spaces by minus for instance. Example : 1) With named block #+name: first variable : 30 2) With noweb #+name: step 1 #+begin_src #+name: step 2 #+beg

[O] [PATCH] Second proposal for ":session" doc

2014-12-07 Thread Thierry Pellé
Hi, here is a proposal for some change on the ":session" header doc. Comments are welcome! Thierry diff --git a/doc/org.texi b/doc/org.texi index c1e84d4..45e177e 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15566,7 +15566,9 @@ execution. @cindex @code{:session}, src header argument The

Re: [O] How to trigger the clockcheck in an agenda view.

2014-12-07 Thread Rainer Stengele
Am 06.12.2014 16:29, schrieb Bernt Hansen: > Rainer Stengele writes: > >> Am 20.11.2014 um 13:51 schrieb Rainer Stengele: >>> Am 27.09.2013 um 15:00 schrieb Carsten Dominik: >>> Hello Carsten, >>> >>> thank you for that. clockcheck is working. But as soon as I get the >>> clockcheck view the sche

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 11:26, Michael Brand a écrit : > Hi Thierry > > On Sun, Dec 7, 2014 at 11:02 AM, Thierry Banel wrote: >> Maybe the TBLFM should be taken care of for any kind of dynamic blocks, >> not only aggregate (columnview, clocktable, propview, invoice, >> transpose, and any future dynamic bloc

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 11:26, Michael Brand a écrit : > Hi Thierry > > On Sun, Dec 7, 2014 at 11:02 AM, Thierry Banel wrote: >> Maybe the TBLFM should be taken care of for any kind of dynamic blocks, >> not only aggregate (columnview, clocktable, propview, invoice, >> transpose, and any future dynamic bloc

Re: [O] table formula help...

2014-12-07 Thread Michael Brand
Hi Thierry On Sun, Dec 7, 2014 at 5:13 PM, Thierry Banel wrote: > The new features (:formula parameter and TBLFM survival) have been > pushed to https://github.com/tbanel/orgaggregate. The unittests.org > file has been updated. The http://melpa.org repository will reflect > the change shortly. C

[O] Mistake in org-mode manual

2014-12-07 Thread Amitai Hoze
Hi, when reading http://orgmode.org/manual/Export-settings.html I found a mistake. It says: : Toggle line-break-preservation (org-export-preserve-breaks). And it should say: \n: Toggle line-break-preservation (org-export-preserve-breaks). Amitai.

[O] How to enhance the agenda output if soome info is only in the parent entry?

2014-12-07 Thread Marcin Borkowski
Hello, here's my problem. Assume that I have something like this in one of my agenda files: * Some person ** Some action to be done (concerning some_person) * Some other person ** Some action to be done (concerning some_other_person) Now, my (pretty much default) agenda shows only the "Some

Re: [O] Export as ASCII whilst respecting current fill column

2014-12-07 Thread Samuel Wales
interesting that it worked for you. i am using 8.2.10 and ascii export does not fill. it seems to wrap single lines but not fill entire paragraphs. On 5/1/14, Miguel Guedes wrote: > Charles, > > Thanks very much for the tips -- they certainly helped! > > Miguel > > > On 02/05/14 00:56, Charles

Re: [O] How to enhance the agenda output if soome info is only in the parent entry?

2014-12-07 Thread Kyle Meyer
Marcin Borkowski wrote: [...] > * Some person > ** Some action to be done > (concerning some_person) > > > * Some other person > ** Some action to be done > (concerning some_other_person) > > > Now, my (pretty much default) agenda shows only the "Some action to be > done", which is kind of misle

[O] Where should I put the timestamp?

2014-12-07 Thread Marcin Borkowski
Hi there, I vaguely remember someone saying here on the list that putting timestamps in the headline is deprecated. However, I found this in the manual: "A timestamp can appear anywhere in the headline or body of an Org tree entry. Its presence causes entries to be shown on specific dates in th

Re: [O] table formula help...

2014-12-07 Thread Thierry Banel
Le 07/12/2014 10:39, Michael Brand a écrit : > Hi Thierry > > I suggest that orgaggregate leaves such fields empty instead of "NA". > This way the user gets a choice how to deal with them by adding e. g. > EN or not as TBLFM format specifier: > > | Translator | sum(Chars) | sum(Lines) | > |---

Re: [O] How to enhance the agenda output if soome info is only in the parent entry?

2014-12-07 Thread Marcin Borkowski
On 2014-12-07, at 22:37, Kyle Meyer wrote: > What about assigning categories? Thanks a lot! I found it in the manual right after sending my email:-(. It still violates DRY, but I guess it's the best I can come up with; I think I'll use it (even though I don't really like it - I prefer my categ

Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?

2014-12-07 Thread Benjamin Slade
Thanks, Marco. Well, it at least helps to update me to a non-obsolete sexp method. I have no idea how to check what's actually been pushed to `appt` to see whether the updated org-class really behaves differently to org-diary-class in this respect. (So I'll have to see tomorrow how `appt` behaves

Re: [O] How to enhance the agenda output if soome info is only in the parent entry?

2014-12-07 Thread Kyle Meyer
Marcin Borkowski wrote: > On 2014-12-07, at 22:37, Kyle Meyer wrote: > >> What about assigning categories? > > Thanks a lot! I found it in the manual right after sending my email:-(. > > It still violates DRY, but I guess it's the best I can come up with; I > think I'll use it True. For a handf

Re: [O] Mistake in org-mode manual

2014-12-07 Thread Nicolas Goaziou
Hello, Amitai Hoze writes: > Hi, when reading > > http://orgmode.org/manual/Export-settings.html > > I found a mistake. It says: > > : > > Toggle line-break-preservation (org-export-preserve-breaks). > > > And it should say: > > \n: > > Toggle line-break-preservation (org-export-preserve-breaks)

[O] Org-todo-yesterday broken?

2014-12-07 Thread Nikolay Kudryavtsev
Hello. org-todo-yesterday and org-agenda-todo-yesterday do not seem to work in all recent versions of org that I've tried. Also is there a version of them that allows to input a custom date? -- Best Regards, Nikolay Kudryavtsev

Re: [O] Bug: multiple property drawers generated for repeated tasks with org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/]

2014-12-07 Thread Nicolas Goaziou
Hello, "Bradley M. Kuhn" writes: > I'm running org-mode directly out of master branch. I updated to > f212f7cf0d03c8f7abd22ffa6de2e5c46b19a266 (current master at time of > writing) just to make sure the bug below hadn't been fixed recently. It > seems to still be present. Here it is: > > With

Re: [O] [PATCH] org-src: allow `org-babel-edit-prep:.*' to mark region

2014-12-07 Thread Nicolas Goaziou
Oleh writes: > Well, I'm not trying to push my markup or anything, I just want my > custom `org-babel-edit-prep:elisp' to be able to mark the region. > Currently I'm not given that option. Understood. Would you mind providing a patch with format-patch, and reference the current thread in the co

[O] Bug: addt'l multiple property drawers situations when org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/]

2014-12-07 Thread Bradley M. Kuhn
Nicolas, Thanks for fixing that bug so quickly. I grabbed the lastest master and it seems the bug is definitely fixed. I however still have a related bug: I have many entries where the PROPERTIES drawer is at the bottom of a long set of TODO notes. Mine look like this: ** TODO Monthly Account

Re: [O] Org-todo-yesterday broken?

2014-12-07 Thread Kyle Meyer
Nikolay Kudryavtsev wrote: > org-todo-yesterday and org-agenda-todo-yesterday do not seem to work > in all recent versions of org that I've tried. I'd guess this is because org-use-effective-time is set to nil (based on this previous issue [1]). Setting it to non-nil should work, but I think org

Re: [O] Warning about section named "Footnotes"

2014-12-07 Thread Arni Magnusson
Dear Nicolas, I have revised the paragraph following your suggestion, and prepared the patch using the 'git format-patch' command. See below. In the past, I have signed FSF papers for Emacs and Texinfo contributions. Does that cover this contribution as well? If not, I'm happy with the TINYC

[O] org-drill bugs?

2014-12-07 Thread Leu Zhe
Dear orgers, Org-drill can set the review time automatically before. However in recent versions, it always popup calendar buffer to set date manually. need help to solve this problem. Thanks

Re: [O] How to enhance the agenda output if soome info is only in the parent entry?

2014-12-07 Thread Eric Abrahamsen
Marcin Borkowski writes: > On 2014-12-07, at 22:37, Kyle Meyer wrote: > >> What about assigning categories? > > Thanks a lot! I found it in the manual right after sending my email:-(. > > It still violates DRY, but I guess it's the best I can come up with; I > think I'll use it (even though I do

Re: [O] table formula help...

2014-12-07 Thread Eric Abrahamsen
Thierry Banel writes: > Le 07/12/2014 10:40, Michael Brand a écrit : >> >> I suggest that orgaggregate lets the user specify a TBLFM to be >> inserted and updated. Missing target columns are added automatically, >> it would result in >> >> #+BEGIN: aggregate :table "work" :cols "Translator sum(Ch

Re: [O] Where should I put the timestamp?

2014-12-07 Thread Eric Abrahamsen
Marcin Borkowski writes: > Hi there, > > I vaguely remember someone saying here on the list that putting > timestamps in the headline is deprecated. However, I found this in the > manual: > > "A timestamp can appear anywhere in the headline or body of an Org tree > entry. Its presence causes en

Re: [O] Mistake in org-mode manual

2014-12-07 Thread Amitai Hoze
Hi, sorry, I opened the page and the mistake is still there. Amitai On Mon, Dec 8, 2014 at 12:56 AM, Nicolas Goaziou wrote: > Hello, > > Amitai Hoze writes: > > > Hi, when reading > > > > http://orgmode.org/manual/Export-settings.html > > > > I found a mistake. It says: > > > > : > > > > Toggl

[O] C-x RET r utf-8 RET

2014-12-07 Thread Sharon Kimble
I'm trying to set this ╭ │C-x RET r utf-8 RET ╰ as "C-x zx" as I'm finding that I need to use this block-quoted command fairly regularly for some unknown reason. I have set it as --8<---cut here---start->8--- #+BEGIN_SRC emacs-lisp (global-set-key (kb

Re: [O] C-x RET r utf-8 RET

2014-12-07 Thread Eric Abrahamsen
Sharon Kimble writes: > I'm trying to set this > > ╭ > │C-x RET r utf-8 RET > ╰ > > as "C-x zx" as I'm finding that I need to use this block-quoted > command fairly regularly for some unknown reason. > > I have set it as > > #+BEGIN_SRC emacs-lisp > (global-set-key (kbd "C-x zx") 'r utf8)

Re: [O] [PATH] Speedups to org-table-recalculate

2014-12-07 Thread Nathaniel Flath
Fixed. On Fri, Dec 5, 2014 at 3:57 PM, Nicolas Goaziou wrote: > Nathaniel Flath writes: > > > Sorry, that was incorrect - real patches attached. > > Thanks. > > > +(defun org-table-message-once-per-second (t1 &rest args) > > + "If there has been more than one second since T1, display message.