From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Org 9.6: void org-element--cache-active-p on fresh
Date: Mon, 16 Jan 2023 20:43:28 +0100 [thread overview]
Message-ID: <86wn5mb6zj.fsf@gmail.com> (raw)
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 “Today“ to be your today’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--cache-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 ’m’ and type: CLOSED>="<today>". The result is:
--8<---------------cut here---------------start------------->8---
Headlines with TAGS match: CLOSED>="<today>"
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 “Today” – the item “Yesterday” should be filtered out; e.g.,
Headlines with TAGS match: CLOSED>="<today>"
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
next reply other threads:[~2023-01-16 19:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-16 19:43 zimoun [this message]
2023-01-17 13:45 ` Org 9.6: void org-element--cache-active-p on fresh Simon Tournier
2023-01-18 9:21 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wn5mb6zj.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).