From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aFksOlcrn2cFBwAA62LTzQ:P1 (envelope-from ) for ; Sun, 02 Feb 2025 08:22:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aFksOlcrn2cFBwAA62LTzQ (envelope-from ) for ; Sun, 02 Feb 2025 09:22:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b="uxuWOV/y"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="q/AqND83"; 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=none) header.from=adamkovic.org ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b="uxuWOV/y"; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="q/AqND83"; 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=none) header.from=adamkovic.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1738484567; a=rsa-sha256; cv=none; b=XvizQAFatix0GhYsGQs/lGQxqOXjOABFYxIYVnusawUYrqiVl2CLc7rI1VaLIu5h92up0b 3NSQxNJ1O4njun0s2yhtPGaAupws/UuiiwDezoIruBSAJkTpzQfg1bkvNBVJFKi78zLG1n A5SG1qpDNjjvpfVc7wNVXYdJDfAqT61+1fygLxg/UZg4fqpWzbqCPaqxJmFRqg00WAbyIW nuKFjk5w9XGH5oaH5Z6fpt78cP5DZJOs2TQbzQozDJi3TUsAiuYieOJKoCeb+Cc6RRMaNz 3maO8a0wwcinUl8H9efkM0VXaI33mwIRTngN5+TPsegmadVQLtSvby8UpzO3Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1738484567; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Wy4O+55xp3BAD+5S09VSjJjyuXQpUtnpw1Nb76Hz2GM=; b=ZyZ3pcRraJa7qdyL1Csb17RAHDm89h/RlphTtU0PL4E1Y3v5Thsfmunb3lqtelXbpmLISP UQIHQeV9lsxS/RgBj6yI8ibMYrFnJbPt+bB4ViKF7shLMIWfnBj+Gc14rd3hT8Q6mMos4B zhyJrMXHaKrkXagHqtBjl+AIJWEZsea0z6qnSfwctgqZDQT0aLIAvQC7yKuhheCv0O9fF/ Wk/rj4MFBQHEfOWpuzOJ+pHXdnvVppLTwUOPXROAAu8YL/VMTYBb4qa0s950CJqOZdLFIc CzSOT671B5ls1KBeA2eJjSPcPmKpTvnydSFfb/vxoUxKMLg8+215OM/9Nsvb0g== 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 6639EA08DB for ; Sun, 02 Feb 2025 09:22:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1teVEm-0008FB-2X; Sun, 02 Feb 2025 03:21:52 -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 1teVEi-0008Ez-HV for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 03:21:48 -0500 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1teVEg-0006BN-K9 for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 03:21:48 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 1857C11400DD; Sun, 2 Feb 2025 03:21:43 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Sun, 02 Feb 2025 03:21:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1738484503; x=1738570903; bh=Wy4O+55xp3 BAD+5S09VSjJjyuXQpUtnpw1Nb76Hz2GM=; b=uxuWOV/yB7mmtELpU26kGncoqj FtP/Hz/ysZHHJnoky6KMNFwi94+ntwKzWDsUzUSNfpKqVnwC2hSWdQii5r4DDXsq wQfFFRnmId0vHesNAL/PWaEmwtrRIgi5k7HnjFyFpxfzZd7R75zbdr/MfONP7yk/ mhiKFjdc61g6+ZfqzVG7LUoErkp7l3o0Ebx6s3sO+y7hqINKsT4EDX/b9Y4p+MG/ yY+NElKQpE09tDCr1Pm2f89V/cTqMq0F7XOwO2htzsJOzLIMipwvnYF2AHEpGqTK 1BBbiAM1C/gtwTqHqrl8jbWpaBSXir7Yikok2KJojObN1wBsCZa7OWfaJu2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738484503; x=1738570903; bh=Wy4O+55xp3BAD+5S09VSjJjyuXQpUtnpw1N b76Hz2GM=; b=q/AqND83GUafObMiY8aewELa828dk5Lzo7eVMGQn8xSkF2v4PES Ntmc/s3q+CjVInOj//2Raq7FNPG3LlQj5i2W++M3/iv+y+eVyKvJvpNI9+32Xqmg cloeuIGhvhUP2QSV3frQKzdxq+dWjcaXEn3urc1MjLqBaxRE46HXKGwb1Ut20L2g gDFdC+lFH//pNMB6q0F4KlDF9FwbIV00giMrQniJnXSq52BTSl2M1w4QL0n3YDmc M+GyeFv0kHyp0moobBj0r2s2F/oMvfMRjqk/Q7tKVw7OuECDmFeCS5uI67PP7xWV bizKDtkzS1drq83PbZkNmikmH6QHzcgHecw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugeduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvve fufffkofgggfestdekredtredtjeenucfhrhhomheptfhuugholhhfucetuggrmhhkohhv ihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtthgvrh hnpeekueehtedutddujeffieevueevlefggfelteeviedttdejieetfefgudeiudeljeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhguoh hlfhesrggurghmkhhovhhitgdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh dprhgtphhtthhopehruhguohhlfhesrggurghmkhhovhhitgdrohhrgh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Feb 2025 03:21:42 -0500 (EST) From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Cc: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Subject: [PATCH] Improve the clock-out message Date: Sun, 2 Feb 2025 09:21:37 +0100 Message-ID: <20250202082137.19985-1-rudolf@adamkovic.org> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=103.168.172.158; envelope-from=rudolf@adamkovic.org; helo=fhigh-a7-smtp.messagingengine.com 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.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-Spam-Score: -7.03 X-Spam-Score: -7.03 X-Migadu-Queue-Id: 6639EA08DB X-Migadu-Scanner: mx10.migadu.com X-TUID: fDipAty1ipNT * lisp/org-clock.el (org-clock-kill-emacs-query): Reword the "Clock out and save?" message to "Clock out before saving?" to convey the important fact that no data will be lost when answered "no". --- lisp/org-clock.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 5fd0580d0..f10d7f339 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -3316,7 +3316,7 @@ The details of what will be saved are regulated by the variable "Query user when killing Emacs. This function is added to `kill-emacs-query-functions'." (let ((buf (org-clocking-buffer))) - (when (and buf (yes-or-no-p "Clock out and save? ")) + (when (and buf (yes-or-no-p "Clock out before saving? ")) (with-current-buffer buf (org-clock-out) (save-buffer)))) -- 2.48.1