From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /ERBEXPZpV7IMgAA0tVLHw (envelope-from ) for ; Sun, 26 Apr 2020 18:56:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GCNmInrZpV5yPAAA1q6Kng (envelope-from ) for ; Sun, 26 Apr 2020 18:56:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6FBE59425A5 for ; Sun, 26 Apr 2020 18:56:57 +0000 (UTC) Received: from localhost ([::1]:42774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmSW-0004Wg-11 for larch@yhetil.org; Sun, 26 Apr 2020 14:56:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42566) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSmRu-0004WT-JZ for emacs-orgmode@gnu.org; Sun, 26 Apr 2020 14:56:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSmRq-0007Ov-IE for emacs-orgmode@gnu.org; Sun, 26 Apr 2020 14:56:17 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSmRp-0007K9-IJ for emacs-orgmode@gnu.org; Sun, 26 Apr 2020 14:56:14 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 11F1961D6E; Sun, 26 Apr 2020 14:56:12 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=icFwGx6AFNA9WvaHELd68B7VoTk=; b=EZ6Cbj Tw+Bt52Y7zEcsErvGD54vM/wugktO3e0NZezlawFDu3R34E8reFAiBB+Te47LUV4 IdG1n6DbX8rmE9JtX0U0X9hfp8PPBLxmzfeB8Fo89TjcvnMOHc5JfABuVL5Xhxrf qoAQ3hq0Z6m0wHMc3caGwObWnJVfHeMWvc8xE= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0A6D561D6D; Sun, 26 Apr 2020 14:56:12 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=fcXwh/3BKVaVOfum0uW3S7r5eX/YUE2KbuyL5i47EOI=; b=gaBqnRNFUfjdFJ7dCawwTyjP7aEoWL/9f14RVtQvo9Gee50fV5r/+SZZvpSzT5BC/TqzcI/102XDcRf5t9wRVNWIDv7uNeP3tb/DxezPLhT3DJbO9g/DXTOY6c5VO+PdVOr2wWymLoY8v+WEdd0v2S4ub2EzrJ7dSAIn2lQyYN8= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 8379C61D6C; Sun, 26 Apr 2020 14:56:11 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Stig Brautaset , emacs-orgmode@gnu.org Subject: Re: Feature request: org-agenda-clockreport-mode to omit files with no clocked time In-Reply-To: References: Date: Sun, 26 Apr 2020 18:56:10 +0000 Message-ID: <87r1wam5yt.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 989C4EB4-87EF-11EA-9B4E-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/26 14:56:12 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.70 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=EZ6Cbj T; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=gaBqnRNF; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55771791568431]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.20), country: US(-0.00), ip: 209.51.188.17(-0.56)]; DWL_DNSWL_FAIL(0.00)[kyleam.com:server fail,209.51.188.17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; URIBL_BLOCKED(0.00)[pobox.com:dkim,brautaset.org:email,maybe.org:url,projects.org:url,tasks.org:url,kyleam.com:dkim]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 6DyQoI/2GKkx Stig Brautaset writes: > I often end up with empty files in my org-agenda-clockreport-mode, > something like this. (For the avoidance of doubt: this is an ECM ;-) ) > > | File | Headline | Time | | > |--------------+------------------+--------+---| > | | ALL *Total time* | *0:42* | | > |--------------+------------------+--------+---| > | maybe.org | *File time* | *0:00* | | > |--------------+------------------+--------+---| > | projects.org | *File time* | *0:00* | | > |--------------+------------------+--------+---| > | tasks.org | *File time* | *0:42* | | > | | Foo | 0:08 | | > | | Bar | 0:24 | | > | | Quux | 0:10 | | > > I would have liked it to hide all the uninteresting files (i.e. files > with no clocked time) and instead shown me: [...] > It seems like a small-ish change I may brave to implement--unless > someone beats me to it, which I'm fine with! I would appreciate some > pointers: > > 1. Would I need to introduce an option, in case anyone relies on the > empty sections? (I *think* not, as I gather the prevailing wind is to > reduce the number of options.) I haven't tried, but can you already do this via org-agenda-clockreport-parameter-plist, in particular by adding `:fileskip0 t'?