Hi Keita,

Ikumi Keita <[email protected]> writes:

> Thanks for your analysis. I reached `canonically-space-region' tracking
> down the issue.
> If I change its last part as follows (emacs 30.2), one space is retained
> between "}" and "Test" for me.

Thanks for your further analysis.

> I haven't understood the former part of its `end-spc-re', namely 
> (concat "\\(" (sentence-end) "\\) *"), but in myopinion, it isn't
> appropriate for the rest part, namely "  +", to delete the entire
> matched string; we have to leave one space there.

That change was introduced in commit bb424945.  Maybe we should ask
Stefan M.?  Your suggestion breaks this:

--8<---------------cut here---------------start------------->8---
% - Start
   }
        Test
--8<---------------cut here---------------end--------------->8---

Mark the region and do, with and without your change:

  M-x canonically-space-region RET

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#81565:... Werner LEMBERG
    • bug#8... Arash Esbati
      • b... Ikumi Keita
        • ... Arash Esbati
          • ... Ikumi Keita
            • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
              • ... Arash Esbati

Reply via email to