[O] Calculating percentage

2017-07-14 Thread Cecil Westerhof
I have implemented something in different ways. I have the following table: |--+| | Average | Percentage | |--+| | 3.01E+00 || | 7.31E+00 || |--+| | 2.72E+01 || | 4.09E+01 ||

[O] Offline for a week

2017-07-14 Thread Nicolas Goaziou
Fellow Org-ers, FWIW, I will be offline for a week. Have fun. Regards, -- Nicolas Goaziou0x80A93738

[O] [PATCH] convert htmlize.el to use cl-lib rather than cl

2017-07-14 Thread Stig Brautaset
Did a rather mechanical translation here, but test results seems to be the same as before. Are patches like these something you're interested in? >From 68310479b615c80fb53aa112d274e2b76c0e2b70 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Fri, 14 Jul 2017 20:49:01 +0100

[O] [PATCH] Use cl-lib rather than cl variants in org-drill

2017-07-14 Thread Stig Brautaset
org-drill requires only cl-lib rather than cl, so should use cl-gensym rather than gensym I believe. >From 1eef99d550e467bf4a3eaf6bdbe4d3a482f6c187 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Fri, 14 Jul 2017 20:45:37 +0100 Subject: [PATCH 2/3] org-drill.el: use

[O] [PATCH] use cl-lib functions rather than cl ones in org-test

2017-07-14 Thread Stig Brautaset
>From ead36e862d150e3a83d363bdead850a2e3ec281d Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Fri, 14 Jul 2017 20:43:11 +0100 Subject: [PATCH 1/3] org-test.el: use prefixed functions from cl-lib.el rather than cl.el --- testing/org-test.el | 4 ++-- 1 file changed, 2

[O] [PATCH] ob-vala.el: Add Vala support to Babel

2017-07-14 Thread Christian Garbs
* ob-vala.el: Add support for the Vala language to Babel. --- lisp/ob-vala.el | 129 1 file changed, 129 insertions(+) create mode 100644 lisp/ob-vala.el diff --git a/lisp/ob-vala.el b/lisp/ob-vala.el new file mode 100644 index

Re: [O] [PATCH] Add missing require in org-test.el

