From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mHHtEu2Gtl/dEgAA0tVLHw (envelope-from ) for ; Thu, 19 Nov 2020 14:53:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oAi8Du2Gtl+YFwAAbx9fmQ (envelope-from ) for ; Thu, 19 Nov 2020 14:53:33 +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 684149403CA for ; Thu, 19 Nov 2020 14:53:31 +0000 (UTC) Received: from localhost ([::1]:50020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kflJS-0006XT-DO for larch@yhetil.org; Thu, 19 Nov 2020 09:53:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kflE4-0000Y1-CR for emacs-orgmode@gnu.org; Thu, 19 Nov 2020 09:47:56 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:36201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kflE0-0005vj-Pe for emacs-orgmode@gnu.org; Thu, 19 Nov 2020 09:47:56 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 75C3F5C00C6; Thu, 19 Nov 2020 09:47:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 19 Nov 2020 09:47:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eml.cc; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=XU+S4wT9uFFWZGKcP6KoudQKiE efElNp9b2F1MW06xY=; b=PXeyDhMs7qSteeI31uLFr4bB9TLNOINo4dJ2H4F0Za 6Y+5h9rcn0+i2Z20OT33XgIITEvzTUe1DnTcunMiRN0Ckue0a+7ccL+aGcaNU6DQ DTxJ5NwwuL1M2yMnW3xt4oekGgyhWxWGVoQYfeez4eFR6zUFXyf6qBHhlVVM8SFH bJw2RT5BXY+OVAJp3Vfo0pgFOH9l/w8KNaLy4gzuNtB9KPtWiH1qGnKrtHW5AEOp WIhN8Wwer+p64xvG0ndZJ60sTL/yEeuZQwKjpxD7DiT3ZQZ3TgYaOE1QCPtBlYyc dPuRn2aL84A6He/f4pTnEBj6ZwpfOwUvzL9PBmFgQjFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=XU+S4w T9uFFWZGKcP6KoudQKiEefElNp9b2F1MW06xY=; b=Ahphc08zODS1M6wWT23GOm bjhBnyuMNaJycVXcRiAORR3fQgEstFsHYbv2rFUPcoiax20HFM1ZwYUpNi7cl+yk 6nZklJVJZkvOSHtsnnA616w0tFYsnpUu6vy4oGWonFNtGi1a08TnkF/3IcBpq8a9 YCKY5F3BsqoGmpuNaJTe/woT+LnONE1uteAtNM833PpryirxO5gZcXd8okD1D+IF n7efKfqxrCAnY2JCLizmsNGAWtLG1bxBR4oHbzbChKjrxTHX8wHuuud5FqIdYqFK 3h/wcKbTdUaVbF8uMfq1QvFVD9+RgK5CI5kfDk+UNKku+EQFErvPD/kf9V65VOOQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefjedgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedmnecujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredt necuhfhrohhmpefoihhkhhgrihhlucfukhhorhiihhhishhnkhhiihcuoehmshhkohhrii hhihhnshhkihihsegvmhhlrdgttgeqnecuggftrfgrthhtvghrnhepheffjefgtddvgfdt feefgeeiteejheetheelvddtieelveetvdeiuedtteefieffnecuffhomhgrihhnpehgih hthhhusgdrtghomhdprhgvugguihhtrdgtohhmpdhorhhgmhhouggvrdhorhhgnecukfhp peekkedrvdduhedruddtfedrvdefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehmshhkohhriihhihhnshhkihihsegvmhhlrdgttg X-ME-Proxy: Received: from YogaTux (unknown [88.215.103.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 3AD8A3280059; Thu, 19 Nov 2020 09:47:49 -0500 (EST) References: <87tutljzxo.fsf@mbork.pl> User-agent: mu4e 1.4.13; emacs 28.0.50 From: Mikhail Skorzhisnkii To: Marcin Borkowski Subject: Re: Clock tables and two ways to categorize tasks In-reply-to: <87tutljzxo.fsf@mbork.pl> Date: Thu, 19 Nov 2020 15:47:46 +0100 Message-ID: <87v9e12yjx.fsf@eml.cc> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=66.111.4.29; envelope-from=mskorzhinskiy@eml.cc; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/19 09:47:50 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm1 header.b=PXeyDhMs; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Ahphc08z; dmarc=pass (policy=none) header.from=eml.cc; 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-Spam-Score: -1.71 X-TUID: FilVGDKuSbor Hi Marcin, I tried to solve this issue for myself. My first attempt to solve it was to understand which tags are interesting and then make a template with as many tables as there were interesting tag combinations. But then I faced another problem: sometimes I am using different set of tags and templates don't work as good as they could. To mitigate that problem, I've tried different approach. I made a small package that generates me reports for past week or past month. It's working for me, but there are a lot of rough edges around it. Basically it collects headers with clocks, copies them to separate file, rearrange them and generate clock tables. You can try it here: https://github.com/mskorzhinskiy/org-ir Another way would be to write your own clock table sorter. See this post on reddit: https://www.reddit.com/r/emacs/comments/jp5ear/sorting_org_clocktables_by_category_instead_of/ And just for future references, in case Reddit someday will go down: Code from /u/jp5ear: https://gist.github.com/blockynight/5eebe8323b68e02f436c0440320dc926 Org-mode manual: https://orgmode.org/manual/The-clock-table.html (see :formatter parameter) Mikhail Skorzhinskii Marcin Borkowski writes: > Hi all, > > here's the problem I'd like to solve. I clock various tasks, > and then > generate a clock table. So far, so good. But now I'd like to > know > better where my time goes. Most tasks I do have a few similar > components: discussion/research, writing code, testing, etc. I > thought > that I could create subheadlines under each of the tasks and > give them > tags like :discuss:, :code:, :test:, :debug: and so on. (Not > very > convenient, but doable, maybe with a bit of Elisp to automate > the > process.) > > Now, I'd like to prepare two clock tables: one where I see how > much time > every task took, and one where I can see how much time I spent > coding, > testing, debugging, emailing etc. I can see in the docs that > there is > the ~:match~ option, but if I understand it correctly, it can > only > restrict the table to /one/ tag, so I'd need to have as many > tables as > I have tags - not optimal. > > Any ideas? Should I use something else than tags for that? > > TIA, -- --- Mikhail Skorzhinskii