all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Ihor Radchenko <yantar92@gmail.com>, Bastien <bzg@gnu.org>
Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	 Giorgi Gvalia <gvalia@protonmail.com>
Subject: Re: [BUG] Evaluating org-class throws a void-variable error [9.6 (9.6-??-0c9b30e96 @ ~/.emacs.d/.local/straight/build-27.2/org/)]
Date: Sun, 16 Oct 2022 04:01:12 +0000	[thread overview]
Message-ID: <87zgdwpgc7.fsf@localhost> (raw)
In-Reply-To: <87y23bjgh0.fsf@localhost>

Ihor Radchenko <yantar92@gmail.com> writes:

> AFAIK, org-element-timestamp-parser does not support diary-type
> timestamps that contain time/time intervals. Consider the following:
>
> ** Monday Lecture
> SCHEDULED: <%%(org-class 2021 08 30 2021 12 11 1) 19:30-20:45>
>
> org-element-context gives
>
> (planning
>  (:closed nil :deadline nil
>   :scheduled nil :begin 311 :end 376
>   :post-blank 2 :post-affiliated 311))
>
> Note that agenda did support the above example. Apparently, simply
> because agenda somehow parsed sexps by itself without invoking
> org-element. After I changed agenda to use org-element API,
> <%%(...) time> does not work anymore.

Bastien, could you please take a look?
What we have here is feature regression, but it is unclear if it is
justified to change the Org diary timestamp syntax.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      parent reply	other threads:[~2023-08-08 10:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-16 18:09 [BUG] Evaluating org-class throws a void-variable error [9.6 (9.6-??-0c9b30e96 @ ~/.emacs.d/.local/straight/build-27.2/org/)] Giorgi Gvalia
2022-01-17 11:20 ` Ihor Radchenko
     [not found]   ` <-PAgSsqWX-jRhNc-uCVbsFqIm1TH0AUgR3wFAHWpkMjncKnL4ctK_N24q0qS9ccuhk8R2YSxB08UwhoBzoaW2bQksI55dC60Wt56JXS09C8=@protonmail.com>
     [not found]     ` <87o849npya.fsf@localhost>
     [not found]       ` <87fspjabpq.fsf@nicolasgoaziou.fr>
     [not found]         ` <87y23bjgh0.fsf@localhost>
2022-10-16  4:01           ` Ihor Radchenko [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgdwpgc7.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=bzg@gnu.org \
    --cc=gvalia@protonmail.com \
    --cc=mail@nicolasgoaziou.fr \
    --cc=yantar92@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.