From: Bastien <bzg@gnu.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org, Timothy <tecosaur@gmail.com>
Subject: Re: [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost
Date: Mon, 18 Oct 2021 09:47:48 +0200 [thread overview]
Message-ID: <87sfwyrcyj.fsf@gnu.org> (raw)
In-Reply-To: <87h7dgp29c.fsf@localhost> (Ihor Radchenko's message of "Sun, 17 Oct 2021 14:57:19 +0800")
Hi Ihor,
Ihor Radchenko <yantar92@gmail.com> writes:
> Bastien <bzg@gnu.org> writes:
>
>> If you feel confident the change is mature enough for being merged
>> into the main branch, please go ahead, this will boost the feedback.
>
> Merged to main just now.
with latest main, I cannot use S-<right> (org-agenda-do-date-later) to
update the entry at point.
Here is the backtrace I get:
Debugger entered--Lisp error: (error "Cannot find time stamp")
error("Cannot find time stamp")
(if (org-at-timestamp-p 'lax) nil (error "Cannot find time stamp"))
(save-current-buffer (set-buffer buffer) (widen) (goto-char pos) (if
(org-at-timestamp-p 'lax) nil (error "Cannot find time stamp")) (if
(and org-agenda-move-date-from-past-immediately-to-today (equal arg
1) (or (not what) (eq what 'day)) (not (let
((save-match-data-internal (match-data))) (unwind-protect (progn
(org-at-date-range-p)) (set-match-data save-match-data-internal
'evaporate))))) (progn (setq cdate (org-parse-time-string
(match-string 0) 'nodefault) cdate (calendar-absolute-from-gregorian
(list (nth 4 cdate) (nth 3 cdate) (nth 5 cdate))) today (org-today))
(if (> today cdate) (progn (setq arg (- today cdate))))))
(org-timestamp-change arg (or what 'day)) (if (and
(org-at-date-range-p) (re-search-backward org-tr-regexp-both
(point-at-bol))) (progn (let ((end org-last-changed-timestamp))
(org-timestamp-change arg (or what 'day)) (setq
org-last-changed-timestamp (concat org-last-changed-timestamp "--"
end))))))
Let me know if I need to investigate more.
Thanks!
--
Bastien
next prev parent reply other threads:[~2021-10-18 7:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-19 7:30 [feature proposal] Headline caching via org-element-cache = up to 2.5x performance boost Ihor Radchenko
2021-09-19 9:58 ` Timothy
2021-09-19 11:18 ` Ihor Radchenko
2021-09-19 12:39 ` Timothy
2021-09-19 12:52 ` Ihor Radchenko
2021-09-25 14:51 ` Bastien
2021-10-17 6:56 ` Ihor Radchenko
2021-10-18 5:07 ` Bastien
2021-10-17 6:57 ` Ihor Radchenko
2021-10-18 7:47 ` Bastien [this message]
2021-10-18 8:10 ` Ihor Radchenko
2021-10-18 9:25 ` Bastien
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfwyrcyj.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=tecosaur@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).