From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 GK+pDIAsn2dX/QAAe85BDQ:P1 (envelope-from ) for ; Sun, 02 Feb 2025 08:27:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GK+pDIAsn2dX/QAAe85BDQ (envelope-from ) for ; Sun, 02 Feb 2025 09:27:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=v8jIRGxQ; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=spQddAcC; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1738484864; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TaPxE0TyGbI4awqaqS8L1VEAz6Apl8ptl9vOsSBNXfI=; b=M0ftwVEv4mvbhdOAW4RlHwi7TsgeXn0gZeay2UHVZIdMYqBWCAozL6urW0M9O3My1fQJ0o QiYTq4zt476a1n46/x1gCch3OAqeJb1HNzgPKEYaIcbfF6DDZS4zluPNMcELfmLXSooS4u bJuUfxqh+SZVHecP9ieCtyQqT/quZGzwqceLAyeSeKZJTJTzAfgbQw+u6tQtV4JYkUF6W4 PeIykrYUJPNQfMpRUgQj3F3kCS5jW8SpfIUttXo2iKBeY4MXfhQZ8Sh1ZTHetxS5BUiEAW 4cbcTwWMcffim35RmShEn4htLY3Y2plGChnyi95vwK28uuz/ex248/PmmVfZLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=v8jIRGxQ; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=spQddAcC; 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=1738484864; a=rsa-sha256; cv=none; b=Jk6nk97w1cWXBnEeXouveJ+Sl15fTwRI1WPuWmSA9Tu/5fHEyOXNwijWJIFStHVeub4XXe AMPoz6jx7cGFCCsSV3f1EiwFIAjFk3ZPeCPR+pRBKy2qPHZmRMIcq2YTHdH7Y8jQa3OTTj RIMNxnO5tjjQOHqTymvMKpNaeqVrLKo5tAJ+AYuFKrk1OIsf8syHriXaO3ApS2Vd7OWDUE CpO7no1UZVqo4WjAsIdwtA7oXi7tpkhL03bNLG9o2MlzwvlxggMGsVEE3YiOezF3cu/oBo jLMTG0z6m1GLMj5G1ywegT9+3EF1p9iuJHYUYsiMrLzW9AFZ33TIV0GvVkhv6A== 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 D01DE631FE for ; Sun, 02 Feb 2025 09:27:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1teVK4-0000qq-Eh; Sun, 02 Feb 2025 03:27:20 -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 1teVK2-0000qR-Lc for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 03:27:18 -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 1teVK0-0006mA-E4 for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 03:27:18 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id DBD7F1140107 for ; Sun, 2 Feb 2025 03:27:15 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Sun, 02 Feb 2025 03:27:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1738484835; x=1738571235; bh=TaPxE0TyGb I4awqaqS8L1VEAz6Apl8ptl9vOsSBNXfI=; b=v8jIRGxQeQNNT7x25p/is7duzK H0wNmR48Q9kCqDBg44Jl54OxyctU4OB/FccNKBT4FqPuPI1wBMKjPM8j0aTAYEHx tDgy+fe6v/YiVm0EneXTrxltYG6wB+yGGOaN/2XWwB9P2SztWIjRvtTkLf18hq0L iHr+geAOVwajRBDJsBurKLFEqyQJhKijKIAy17xEvPdg9LvLgpyReSzxHOuLtECv eu6pxfgJC0LthXVaYynF2InJp8k3bP6Ewuu/x26Y6SLuYZ8xnY52TO/qR6E+EBdV qrv24LZ6/ANXrOczYO7Oq3oUJjh/O5T4MGcG28vgXUn9uLyv7Z8litc7Kmhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738484835; x=1738571235; bh=TaPxE0TyGbI4awqaqS8L1VEAz6Apl8ptl9v OsSBNXfI=; b=spQddAcCcVCUKH8dz7DekFISPBAeYhQjH/0Xl7CTx4MlvPG9OMl gt6nvbQChIUAD5DWDWnyfzKolUjzlI6qdM50wzAW/hs8a6XptwAt2030EVoWH2Wh 4MJA6BtfoOw8ANwkI+WgVqW+ueWnuIvKDLu3utSFaDiX5AZL3CTauvorOR1G2RUu XSSRt9Spm7buRixb2eVtWxTw9pqsmzcDH+Gkf7QZOucTI0RknxIfJ3u5K008g7bm 7epcTkZEkKHqBII+HJB9hSNjHfw6caxLZTTJ1MWJ6dCt+XQIaSUZzam/Ks0mLwe1 jhTtYEmRH8ZgOdObjVVGtHCMCIKALuTeDfQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugedujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf gjfhffkfggtgesmhdtreertddtjeenucfhrhhomheptfhuugholhhfucetuggrmhhkohhv ihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtthgvrh hnpeeikeejleejgeeijeeiteejgfekuefhleetffejheeffeelfeegffegieevtddvhfen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhguoh hlfhesrggurghmkhhovhhitgdrohhrghdpnhgspghrtghpthhtohepuddpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 2 Feb 2025 03:27:15 -0500 (EST) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Improve the clock-out message In-Reply-To: <20250202082137.19985-1-rudolf@adamkovic.org> References: <20250202082137.19985-1-rudolf@adamkovic.org> Date: Sun, 02 Feb 2025 09:27:13 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.27 X-Spam-Score: -6.27 X-Migadu-Queue-Id: D01DE631FE X-TUID: DG5JqQv9cqdO --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rudolf Adamkovi=C4=8D writes: > * 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". I forgot to prefix the commit title with the package name. See the attached v2. P.S. This message has been making me confused ever since I started using Org, and it still makes me pause and think today, hence the patch. Rudy --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org-clock-Improve-the-clock-out-message.patch >From c8d7e985f728d38e7eff3c5eaa4db0f0171f90a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Sun, 2 Feb 2025 09:14:49 +0100 Subject: [PATCH] org-clock: Improve the clock-out message * 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.39.5 (Apple Git-154) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 "I would prefer an intelligent hell to a stupid paradise." --- Blaise Pascal Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org --=-=-=--