Hello, Stig Brautaset <s...@brautaset.org> writes:
> I've taken a stab at adding support for allowing > org-columns-summary-types entries to contain an optional COLLECT > function that can be used to conditionally collect a property. Thank you. > Please see the included patch. I added a NEWS entry, but wasn't sure > whether a manual entry is required. I don't think so. Usage is quite advanced, and there's already a pointer to the docstring. > I added a couple simple tests, which pass, but the test immediately > above the two I added fails when this patch is applied; I haven't been > able to figure out why. Any help appreciated. I fixed that. I also inserted two spaces at the end of sentences in the docstrings. > Subject: [PATCH] org-colview: Allow custom COLLECT functions for derived > properties > > In addition to (LABEL . SUMMARIZE), org-columns-summary-types now > accepts (LABEL SUMMARIZE COLLECT) entries. The new COLLECT function is > called with one argument, the property being summarized. I fixed the commit message (missing references to modified functions). I added "TINYCHANGE" at the end of the commit. I applied the patch. >From now on, please consider signing FSF papers if you want to provide more patches. Thank you! Regards, -- Nicolas Goaziou