From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eGBhOcyBgWdXqQAA62LTzQ:P1 (envelope-from ) for ; Fri, 10 Jan 2025 20:23:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eGBhOcyBgWdXqQAA62LTzQ (envelope-from ) for ; Fri, 10 Jan 2025 21:23:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b="ivag/Bfg"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=berkeley.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736540620; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iqwhk2/G9+kuVpkXKcxMFJW4aSIkeoI688i9ZfWWQiQ=; b=AwL3GSqXYn+tq+2Zmpexnykwhm8a9bw/Fiw9KvZj6Db85DRQc27hv3P1xntSQ0HdZ+XrV7 iZxG5Nqsc3zaYhFNPW2oZUQT0EWu0PS9UBXd7O9F6J5n0zde9t7ayPxU/S1dft5TtumtkA +2qmFIPCHWbzx6uNgMYhUgSYv5EMFmcSWZb2stOKY/14Mdfe8tCQCkzozVIY9AMisa2x9b 1JsM92LWHBvCbVAXfvhYviI2WTG7YnKDQDJaKy/Jd7Swgr4kv+MV2n71FH9J/FTer9DZFn +p+pfllX4pZl7rsOTKqnEWB938R8mD/Aw/+ZoW44Da38DXs1wU0MGIewM6vJ4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b="ivag/Bfg"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=berkeley.edu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736540620; a=rsa-sha256; cv=none; b=IrIBPLknmFf9KGfYyaT7Qt5ggXUd6uTWzczcMsB9XyQECA8bDYR8k4HDjVYcc07ijzxwpZ l3eDAEOFdrhB8+vinKgrWdlzuxv6GzSItNWIlCWvvbZ+wnWdTLDLOoOLKtDDqbxmnUBJ0u EJ7JbBcukfvMBFpsDGXhyvYMmZbOdSNyIpS9LEdXquq+F4epCvMGQBqcqSLG0OU30ypaPg n6NmFJoGJTfiWjWcbsxevksHI4x+luT75XcJHpr/GiHEt1ssJQLg6lTSP7212HrpKys3AI h6pSXpuJbgUZVAn4ooA/2YJmBHJmKvzT76EPSLgC36YgWQsmlDtDwHEmNIygjg== 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 E0058357D4 for ; Fri, 10 Jan 2025 21:23:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWLWa-0006pe-TC; Fri, 10 Jan 2025 15:22:32 -0500 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 1tWLKv-0004NI-UT for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 15:10:30 -0500 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWLKr-0003IW-Ca for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 15:10:29 -0500 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7b6ed9ed5b9so328990185a.2 for ; Fri, 10 Jan 2025 12:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; t=1736539823; x=1737144623; darn=gnu.org; h=content-transfer-encoding:subject:message-id:to:from:date :mime-version:feedback-id:from:to:cc:subject:date:message-id :reply-to; bh=iqwhk2/G9+kuVpkXKcxMFJW4aSIkeoI688i9ZfWWQiQ=; b=ivag/Bfgl0WLHzr0hgCDwbdWZUWBtKpBpNy1hEJHVEhxqwOEAOCVzA8x6aG8rVVkIO xcWHJ/hiqgHd9Ic5MCOHoK+392X9qlBYMO/EBsAWujZPBL10bZwEgwrzlJr2WKvevb2R Jh5sd62TmHCfn3wdgrU0u6LBuvYkRtQuuY3uuStV1G5Ta2/ONyJZLB7XwmJLRNrxDeiM yPWVR45oJg+JOtE9iyLmhqcNv12imNoD79UNm+/HfxnYswrmfj1sIVxhc9Uys9TEixD3 sGPu4/j/L1gzr5mXiDY7JqkbPLQTPySYUwyfBwD8y4frc0eyVu07H4+b8HN9tpCkRTQs 8GNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736539823; x=1737144623; h=content-transfer-encoding:subject:message-id:to:from:date :mime-version:feedback-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iqwhk2/G9+kuVpkXKcxMFJW4aSIkeoI688i9ZfWWQiQ=; b=ZVHa4M2CFwbvngDyRZovDH5yfN7rDEr5XhKjETQshjmwoDisBmeqQGgt9YSBdaA8C/ /HCDQa5TM8EC/AHbkFxbZ/KDHXxvXicZlTVKB4Ukq5Qzf/I4qEtpMUZRcwEibxsxXH/q 7Ws693QdDWzCoIfhRIjm4s0ZBiQSn1is8fXMqAxWwtCnqtStI+4uRxDqpZN9vfhdtmco lu2md+sT61W60JGUEbRjT0uTMWJr88MLo2phO5eeeha0qi7nzFbOBn2uHEoslnZQS83M 5ObXsWb5gfgRe7HSUjHtEPo7Q6V4aVTzRra1AQ4dvtSkJrFinq/Y9bsPOhl+4tL39nAd GbiQ== X-Gm-Message-State: AOJu0Yzn8y5/lqtjjz2017/57s4E5oKOljro0dySnjcH15Dl/+lEbhUw UDYfSq+V185jfpEsf8xztW/wHD0yBRy103HyevmcHgGVymH1PEhY5tjcJkWueoE7NietD3DWWTw = X-Gm-Gg: ASbGncueNTeKZNYwN58RgX1c55wGMlWl6nDfrHokU7pIHNym52KLcKnhlpcogqnI9hS FAGaibc3OvHgoobD28Grb8y+UU15UH/Uy9v23iP7IeugbAI2y7pOPFEvGgn5q5uH+gZIvPQ9LZm h1Mt8TV5bqWsfEaSXXbXBuuOda2xBHXudymQHHIpSzunpPpOUkuVpN5aoYewOXQO9Xfs/lOadIE mExkZuzz8BG8n64/O+IPUS7y4hWON1bgU5eLdyFeR/lTvkYk8nb3q4i/ow5oBpSaddq1gulWOni dZA8Ic1MIAWAXl5tujuPs5gi6euUjtQqtFUJZFpgK9qK2tY= X-Google-Smtp-Source: AGHT+IFpHylvbiaH1YkzfGDDVAQsyia/aj6xqeY0XH37WGslA3Mbvv3wffMM7BNm+mleQv3ff23wdg== X-Received: by 2002:a05:620a:191d:b0:7b1:4579:6200 with SMTP id af79cd13be357-7bcd9767e8bmr1779944585a.32.1736539822847; Fri, 10 Jan 2025 12:10:22 -0800 (PST) Received: from fauth-a2-smtp.messagingengine.com (fauth-a2-smtp.messagingengine.com. [103.168.172.201]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7bce3515f88sm205808085a.104.2025.01.10.12.10.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 12:10:22 -0800 (PST) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfauth.phl.internal (Postfix) with ESMTP id A42AB1200043 for ; Fri, 10 Jan 2025 15:10:21 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-05.internal (MEProxy); Fri, 10 Jan 2025 15:10:21 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegkedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkufgtgfesthhqredtredtjeenucfhrhhomhepfdfuthgvfhgrnhcuvhgrnhcuuggv rhcuhggrlhhtfdcuoehsthgvfhgrnhhvsegsvghrkhgvlhgvhidrvgguuheqnecuggftrf grthhtvghrnheptdethfffledtiefgleeiudekgeejgeevtdeivddtffefhfffueetgfff kefgtdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshhtvghfrghnvhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvvdeh kedvledvtddqudeiuddvjedtleejqdhsthgvfhgrnhhvpeepsggvrhhkvghlvgihrdgvug husehfrghsthhmrghilhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhht phhouhhtpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i425146e0:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7D353B0006A; Fri, 10 Jan 2025 15:10:21 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Fri, 10 Jan 2025 12:09:56 -0800 From: "Stefan van der Walt" To: emacs-orgmode@gnu.org Message-Id: Subject: org-timer: let done hook access time, allow silencing notification Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::733; envelope-from=stefanv@berkeley.edu; helo=mail-qk1-x733.google.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.369, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 10 Jan 2025 15:22:30 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.74 X-Spam-Score: -1.74 X-Migadu-Queue-Id: E0058357D4 X-TUID: maDVLAnDta/L Hi all, I have two small improvement suggestions for org-timer, and would like t= o hear your thoughts. 1. I use org-timer to run pomodoro-style clocks. When the timer finishes= , I would like to generate a log entry. It would be helpful to be able t= o access the duration of the clock; however, in org-timer--run-countdown= -timer, the variable org-timer-start-time is reset BEFORE the org-timer-= done-hook is run. Could we reset the variable *after* the hooks are run instead, so that t= hey can access the timer value? 2. I have a custom notification for when the timer is done, installed vi= a the done hook. I would like to suppress the existing notification, but= there seems to be no option to do so. Would it make sense to provide a = mechanism to override/silence the notification? Thanks! St=C3=A9fan