Mark Oteiza writes: >>From -Q: > > 1. open a new buffer foo.tex > 2. insert a commented line followed by an uncommented one; e.g. > > % dog > > cat > > 3. Put point at beginning of buffer > 4. M-h > > I would expect the line with "dog" to be marked, but instead, the lines > following are marked. (This bug report unfortunately got no response at the time.) I can reproduce this bug in Emacs 26.1, but not in Emacs 28, so it seems like this has been fixed... or, rather, it's changed: