From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iASxF9SfLGATXgAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 04:47:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GG51E9SfLGAcWQAAB5/wlQ (envelope-from ) for ; Wed, 17 Feb 2021 04:47:16 +0000 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 CE7B91B04A for ; Wed, 17 Feb 2021 05:47:15 +0100 (CET) Received: from localhost ([::1]:59538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCEk6-0004FE-Mq for larch@yhetil.org; Tue, 16 Feb 2021 23:47:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCEiZ-0003CR-Ef for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 23:45:39 -0500 Received: from out2.migadu.com ([188.165.223.204]:22310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCEiX-0005N6-9D for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 23:45:39 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1613537132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zBY5ErravDGU+/tULAMk/iJjiv/qb8zxnxStBHRKfi4=; b=i7iqRSHbG+mnYQtCp1rrzmGpapyOeAYe8JN/HcE3Tv+9/xL6l6YMjY36EQc+Ya7wALoK0o tcMJ05N31VWtlVg/ZNSNc9pZiGtOW2rGEcu4N2tLas89vDVlA77HVbDqXhj+uGD5jvJ/MK BF7WTlqLtWOQ1dNMpg6tY22dJkfUMHolOGzWytiPlM5olz4gWaboYPqJWw72rgykLyeEVb XMAuCXUTb7xYcBQS61BLPR2E1VrM4ldM0mzvBG11NlUftkMTX7uUMOgIsCCnhGWqljbawX D6y8CV2WOC0Tkmli27Vr65maei3OGKqv3q3ryHzLiVXvIKPfw5ABxHtP1npCQQ== From: Kyle Meyer To: Jean-Marie Gaillourdet Subject: Re: A small bugfix in org-clock-in In-Reply-To: <87sg5vlrgi.fsf@gaillourdet.net> References: <87y2fokm6b.fsf@gaillourdet.net> <87sg5vlrgi.fsf@gaillourdet.net> X-Woof-Patch: applied Date: Tue, 16 Feb 2021 23:45:31 -0500 Message-ID: <87k0r7ti8k.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=i7iqRSHb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CE7B91B04A X-Spam-Score: -2.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: ESKzFCEygXNZ Jean-Marie Gaillourdet writes: > I've experienced occasionally errors while executing org-clock-in from > the agenda. The errors seems to be that indent-line-to is called with > a negative argument. Moving from the agenda to the todo headline in > the underlying org file and repeating org-clock-in and org-clock-out > usually lead to a state in which I could successfully run > org-clock-in. > > The following patch fixes the issue for me and I believe it does no > harm. I've used it daily for two month. I'd appreciate if you could > add it to org-mode. I agree the change is safe, though I couldn't figure out how to get into a state where it'd be needed. Anyway, pushed (ee4ffa567), adding TINYCHANGE to the commit message. Thanks.