Ihor Radchenko <yanta...@posteo.net> writes: > "Suhail Singh" <suhailsingh...@gmail.com> writes: > >> When there is, say, an "example" result block that is indented (i.e., >> the entire block including the delimiters is indented) and it contains >> some asterisks in the middle, org-lint considers it to be a possible >> case of misplaced-heading. Case in point: >> >> #+begin_src org >> - Some words >> ,#+begin_example >> this is a line with asterisks** in the middle >> ,#+end_example >> #+end_src >> >> The lint check should guard against occurrences that happen within code >> blocks. > > Makes sense. > Fixed, on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b8497aa7f
This doesn't seem fixed as of 9.7.3 (the MRE above still shows spurious warning). It seems that org-at-block-p returns nil when point is within the block. -- Suhail