From b10522de6fc48306bdf1df1130d340db9e5c731f Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Sun, 8 Nov 2020 22:15:54 -0600 Subject: [PATCH] Notes: Add idea --- notes.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notes.org b/notes.org index 5a9306b..5452820 100644 --- a/notes.org +++ b/notes.org @@ -20,6 +20,7 @@ :END: :CONTENTS: - [[#add-auto-keyword-to-planning-predicate][Add :auto keyword to (planning) predicate]] +- [[#consider-using-parsec-for-parsing-queries][Consider using parsec for parsing queries]] - [[#document-sorters][Document sorters]] - [[#org-block-to-insert-results-of-queries-with-links-to-entries][Org block to insert results of queries with links to entries]] - [[#outline-path-in-buffers-files-arg][Outline path in buffers-files arg]] @@ -611,6 +612,10 @@ Appears to be another implementation of magit-section-like expandable sections. **** magit-section +** MAYBE Consider using [[https://github.com/cute-jumper/parsec.el][parsec]] for parsing queries + +=peg= is a bit older and perhaps unmaintained now. + ** MAYBE Overlay-based caching inspired by org-num-mode [2019-12-30 Mon 22:42] Newer versions of Org have =org-num-mode=, which uses =font-lock= and =after-change-functions= to update overlays in the buffer with outline numbering. Maybe a similar approach could be used to cache arbitrary values for headings in a buffer without having to discard the whole buffer's cache when the buffer changes.