2017-07-14 Thread Stig Brautaset
Nicolas Goaziou writes: >>(require 'cl-lib) >> + (require 'cl) > > Thank you. > > Actually, the proper fix would be to replace functions not working with > (require 'cl-lib). > > Would you want to look into it? Sure! I'll try that. Stig

Re: [O] [PATCH] Add missing require in org-test.el

2017-07-14 Thread Nicolas Goaziou
Hello, Stig Brautaset writes: > This is required for me to be able to run tests on master with GNU Emacs > 26.0.50 on macOS. [...] >(require 'cl-lib) > + (require 'cl) Thank you. Actually, the proper fix would be to replace functions not working with

[O] org-depend new features

2017-07-14 Thread Adrian Bradd
Hi, There was a discussion some time ago about adding some new features to org-depend [1]. I'm not sure if anyone else is looking into this, but I have started on trying to implement some of the features summarized in [2]. I have multi-file TRIGGER and BLOCKER task actions working. My working

[O] [PATCH] Add missing require in org-test.el

2017-07-14 Thread Stig Brautaset
This is required for me to be able to run tests on master with GNU Emacs 26.0.50 on macOS. >From f8959cd59e1f9ba5b6752d3d76f042c89553c7a3 Mon Sep 17 00:00:00 2001 From: Stig Brautaset Date: Fri, 14 Jul 2017 14:48:37 +0100 Subject: [PATCH] org-test: add missing require for

Re: [O] [Patch] Support for dimming local to each agenda

2017-07-14 Thread Nicolas Goaziou
Nicolas Goaziou writes: > Yuri Lensky writes: > >> Why not save mark? > > We usually do not mess with it, unless this is explicit in the function > documentation, e.g., `org-mark-ring-push'. > >> This allows user-defined hooks in org-blocker-hooks more

Re: [O] [Patch] Support for dimming local to each agenda

2017-07-14 Thread Nicolas Goaziou
Yuri Lensky writes: > Why not save mark? We usually do not mess with it, unless this is explicit in the function documentation, e.g., `org-mark-ring-push'. > This allows user-defined hooks in org-blocker-hooks more freedom. I'm not sure this is a sufficient reason, really.

Re: [O] Org not registering tags as links to modified agenda

2017-07-14 Thread Nicolas Goaziou
Hello, William Horne writes: > Right now, I have a few org files in a folder that are all registered as > org-agenda-files. When I go to my agenda, tasks from these files show up. > > Many of these tasks have tags. In an old version of org mode, when I > clicked on these

Re: [O] [PATCH] ox-koma-letter.el: Add support for url variable

2017-07-14 Thread Nicolas Goaziou
Hello, Grant Rettke writes: > From ba9e9f14fdfc6afd9a8214d8a40f4bf724e2bdb4 Mon Sep 17 00:00:00 2001 > From: Grant Rettke > Date: Thu, 13 Jul 2017 20:14:52 -0500 > Subject: [PATCH] ox-koma-letter.el: Add support for url variable > > *

Re: [O] [Patch] Support for dimming local to each agenda

2017-07-14 Thread Yuri Lensky
Why not save mark? This allows user-defined hooks in org-blocker-hooks more freedom. That said, I am not sure of org-mode project conventions, so if `save-excursion' is preferred I can change it to that. Thanks. On Fri, Jul 14, 2017 at 1:29 AM, Nicolas Goaziou wrote: >

Re: [O] Should org-insert-todo-heading be a state change?

2017-07-14 Thread Nicolas Goaziou
Hello, Allen Li writes: > Org mode allows logging timestamps and making notes when changing to a > TODO keyword: > >TODO(!) | DONE(!) > > However, org-insert-todo-heading does not respect this. > > I'm wondering whether it should. For example, given the above >

Re: [O] disable table in EXAMPLE or QUOTE block

2017-07-14 Thread Eric S Fraga
On Friday, 14 Jul 2017 at 00:12, David Rogoff wrote: > I’m trying to draw an ASCII picture in a BEGIN_QUOTE block. However, > since it contains vertical bars, when I hit return, it formats the > whole block as if it were a table. How do I stop this incorrect > behavior? I tried BEGIN_EXAMPLE

Re: [O] %K template escape doesn't link to exact task headline

2017-07-14 Thread Nicolas Goaziou
Hello, Michal Politowski writes: > Thank you. Wouldn't it be better to still have a link description > though? Done. Thank you. Regards, -- Nicolas Goaziou0x80A93738

Re: [O] disable table in EXAMPLE or QUOTE block

2017-07-14 Thread Nicolas Goaziou
Hello, David Rogoff writes: > I’m trying to draw an ASCII picture in a BEGIN_QUOTE block. However, > since it contains vertical bars, when I hit return, it formats the > whole block as if it were a table. How do I stop this incorrect > behavior? It is not incorrect. Quote

Re: [O] Babel support for Vala

2017-07-14 Thread Nicolas Goaziou
Hello, Christian Garbs writes: > The patch is prepared but I have one question regarding the copyright > situation: Looking at the other files[1], I think I should now list > the FSF as copyright holder. Can I already do that before the > paperwork has been completed

Re: [O] [Patch] Support for dimming local to each agenda

2017-07-14 Thread Nicolas Goaziou
Hello, Yuri Lensky writes: > Thanks. I have attached an updated patch that addresses your points (with > some additional cleanup). Thank you. >> Why is `save-mark-and-excursion' needed? >> > Because we are moving point to get to the heading, and in principle hooks > in

[O] Should org-insert-todo-heading be a state change?

2017-07-14 Thread Allen Li
Org mode allows logging timestamps and making notes when changing to a TODO keyword: TODO(!) | DONE(!) However, org-insert-todo-heading does not respect this. I'm wondering whether it should. For example, given the above keywords, the intent would most likely be to log when TODO headings