emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Add minlevel parameter to column view parameters


From: Nicolas Goaziou
Subject: Re: [O] Add minlevel parameter to column view parameters
Date: Thu, 19 Oct 2017 21:33:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Thomas Cordival <address@hidden> writes:

> you will find attached a simple patch to add a new parameter to the
> column view dynamic block: minlevel.

Thank you!

> +     (if (and minlevel maxlevel)
> +      (format "LEVEL>=%d&LEVEL<=%d" minlevel maxlevel)
> +       (if minlevel
> +        (format "LEVEL>=%d" minlevel)
> +      (if maxlevel
> +          (format "LEVEL<=%d" maxlevel))
> +      ))

This could be refactored into a `cond'.

> +     ;; (and (or (not minlevel) (format "LEVEL>=%d" minlevel))
> +     ;;        (or (not maxlevel) (format "LEVEL<=%d" maxlevel)))

This can be removed.

Have you signed FSF papers? Otherwise, you need to insert TINCHANGE at
the end of the commit message.


Regards,

-- 
Nicolas Goaziou



reply via email to

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