emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Accepted] [O, 1/3] Document max number of stars in headings in docs


From: Bastien Guerry
Subject: [O] [Accepted] [O, 1/3] Document max number of stars in headings in docstring of org-inlinetask-minlevel
Date: Tue, 24 Jan 2012 17:10:31 +0100 (CET)

Patch 1124 (http://patchwork.newartisans.com/patch/1124/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C20120122131516.GC21012%40shi.workgroup%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [O, 1/3] Document max number of stars in headings in docstring of
>       org-inlinetask-minlevel
> Date: Sun, 22 Jan 2012 18:15:16 -0000
> From: Gregor Zattler <address@hidden>
> X-Patchwork-Id: 1124
> Message-Id: <address@hidden>
> To: emacs-orgmode <address@hidden>
> 
> Clocking only works with headings indented with less than `30' stars
> (hardcoded `lmax' value in `org-clock-sum').  Since especially inline
> tasks may dupe someone into using more stars, document the limit in
> the docsring of `org-inlinetask-min-level'.
> 
> ---
> lisp/org-inlinetask.el |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
> index a14e404..b8e8437 100644
> --- a/lisp/org-inlinetask.el
> +++ b/lisp/org-inlinetask.el
> @@ -90,6 +90,9 @@
>  
>  (defcustom org-inlinetask-min-level 15
>    "Minimum level a headline must have before it is treated as an inline task.
> +Don't set it to something higher than `29' or clocking will break since this 
> +is the hardcoded maximum number of stars `org-clock-sum' will work with.
> +
>  It is strongly recommended that you set `org-cycle-max-level' not at all,
>  or to a number smaller than this one.  In fact, when `org-cycle-max-level' is
>  not set, it will be assumed to be one less than the value of smaller than
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]