emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode-flyspell-verify: Why skip checking the LOGBOOK?
@ 2024-08-09 17:03 Morgan Willcock
  2024-08-10 15:02 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Morgan Willcock @ 2024-08-09 17:03 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-11 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 17:03 org-mode-flyspell-verify: Why skip checking the LOGBOOK? Morgan Willcock
2024-08-10 15:02 ` Ihor Radchenko
2024-08-10 17:19   ` Morgan Willcock
2024-08-11 15:33     ` Ihor Radchenko

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).