emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-lint: Spurious warning from 'misplaced-heading lint-checke


From: Ihor Radchenko
Subject: Re: [BUG] org-lint: Spurious warning from 'misplaced-heading lint-checker [9.7.2 (release_N/A-N/A-88dd2c @ /home/user/.emacs.d/elpa/org-9.7.2/)]
Date: Sat, 08 Jun 2024 19:09:25 +0000

Suhail Singh <suhailsingh247@gmail.com> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> Accidentally deleted newline here* Heading 2
>
> Are there situations which result in such accidental newline deletions
> that are likely to not be immediately caught if not prompted by the
> checker?  Or was the checker added preemptively?

I have seen such situations many times. Sometimes, as accidental edits;
sometimes, because of subtle bugs in Org.

> Perhaps the checker should simply be limited to headline, paragraph and
> select other node types where an asterisk could not occur.

Ok. (I did not really expect false-positives with the existing checker;
but since there are clearly there, I just made the check more selective)
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=915e88364

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]