Owned.
This is a pretty old thread, but:
Rudolf Adamkovič wrote:
> When I type
>
> [fn:1],
>
> Flyspell marks "fn" as an error.
>
> Could Org Mode instruct Flyspell not to spellcheck "fn"?
I think that having org "instructing flyspell" to not check "fn" is an
overkill for this situation. I offer you two alternative
solutions:
1. The simplest one is to `M-x ispell-word` with point in "fn" and then
`i` (insert into personal dictionary). This way, your dictionary will
have "fn" as a "correct word" and will never highlight it again. A side
note here: ispell is the working horse under flyspell.
2. Add a regex that comprises [fn:something] to the list of regions that
ispell will skip. While I consider this a bit of an overkill, it may
suit your needs. If so, you can add this to your init file:
```elisp
(with-eval-after-load 'org
(add-to-list 'ispell-skip-region-alist '("[fn:[^]]*]")))
```
This adds to the variable `ispell-skip-region-alist` a regex that
ecompasses numbered and named footnotes. That way it will skip footnotes like
[fn:42] and
also [fn:named-footnote].
Please let me know if any of these solutions served your purpose, so I
can close the bug for the bugtracker.
--
PavoDive