I'm sorry for the inconvenience. May i illustrate this using screenshots?

On the first screenshot i put the cursor after the '    upstream application {' 
line and then use 'org-return' command. And the second screenshot shows the 
result.
And the other thing is that this behavior doesn't happen on the 9.11 version.


Sent with Proton Mail secure email.

On Wednesday, November 5th, 2025 at 22:23, Ihor Radchenko <[email protected]> 
wrote:

> the_wurfkreuz [email protected] writes:
> 
> > Steps to reproduce:
> > 1. Launch emacs `emacs -Q -L path/to/org-mode/lisp`
> > 2. Execute `org-mode`3. Past this into the scratch buffer:
> > #+begin_src conf
> > pid /tmp/nginx.pid;
> > events {}
> > # one two three four five six seven eight nine ten eleven twelve thirtheen 
> > fourteen
> > http {
> > upstream application {
> > server 127.0.0.1:3000;
> > }
> > ...
> > 4. Move the cursor to the comment line " upstream application {".
> > 5. Exectue this sequence of commands: move-end-of-line -> org-return
> > 
> > The " upstream application {" gets reindented incorrectly, like this:
> > 
> > http {
> > upstream application {
> > 
> > server 127.0.0.1:3000; }
> 
> 
> Sorry but I do not understand what you describe. From what I see in your
> email, you are saying that there is no change at all in the indentation:
> 
> before:
> http {
> upstream application {
> server 127.0.0.1:3000;
> }
> 
> after:
> http {
> upstream application {
> 
> server 127.0.0.1:3000; }
> 
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> 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