Tim Cross <theophil...@gmail.com> writes: > I think something is very wrong if your Emacs 28 has org 9.3. I'm pretty > sure the earliest version which was bundled with Emacs 28 was 9.4 - it > is certainly 9.5 now and that is the version that will be bundled with > it when it is released.
Fair enough -- I did think that was weird. I installed Emacs 28 as emacs-next via Guix, which I am new to; maybe it installed a very old build, or maybe something is screwed up in the load-path. Still, I think this is not relevant to the problem. I see the same problem on Emacs 27.2 (also installed via Guix) with the built-in Org 9.4.4. I also see it on both Emacs 27.2 and 28 when I load Org from the latest bugfix branch in git ("Org mode version 9.5.1 (release_9.5.1-13-gc91271 @ /home/rwl/src/org-mode/lisp/)"). Several other people have confirmed that they see it too -- two in this thread, one privately to me off-list. So I don't think it's a problem with my setup. But I'm still trying to get clear on where the problem could be. The functions involved (default-indent-new-line, org-comment-line-break-function, and insert-before-markers-and-inherit) mostly haven't been modified in a long time. What *has* changed is that M-j now calls this stack of functions, when it used to call comment-indent-new-line (in Emacs 26). In fact, if I run M-x default-indent-new-line in an Org buffer in Emacs 26 with the built-in Org 9.1.9, I get the same error. I think this issue has been lurking for a while -- it's just that the new binding brought it to the surface. -- Best, Richard