all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Org 9.6: void org-element--cache-active-p on fresh
@ 2023-01-16 19:43 zimoun
  2023-01-17 13:45 ` Simon Tournier
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2023-01-16 19:43 UTC (permalink / raw)
  To: Guix Devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Org 9.6: void org-element--cache-active-p on fresh
  2023-01-16 19:43 Org 9.6: void org-element--cache-active-p on fresh zimoun
@ 2023-01-17 13:45 ` Simon Tournier
  2023-01-18  9:21   ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Tournier @ 2023-01-17 13:45 UTC (permalink / raw)
  To: Guix Devel

Hi,

On lun., 16 janv. 2023 at 20:43, zimoun <zimon.toutoune@gmail.com> wrote:

> 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?

Using Guix 29efa27 and so Org 9.6.1, this last issue about
CLOSED>="<today>" seems fixed.

Cheers,
simon


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Org 9.6: void org-element--cache-active-p on fresh
  2023-01-17 13:45 ` Simon Tournier
@ 2023-01-18  9:21   ` zimoun
  0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2023-01-18  9:21 UTC (permalink / raw)
  To: Guix Devel

Hi,

On Mon, 16 Jan 2023 at 20:43, zimoun <zimon.toutoune@gmail.com> wrote:

>> --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---

>> Well, is it a bug on Guix side or is it a bug on Org-mode side?  Or from
>> my config?

Fixed upstream by 5d9c9c27c68f1af1159dfeb62352b2fa610b1d9f [1].

1: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5d9c9c27c


Cheers,
simon



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-21 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 19:43 Org 9.6: void org-element--cache-active-p on fresh zimoun
2023-01-17 13:45 ` Simon Tournier
2023-01-18  9:21   ` zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.