emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: dalanicolai <dalanicolai@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Build agenda asynchronously
Date: Wed, 18 Aug 2021 23:28:36 +0800	[thread overview]
Message-ID: <87sfz6n55n.fsf@localhost> (raw)
In-Reply-To: <CACJP=3muxf=5fYbpX0bd+m5LSKjDVFZ6QLNU2ohT7o3cicM4MA@mail.gmail.com>

dalanicolai <dalanicolai@gmail.com> writes:

> There was a question on Stack-Exchange if it would be possible to build
> *org-agenda* asynchronously. I could not quickly find any good answers
> neither in the mailing lists nor anywhere else.

There was a proof-of-concept code building agenda using Emacs threads:
https://orgmode.org/list/87k172ot2m.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me/

However, if your agenda is blocking Emacs it will only get worse over
time. Async will not be good enough eventually. I recommend using
org-ql. It should be enough unless your agenda it taking really a lot of
time to build (10s of seconds).

Best,
Ihor


      parent reply	other threads:[~2021-08-18 15:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 22:52 Build agenda asynchronously dalanicolai
2021-08-16 23:59 ` Tim Cross
2021-08-17  6:52   ` Dr. Arne Babenhauserheide
2021-08-17  7:28     ` Tim Cross
2021-08-17 18:10       ` Milan Zamazal
2021-08-18  0:13         ` Tim Cross
2021-08-18  5:47           ` Henrik Frisk
2021-08-18  5:41     ` Henrik Frisk
2021-08-18 15:28 ` 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

  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=87sfz6n55n.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=dalanicolai@gmail.com \
    --cc=emacs-orgmode@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/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).