From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: specify time of day for org-resolve-clocks, not number of minutes Date: Tue, 07 Jan 2020 09:17:44 +0100 Message-ID: <87k163sms7.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58732) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iok3i-0000Tk-6b for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:17:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iok3g-00055c-O5 for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:17:49 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iok3g-00053e-Gf for emacs-orgmode@gnu.org; Tue, 07 Jan 2020 03:17:48 -0500 In-Reply-To: (Dan Drake's message of "Fri, 3 Jan 2020 09:05:26 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Dan Drake Cc: emacs-orgmode@gnu.org Hello, Dan Drake writes: > Instead, I want to specify a *time*, since usually that's what I remember > ("my coworker stopped to ask a question at 10:45"). I'd like a way to get > the K functionality, but instead of doing the math to figure out a number > of minutes, I want to just type in a time of day. > > Is there a way to do this already? I don't think so. > Or would this require a new clock resolution command -- perhaps "t", > for "time": it would effectively just be a wrapper around "k" that > parses the provided time, looks at the current clocked-in task, > computes the appropriate number of minutes, and then just does > whatever "k" (or "K") does. This is a good idea. It might be useful to provide a date somehow, e.g., if you want to rewind to yesterday at 11:00pm. I'm not sure what a good interface would be, though. `org-read-date' is pretty much future oriented. WDYT? Regards, -- Nicolas Goaziou