From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8OJJJCaq8l/1KAAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 05:39:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gEf6Hyaq8l8LcwAAbx9fmQ (envelope-from ) for ; Mon, 04 Jan 2021 05:39:50 +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 6B3459404D9 for ; Mon, 4 Jan 2021 05:39:49 +0000 (UTC) Received: from localhost ([::1]:55000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwIap-0001fc-J7 for larch@yhetil.org; Mon, 04 Jan 2021 00:39:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwIa3-0001fH-V9 for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 00:38:59 -0500 Received: from out1.migadu.com ([2001:41d0:2:863f::]:8674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwIa0-0000AN-7D for emacs-orgmode@gnu.org; Mon, 04 Jan 2021 00:38:59 -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=1609738732; 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=VBxjvDDQ0h5RxwuUjKKOeiTNFObniDqn8BbADGsktQY=; b=ZTtSvDgmZ/bBaF/ebjlLswOpePwzkqYRyFC54ofzex2+TSwt1Ukr4oFo4wAGfren/jK01/ TEDZN4Mq+eTrAZk6rx9aFq/s0YUNvY7XpN2LWiAUoYieNjLacT0LHpXaN6pqAU3rjvGab/ DRS2GtUXIed+UnAI0Tyl/YsLBdXrcU4byC29DOU58WEa13FEYYAGy48gYi2DODAlRFNvE3 aWUp18YZQMM9GOMXtT07uTnDQSd2R4Oj8pH2GDr8igYwvFXpueOJ2TxDrGdzBRNI/bAhb0 yh9HEjpCvrO6ghwPQfMS2Rbbz4PqTiA99+oex8xNM28+FU8ZChWiyOC4Mlv+pQ== From: Kyle Meyer To: Mario Bourgoin Subject: Re: recursive load org-duration Error In-Reply-To: References: Message-ID: <87k0stb6s6.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Mon, 04 Jan 2021 05:38:52 GMT Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=kyle@kyleam.com; helo=out1.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, 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.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=ZTtSvDgm; 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: 6B3459404D9 X-Spam-Score: -2.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: +xYgzmqe1maZ Mario Bourgoin writes: > I recently started to use org mode efforts encoded as durations. I began > getting the error "recursive load org-duration" after I customized > "org-duration-units" by using "m" for the minutes units and "mon" for the > months units, restarted Emacs, and asked for the agenda with "C-c a a". > > I found that a workaround to this problem is to put "(require > 'org-duration)" in my .emacs before the customizations are loaded: [...] Thanks for the detailed report. I can trigger the issue with (custom-set-variables '(org-duration-units '(("min" . 1) ("h" . 60) ("d" . 1440) ("w" . 10080) ("m" . 43200) ("y" . 525960.0)))) ;; This... (require 'org-duration) ;; or anything else the triggers a load of org-duration, e.g. ;; (org-duration-to-minutes "3m") > Would you please let me know when this bug is fixed? I would also > appreciate finding out how the bug was fixed. It's fixed on the maint branch. See https://code.orgmode.org/bzg/org-mode/commit/273391c978d2e9759a9a389bf5d5eb9b03b8fe98