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 6I/VJfpW22L/NQAAbAwnHQ (envelope-from ) for ; Sat, 23 Jul 2022 04:03:38 +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 OH+lJfpW22IOfQAAauVa8A (envelope-from ) for ; Sat, 23 Jul 2022 04:03:38 +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 440A611E4E for ; Sat, 23 Jul 2022 04:03:38 +0200 (CEST) Received: from localhost ([::1]:53928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oF4US-0000Bn-ON for larch@yhetil.org; Fri, 22 Jul 2022 22:03:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oF4Tw-0000Bf-BG for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 22:03:04 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:53960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oF4Tu-0003Wk-Jl for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 22:03:04 -0400 Received: by mail-pj1-x1035.google.com with SMTP id gn24so5726063pjb.3 for ; Fri, 22 Jul 2022 19:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=fFEMa7mHEfNUIbeoJ6tD1G6/YSUolb+dxxLZhJLMNPg=; b=daDTrGksQYoj8vc4CwsxFwGz+uuIZvTD/SFqWKEUp9T1s3RiIf4LMmXRm26u9IG+N9 t1E9d40W1Kl8Fg7bRdGY6uT8deyO8XUYGULov8dSvxlXwOHJGZzQkzJvVKZpWMVdMfXM AZ5k2yjJuSCOWPpMDAILmxaNkJCmCptfMfNfv6K01kaw/ZIuhOhJox4EnCrtFjeLbBXp V9/5W9zK25YTOoNvXyMSvNiZ3lqFZr3k8gcxU3yNhEcN6jFhK1mxS73sORw3qw7ZpFW5 g8KwlW+2q9gq8862KSVtpqPiMqkPL19ECZNl0V1CrKYPDAcYX4nWkuWyPeDmaGZeGTjX 1JCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=fFEMa7mHEfNUIbeoJ6tD1G6/YSUolb+dxxLZhJLMNPg=; b=2g/08BtEq+wXwMLU/Y16cNR+/upSYOZl7qlZUzocGwMzDIZYgv21sPB5rprz2Of6Yb 35SpuVpl4ZHVNuakiFEvH5b6hiS9ROSvUQsLUlVHufO4fS2InPwigiW7/MZkWFw55BJf ZMloGeY6uRnPrvswAG0zkmufyE9qysfg2e8UNqPDOAAvVZD/KqfnM9RkJsoRG1KQhJVx /7rEeSNHLNCnnf3goGBUhJ3dOQtmusxHjfiFftM83nuJ5mvl0lks/x60rEc0uZQzwxMq h7PfD40YzZio2QJZvcp0aHkFQKZu3OgEshcdeMvSwAGl7ZHeHJocpfwUJhlxBbBbSNFZ S2DQ== X-Gm-Message-State: AJIora+ndNfB/ZfmThY7U0VBr07LlDS2+2puM2KaovY/G7iygPrv267g Lq/J7/oEQPCUC+kwPgY6TJmbgPKGqQG3qA== X-Google-Smtp-Source: AGRyM1v4B711iXVkYX0c4PMGqwlxgpuhOnYxakg5s1Wq82LB2TkjKg0xBaLU2fa4dzR6ds6ZXJN3ZQ== X-Received: by 2002:a17:90b:1b0a:b0:1f0:4bb1:2928 with SMTP id nu10-20020a17090b1b0a00b001f04bb12928mr20256997pjb.14.1658541780488; Fri, 22 Jul 2022 19:03:00 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id d16-20020a170903231000b001690d398401sm4557657plh.88.2022.07.22.19.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 19:02:59 -0700 (PDT) From: Ihor Radchenko To: Morgan Smith Cc: emacs-orgmode@gnu.org Subject: Re: org-encode-time bug In-Reply-To: References: Date: Sat, 23 Jul 2022 10:03:59 +0800 Message-ID: <875yjopots.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658541818; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fFEMa7mHEfNUIbeoJ6tD1G6/YSUolb+dxxLZhJLMNPg=; b=ICqRwJ+86mA1fDrGzTvGjHnypuuXjOKX4zqqxuHkyX5+VrGEcOwQw0zYJ1pZ7+oYlcEqIu dysr84FhL2NOLl36XmMFDN61bcAjNbMeXGfef10ACUOUySr2qfdHgN7dXUXmT0ULwcCUym O7vUMstyuCXJqzWm1kcXlGf6QxHiBn60rtlgwqNxTnZz3zuSKMmaqt4LnrI1CrUObXZ2IW 9iA2Vc6TJBPGmEvNcSEVmpPtREtq4Ao3D6KCMAjJv3YokDr84X2DIsZ4oSlGvJ0HxN47Pt aQ/76Z23Or3NHIFb6shqp0OO+Byvpe2r0KAlgvDtZ4NKoXYkHYsAppSHQ0zLvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658541818; a=rsa-sha256; cv=none; b=nRHiwTOjYLBJfgHYsL6nPNht8AdgjjdgrsGsrmqe4e+xXSWuU3VNAum19uVJ5hlfZMGFzR 4sGqe7xmwjQEmSoWtRlcLXdhTYIxAYvNLFjQSgxEjr4W2/E7Xsw+ALqQ/5i5sSdJ/XHjFE xRRdnXJq3WaR+SYnCySJPE63UFmqgrCQd/nARq3iSAZafI0KrPI2+YWnSrY51EoAnWNw9P YjfmPe6S+gqZEzgqkJp8e9omI1HVb42rG6HqjjGl13KGbKWdSZwN3gy2lozRAnbQzOXi0b uLlKbr0xI5A6O8fzE8sFoGQVt5rUKHLxlGHlN26qtjLGsFXkmkTA2Ec7IUyGSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=daDTrGks; 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: -9.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=daDTrGks; 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: 440A611E4E X-Spam-Score: -9.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: gH+tckznvKe8 Morgan Smith writes: > I'm using emacs from commit f258f67 (quite recent) and org from commit > 39005dc (quite recent). > > I'm using native compilation and PGTK. > Debugger entered--Lisp error: (invalid-function org-encode-time) > org-encode-time((0 0 0 21 7 2022 4 t -14400)) > org-matcher-time("<2022-07-21 Thu 00:00>") > org-clock-get-table-data(...) > org-dblock-write:clocktable(...) > org-update-dblock() > org-ctrl-c-ctrl-c(nil) > funcall-interactively(org-ctrl-c-ctrl-c nil) > command-execute(org-ctrl-c-ctrl-c) org-encode-time is defined in org-macs.el in the latest Org, but _not_ in built-in Org. What you are seeing is most likely caused by "mixed" installation of Org when part of Org is loaded from built-in Org distribution coming from Emacs. > I was able to reproduce this with 'emacs -Q' > > When trying to update a clocktable I get the following backtrace (with a > little bit removed). Could you please detail on what you did to load the latest org with Emacs -Q? Using purely emacs -Q cannot trigger the error simply because org-encode-time is absent in the built-in Org. Best, Ihor