From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qCYvIM+pxWMNoAAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 20:47:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UEP8H8+pxWO9DwEAauVa8A (envelope-from ) for ; Mon, 16 Jan 2023 20:47:27 +0100 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 4780536036 for ; Mon, 16 Jan 2023 20:47:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHVRT-0002KQ-Td; Mon, 16 Jan 2023 14:46:51 -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 1pHVRR-0002Fs-3l for guix-devel@gnu.org; Mon, 16 Jan 2023 14:46:49 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHVRP-0004Mg-Gj for guix-devel@gnu.org; Mon, 16 Jan 2023 14:46:48 -0500 Received: by mail-wr1-x435.google.com with SMTP id r9so5713930wrw.4 for ; Mon, 16 Jan 2023 11:46:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=obiBDqupZuf6W0Ji3JtZNalGrxEh6neFY9DK6731Kb4=; b=hw2r6HQxhS/oEMnOk/ySCdCH0uD0gn+L/GbKmonRaxWmntr56Wump4udS+G42CjA2Y L+jaIDxpDaqCk0LqJlryxrvHXT4RfwS0w6tcSoerTOkJpcBYZJqrIRlh9ghah4Gmue44 fvXtu60ExWIlQ789rfUkry+obo/wBijAikNG0/BorOhL8L96QmFqek58wknCfA1dLan1 79tv7S+Tdxs/wpK8YvN7YaKO0KsmaccRuRjm/C75V3X/qOzZYPPuG0vscEpB2/dtFlc7 2tPT96jHJ0xnS7DfTJAFQxcuHb+j0a/EsgwBTN7617K9EXiYFc19HcjPFU3TRc5dUVTQ 0zaA== 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:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=obiBDqupZuf6W0Ji3JtZNalGrxEh6neFY9DK6731Kb4=; b=zJBA5Dy/j2QdEKjZb1mZTSDzp4xUdR7gMT8JkrSmR1mY79ZpimEtEfiJaxbn18/p5h 7q/iSbYM2VlLzMDy10cFPfmYzMJWLxrUU4EFTYlG/KuEwsn83es0QYJi4PWZ9QTYv6NK EioB4HmuYzy4j2CDRN1CXCeNa5Yc0k1SIbYDZIRNcVqu/CJyZ9SBL+LX3s2RchmTZQUo 6ZHFsQKW06kKSsNAHsBEbEYRJa2R/8Pk/M+AwGMfMLYvEkrDi4Q5mNj4mc1qDmiPKx5/ IqjaFJds8+PWbB2g6FxUDJWCCwOYpiE8I8sBj38cOvk7qBn18dvp6mv/OVFsDwqom8bp ioNQ== X-Gm-Message-State: AFqh2krhl+aUBPtC9rk5zWt6EHD8oX2eBx4pXKZ7V1u54abMGIY3+6ES n6VGe0xauMtV5T4oAEhkzumYopQefKk= X-Google-Smtp-Source: AMrXdXvNHydRnIeHjROc5zAwgIeFcm8cQkyq3rYWFNwui4NjCuZUjSkLqycq7/YY8I3hES/DsQ4JPg== X-Received: by 2002:a05:6000:98f:b0:242:1ad2:15d8 with SMTP id by15-20020a056000098f00b002421ad215d8mr132141wrb.3.1673898404591; Mon, 16 Jan 2023 11:46:44 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-44.net.univ-paris-diderot.fr. [194.254.61.44]) by smtp.gmail.com with ESMTPSA id l1-20020adfe9c1000000b00289bdda07b7sm26357485wrn.92.2023.01.16.11.46.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 11:46:44 -0800 (PST) From: zimoun To: Guix Devel Subject: Org 9.6: void org-element--cache-active-p on fresh Date: Mon, 16 Jan 2023 20:43:28 +0100 Message-ID: <86wn5mb6zj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.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, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hw2r6HQx; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673898447; a=rsa-sha256; cv=none; b=t9kyDZZ6XNiDDYsVTeDBdgWwxAJF8jfupduC9jq7LrjWgKbtuS5ZaPRcDZFhxZG6Eu/XGW H2KtbTZgm+ZrDpU20uW7gqMGRsvPsOeSV7CDWD554YRICpnA96X9ioLQfPlKMkw3Uypz0n 7eoTRZG06dupGnNrHp6aqaeZLNFDJVXzaUZZT6MOzReFHnVet5ha0GIclP0vySzjoqtgbP r6LbF++jrMqUwr0X1RywCakUl+EVMJvWgldm/1ml49JjFnqpdfF9q2CDzvDvIW0I4OUGar DSberkE2eHuy2Doe97pmNkmtE6iLMVCd5eIWk74OQQ5/iW36aXZtJcPyzkyZDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673898447; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=obiBDqupZuf6W0Ji3JtZNalGrxEh6neFY9DK6731Kb4=; b=gmZsq8S84QTJPvqhxKW6L+b/4cuU/TiPZ0teM9e/+LdjBa2zbjnwf5CZt03YOpVFWGB0yg fbngURkTcC0ewPDiYeMfqBYvNmwqsg3jUfF6k/Cn9D4saIxHpb5BfU4fwsBsA4rWGY33cK uBhd9yIFCEF1+fwT2ympymDbpmj0GxgmmSuZLCQbr0FmBZn29vp82jTF1Z5ykf8HbWtNQA 4wWSSAlvf7JXTmlQxPHkoNTkWnCnlIBZU7mzranCYKhRTds3FGqmT5k5W8gf8GEqeUv6d5 IixZcYO35u8pfI8RGpuV1msD3nhaIqiCj8fjhJgQ3wEHCaToawojCVRe2F0V/w== X-Migadu-Queue-Id: 4780536036 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hw2r6HQx; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Spam-Score: -9.78 X-Spam-Score: -9.78 X-TUID: DlwgnZy1JnNr Hi, I do not know if the issue is on Guix side or Org-mode side; or maybe on my side, hence this email. :-) Here a reproducer: --8<---------------cut here---------------start------------->8--- $ cat config.el (setq org-directory "/tmp/" org-agenda-files '("example.org") org-element-cache-persistent nil) $ cat example.org * DONE Yesterday CLOSED: [2023-01-15 Sun 15:45] * DONE Today CLOSED: [2023-01-16 Mon 15:45] --8<---------------cut here---------------end--------------->8--- (Well, modify the date of =E2=80=9CToday=E2=80=9C to be your today=E2=80=99= s date.) Then, $ guix shell -C emacs-minimal emacs-org -E TERM \ -- emacs -q -l config.el -f org-agenda Select: m Match a TAGS/PROP/TODO query --8<---------------cut here---------------start------------->8--- org-get-buffer-tags: Symbol's function definition is void: org-element--cac= he-active-p --8<---------------cut here---------------end--------------->8--- Note that it does not happen with Org 9.5.5 included in Emacs; i.e., $ guix shell -C emacs-minimal -E TERM \ -- emacs -q -l config.el -f org-agenda Now consider: $ guix shell -C emacs-minimal emacs-org -E TERM \ -- emacs -q -l config.el \ --eval "(require 'org-element)" \ -f org-agenda Then press =E2=80=99m=E2=80=99 and type: CLOSED>=3D"". The result i= s: --8<---------------cut here---------------start------------->8--- Headlines with TAGS match: CLOSED>=3D"" Press `C-u r' to search again example: DONE Yesterday example: DONE Today --8<---------------cut here---------------end--------------->8--- The expected result (at least using Org v9.5) is to only match with the item =E2=80=9CToday=E2=80=9D =E2=80=93 the item =E2=80=9CYesterday=E2=80=9D= should be filtered out; e.g., Headlines with TAGS match: CLOSED>=3D"" Press `C-u r' to search again example: DONE Today Well, is it a bug on Guix side or is it a bug on Org-mode side? Or from my config? Cheers, simon