Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-30 Thread Morgan Willcock
Tim Cross writes: > Based on your report of having org 9.3, my suspicion is that your org > version is too old for the current Emacs versions (since the change in > 2019 to use default-indent-new-line for C-M-j and M-j. I don't think > this is a bug in current Org or Emacs. Just for reference,

[PATCH] Fix org-comment-line-break-function (was: Is M-j broken for you in Org on Emacs 27 and 28?)

2021-11-30 Thread Richard Lawrence
Hi Tim and all, Thanks for sticking with me here... Tim Cross writes: > I just checked this when running emacs -Q and get the following > > comment-line-break-function is a variable defined in ‘simple.el’. > > Its value is ‘org-comment-line-break-function’ > > and fill-prefix is > >

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Tim Cross
Richard Lawrence writes: > Tim Cross writes: > >> I'm running Emacs 28 and cannot reproduce the issue you observe. > > Hmm, the plot thickens! > >> Running emacs -Q I find M-j is bound to >> >> M-j runs the command default-indent-new-line (found in global-map), >> which is an interactive

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Tim Cross 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

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Colin Baxter 
> Richard Lawrence writes: > Tim Cross writes: >> I'm running Emacs 28 and cannot reproduce the issue you observe. > Hmm, the plot thickens! >> Running emacs -Q I find M-j is bound to >> >> M-j runs the command default-indent-new-line (found in >> global-map),

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Tim Cross
Richard Lawrence writes: > Tim Cross writes: > >> I'm running Emacs 28 and cannot reproduce the issue you observe. > > Hmm, the plot thickens! > >> Running emacs -Q I find M-j is bound to >> >> M-j runs the command default-indent-new-line (found in global-map), >> which is an interactive

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Sorry, forgot to reply to this: Tim Cross writes: > Note that C-j in org mode is different from 'normal' C-j in that it is > bound to org-return-and-maybe-indent. If you want M-j to act like C-j in > org mode, you would need to rebind M-j to org-return-and-maybe-indent in > an appropriate org

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-29 Thread Richard Lawrence
Tim Cross writes: > I'm running Emacs 28 and cannot reproduce the issue you observe. Hmm, the plot thickens! > Running emacs -Q I find M-j is bound to > > M-j runs the command default-indent-new-line (found in global-map), > which is an interactive compiled Lisp function in ‘simple.el’. I

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Tim Cross
Richard Lawrence writes: > Colin Baxter  writes: > >> I confirm that it also appears broken to me in emacs-27.2, with the same >> error as you found. I have never noticed it before, possibly because I >> use C-j rather than M-j. > > Thanks for confirming. Do you know what the difference

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Richard Lawrence
Colin Baxter  writes: > I confirm that it also appears broken to me in emacs-27.2, with the same > error as you found. I have never noticed it before, possibly because I > use C-j rather than M-j. Thanks for confirming. Do you know what the difference between C-j and M-j is "supposed" to be?

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Colin Baxter 
> Richard Lawrence writes: > Hi Org community, Some questions for those of you on Emacs 27 and > 28: > Does M-j in an org-mode buffer do what you expect? Does it throw > an error? What function is M-j bound to in Org? > Backstory: > I have long been on Emacs 26.3

Re: Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Greg Minshall
Richard, i also see an error message when entering M-j running: : emacs -Q foo.org cheers, Greg Org mode version 9.5 (9.5-gced2b3 @ /home/minshall/.emacs.d/straight/build/org/) GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-26

Is M-j broken for you in Org on Emacs 27 and 28?

2021-11-28 Thread Richard Lawrence
Hi Org community, Some questions for those of you on Emacs 27 and 28: Does M-j in an org-mode buffer do what you expect? Does it throw an error? What function is M-j bound to in Org? Backstory: I have long been on Emacs 26.3 (in Debian stable) but recently decided to try a newer Emacs from GNU