[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
org-mode-flyspell-verify: Why skip checking the LOGBOOK?
From: |
Morgan Willcock |
Subject: |
org-mode-flyspell-verify: Why skip checking the LOGBOOK? |
Date: |
Fri, 09 Aug 2024 18:03:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
With org-log-into-drawer set to t any notes that are taken with
org-add-note go into a LOGBOOK drawer, but this also removes the
spell-checking provided by Flyspell.
It seems intentional to prevent checking the LOGBOOK (or equivalent)
when the value of org-log-into-drawer is non-nil:
;; Ignore checks in LOGBOOK (or equivalent) drawer.
((let ((log (org-log-into-drawer)))
(and log
(let ((drawer (org-element-lineage element 'drawer)))
(and drawer
(org-string-equal-ignore-case
log (org-element-property :drawer-name drawer))))))
nil)
...but why should the location of the note matter to the spell-checker?
Is there any way to re-enable spell-checking of the notes without adding
advice to org-mode-flyspell-verify to hijack the result?
Thanks,
Morgan
--
Morgan Willcock
- org-mode-flyspell-verify: Why skip checking the LOGBOOK?,
Morgan Willcock <=