From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Extending timeclock.el Date: Sat, 06 May 2023 11:35:30 -0700 Message-ID: References: <861qjubmzp.fsf@disroot.org> <83ild6gc54.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29931"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: John Task , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 06 20:37:32 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvMmg-0007Yc-QT for ged-emacs-devel@m.gmane-mx.org; Sat, 06 May 2023 20:37:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvMm4-0002RT-6o; Sat, 06 May 2023 14:36:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvMm2-0002R6-E1 for emacs-devel@gnu.org; Sat, 06 May 2023 14:36:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvMm1-0000y9-CF; Sat, 06 May 2023 14:36:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=A3wLGEfHP9NTPN3t4lPygjpcdZyI6S8UbxtBnk//Fz8=; b=QpYNdeDThRP/85UGPwSk /xxt5WRw0pp1Agtc44SSuVVKJ7DbI4ai/Jt40eNOWHsMIyYHwW68Ws+/GQeDZ2sU9s/vqR74dtZxf KDoc2nOy2oe9O0OBGoPXtkLGGm1B/40xx+6HJ+ynBPeHK+Q4st8Sa02bAW9txeIAyxEVKy+ZErtI5 jpal+55tTI37V96jU1wLhoiVc2a2t5paaO7jTK8uBzWo4eFXKXzBTHMtPTfs4LWjDQkg/zCOWSFY9 OttQ+o9Ga6PbyYBu4o6BMrpTV9C9zfr4NtFbXAPS0E4sJyvPXli5ruU6xaWgIdmJ4MSYF4tc39NL1 Cqz06TunxuYeBA==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvMm1-0007Db-4B; Sat, 06 May 2023 14:36:49 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id D8D9927C0054; Sat, 6 May 2023 14:36:46 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 06 May 2023 14:36:46 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfffkfhgfgggtsehttdertddtredtnecuhfhrohhmpeflohhh nhcuhghivghglhgvhicuoehjohhhnhifsehgnhhurdhorhhgqeenucggtffrrghtthgvrh hnpeeigedvueelgeduheffieefhffftdeiheeutedtudelfeeuledvudetuefhleeikeen ucffohhmrghinhepnhgvfigrrhhtihhsrghnshdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhhnhifodhmvghsmhhtphgruhht hhhpvghrshhonhgrlhhithihqdeikeejkedtleeggedqudejjeehfeekudeiqdhjohhhnh ifpeepghhnuhdrohhrghesnhgvfigrrhhtihhsrghnshdrtghomh X-ME-Proxy: Feedback-ID: ib64945b7:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 14:36:46 -0400 (EDT) In-Reply-To: <83ild6gc54.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 May 2023 10:19:35 +0300") Mail-Followup-To: Eli Zaretskii , John Task , emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305922 Archived-At: >>>>> Eli Zaretskii writes: >> I'll eventually contact the original author as well, but I wanted to know >> of any other opinions here first. > John Wiegley, the original author is somewhat busy these days, but we can > add him to this discussion right away. Here, done. Hi fellow John, I'm happy to hear you're thinking of extending timeclock. It only ever strived to be the most basic form of data collection possible, with the hope that other functionality and UIs could be built on top of it. My ledger tool, for example, directly reads timelog files in order to provide reports summarized by week, month, account, etc. If you do extend the _format_, it's likely you may break some of the other tools that process timelog data. So if you choose to make an enriched format, it would be useful if you provided a way to export this data back to flat timelog form (such as by stripping comments). Then I could go from timeclock-modern format -> timeclock format -> ledger, for example. Otherwise, I'm available here by e-mail, and always happy to provide context that may help with your decision making. Best of luck with getting this new code ultimately into Emacs or ELPA! -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2