From 2b47e7c7b0ab60bf860e0ce463c44807f88000f9 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Tue, 13 Aug 2019 13:14:11 -0500 Subject: [PATCH] Comment: Add FIXME --- org-ql.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org-ql.el b/org-ql.el index 436c865..2f87f47 100644 --- a/org-ql.el +++ b/org-ql.el @@ -429,6 +429,8 @@ replace the clause with a preamble." "Return results for ARGS and current buffer using cache." ;; MAYBE: Timeout cached queries. Probably not necessarily since they will be removed when a ;; buffer is closed, or when a query is run after modifying a buffer. + ;; FIXME: Narrowed queries should conflict in the cache, because the region is not + ;; stored. We should either not cache narrow queries, or store the region with it. (-let (((&plist :query query :action action :narrow narrow) args)) (if-let* ((buffer-cache (gethash (current-buffer) org-ql-cache)) (query-cache (cadr buffer-cache))