From: Morgan Willcock <morgan@ice9.digital>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode-flyspell-verify: Why skip checking the LOGBOOK?
Date: Sat, 10 Aug 2024 18:19:02 +0100 [thread overview]
Message-ID: <875xs8nvnd.fsf@ice9.digital> (raw)
In-Reply-To: <87v808775z.fsf@localhost> (Ihor Radchenko's message of "Sat, 10 Aug 2024 15:02:16 +0000")
Ihor Radchenko <yantar92@posteo.net> writes:
>> Is there any way to re-enable spell-checking of the notes without adding
>> advice to org-mode-flyspell-verify to hijack the result?
>
> It looks like LOGBOOK drawers should not be ignored by flyspell.
> May you comment out that check locally and see how it goes?
I switch between computers fairly frequently and the Org versions may
not be exactly in sync. Rather than editing the source code or
redefining the entire function, would it be acceptable to you if I use
the following advice for testing?
(advice-add 'org-mode-flyspell-verify
:around (lambda (orig-fun &rest args)
(let (org-log-into-drawer)
(apply orig-fun args))))
> Ideally, please check things like CLOCK and automatic todo state change
> notes.
Moving over those entries with the advice added, I cannot see any
obvious issues, although I imagine some people may see a difference if
their todo-keywords are spelled in a way that doesn't match the
dictionary being used by Flyspell, e.g. CANCELED vs. CANCELLED.
--
Morgan Willcock
next prev parent reply other threads:[~2024-08-10 17:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2024-08-11 15:33 ` Ihor Radchenko
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=875xs8nvnd.fsf@ice9.digital \
--to=morgan@ice9.digital \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).