From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +PpsBJdPPmPSHQAAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 05:46:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4GpbBJdPPmPP+QAAauVa8A (envelope-from ) for ; Thu, 06 Oct 2022 05:46:31 +0200 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 7F74F35E5 for ; Thu, 6 Oct 2022 05:46:30 +0200 (CEST) Received: from localhost ([::1]:42264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogHq9-0002cH-MA for larch@yhetil.org; Wed, 05 Oct 2022 23:46:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogHmA-0007QC-V9 for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 23:42:25 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:43886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogHm8-0003dg-J8 for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 23:42:22 -0400 Received: by mail-pl1-x62a.google.com with SMTP id z20so560156plb.10 for ; Wed, 05 Oct 2022 20:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=O5+B9k08u47PkFFHB0SrP7ngq+NvbNGLXr6CD/FzToA=; b=Z5tPcMb2wHbH36EAct1SYoYKfVWtK5HwiQ1MjQvU8rYU4ozvDn1HCzx0Wzhca7zxh1 6MWbxMgRtBqx8vgNMnPy5Yp2fZofkjGNzxqcBo72MUapNOMYzFTuh/q6XQCJvz2XYFdp O+NmGuY9o0Mc3gr1K+P6DCjLSmN8Cx4MgvouJksWd1B8TfbRK6cvN1W9xLhxVojUqiAf ClOZLbdv2EsyB+2fD+5grWbivu+Rb1xGKkLtdmv65ZhCneret7v0NcaohSGjUgIYAKFj FjjD8F9HsQ5+R+C6EJuOljnRBdt32KOtXm2FC4/I3nbv8ALb0Fi++2h20Gz1jlSuIqRG UrgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=O5+B9k08u47PkFFHB0SrP7ngq+NvbNGLXr6CD/FzToA=; b=hyyZ6i1VYaKPPZRdtnWq+jTIPhOWuXZ5TbFkixn53thFc1BMPXJ205gByrT9N8FwPu goVcE5Rt0KBCITNCLmpK/C8JvVuZD0Pj0vEHuIwDMLP9Ow9EqE0XzJ9PVSd7zjbJCtkK 31f6S/PmxxGjTlLw1Cg9WFkkNBK5C2664puno8jvomLZVcJBXdSh5GSbIpu0RBx9BJew QhnrOxA6/CO2ouJ6jG9pZORJnd0AwnBJygMib9x3Zkco6PKHqhhitN/YYhAlFlEU/ZIa nDFoO+D5nVymWYNmLuA+YZ980Ro05IcHQ0o4k87HqT4fsYg2wJxQyfS95DN59uYQZwb7 qlUQ== X-Gm-Message-State: ACrzQf15NEsXxsj8qwe0nAS3C5/oTo5Brds5qexz1N6qMoyKerMKhvS2 SQYJp4Q61svjhzp8NvaODPA= X-Google-Smtp-Source: AMsMyM6viqCsqg9gERPoo7tKYe965kKcxy7hlkIp4eTgWrvcWg/m4EUmMVRfCbyrzBr+LzqKmmV6wQ== X-Received: by 2002:a17:902:f60d:b0:179:e42c:d346 with SMTP id n13-20020a170902f60d00b00179e42cd346mr2774127plg.45.1665027739104; Wed, 05 Oct 2022 20:42:19 -0700 (PDT) Received: from localhost ([1.83.154.214]) by smtp.gmail.com with ESMTPSA id v5-20020a622f05000000b0053b2681b0e0sm11708803pfv.39.2022.10.05.20.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 20:42:18 -0700 (PDT) From: Ihor Radchenko To: Ypo Cc: Org-mode Subject: Re: [BUG] org-timer-start doesn't seem to take the timer string at point [9.5.5 (release_9.5.5 @ z:/emacs-i686/share/emacs/28.2/lisp/org/)] In-Reply-To: <27db728a-0775-0657-01be-93eb23bef7f2@gmail.com> References: <4c96f698-4c24-e8dc-6585-7489cba48d09@gmail.com> <87h70mz6q4.fsf@localhost> <87bkqtzk95.fsf@localhost> <27db728a-0775-0657-01be-93eb23bef7f2@gmail.com> Date: Thu, 06 Oct 2022 11:43:10 +0800 Message-ID: <87wn9d62i9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665027990; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O5+B9k08u47PkFFHB0SrP7ngq+NvbNGLXr6CD/FzToA=; b=hNnwI7CShCUHxuRHivDoqgKRrmmvFe0g1YSYh6NkYaFTyRPmocpiNdxACfJSrCGtG1NDrZ hSQuiXVuCM07z58DPyFTHGKhI7oM/lkzhIP7W3tcaeldk0C5PEtMnJG8uQH+Q+NiFj4MQr Ie2jQBKnw6Ok0/KB+7nGmNAyF5UIZsyagHPrjRKe2EV1hlf9c/imInZDIwVyjXa2mdyp99 nc3Qj1VGe6BjHCIyhLNsFJOiQkkmv9N9MseKYKtskDcj0xt4ZzGJlEfN9YJFZfZ5FxvpR8 YU0dKVf79XSqM2YfsLO+DWc0DvZxa9uBJrdxIoeNUO4WJa3SamTpRzYL/0vRNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665027990; a=rsa-sha256; cv=none; b=u8F2FPbiKUs6PEffkHZuZtviG07B6MCkyiNx6YkxfIK7ZzevP+yUvxD8X52R+qe1245bSt 9H7me54pFvt20CXh97hKtUB5p2Rc0soG1C4f7qIe+Wmh2V7ToAel75OsInZb/hTL35UytI sDOthjooZkYhKmivlJSAhR6pcxhhJ4A+c1VByytTQurtX6GOOWUoCr1NTFcjvQpiofhyM5 vVmnvheO0KmbcmZ2zof+s0haFNiYn9ql9JFKa93tTVDktoZCx9GCxn/XOz7inDGjGGr7oW 6cW1MkBqnZLKoaqf7y7uZ/DpOaFQn8ozmjUMV3qcF2/P1CPJL2iJMYlDy5JGsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z5tPcMb2; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z5tPcMb2; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 7F74F35E5 X-Spam-Score: -3.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: PMNSCMF7glxd Ypo writes: > Sorry for my delayed answer. But I don't see it either :/ > > "The prompt will default to a timer string at > +=C2=A0 point (if any)," > > I can't see it well related to the C-u prefix. For example why the "(if=20 > any)"? It should be unnecessary, since it is the previous explained=20 > general case. I feel that you missed the context by reading only the diff in the commit. The full text in the manual after applying the patch reads like: - {{{kbd(C-c C-x 0)}}} (~org-timer-start~) :: #+kindex: C-c C-x 0 #+findex: org-timer-start Start or reset the relative timer. By default, the timer is set to 0. When called with a {{{kbd(C-u)}}} prefix, prompt the user for a starting offset. The prompt will default to a timer string at point (if any), providing a convenient way to restart taking notes after a break in the process. When called with a double prefix argument {{{kbd(C-u C-u)}}}, change all timer strings in the active region by a certain amount. This can be used to fix timer strings if the timer was not started at exactly the right moment. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at