* [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)]
@ 2024-07-01 6:22 the_wurfkreuz
2024-07-09 16:08 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: the_wurfkreuz @ 2024-07-01 6:22 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
When I create a source block, pressing ENTER (RET) at the end of the
first line indents the cursor visually about 10 characters to the
right. If I press RET again to create a new line, it re-indents the
previously displaced line, but the new line is also incorrectly placed.
Steps to reproduce:
1. emacs -Q
2. Enable org-mode in a scartch buffer.
3. Write:
#+begin_src fundamental
#+end_src
4. Place the cursor after the last character of the first line and press RET.
5. Write something on the newly created line, then create another new line using RET.
Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
of 2024-04-23
Package: Org mode version 9.8-pre (release_9.7.6-86-g571f1c @ /home/wurfkreuz/.emacs.d/straight/build/org/)
[-- Attachment #2: Type: text/html, Size: 1550 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)]
2024-07-01 6:22 [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)] the_wurfkreuz
@ 2024-07-09 16:08 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-07-09 16:08 UTC (permalink / raw)
To: the_wurfkreuz; +Cc: emacs-orgmode@gnu.org
the_wurfkreuz <the_wurfkreuz@proton.me> writes:
> When I create a source block, pressing ENTER (RET) at the end of the
> first line indents the cursor visually about 10 characters to the
> right. If I press RET again to create a new line, it re-indents the
> previously displaced line, but the new line is also incorrectly placed.
>
> Steps to reproduce:
> ...
Thanks for reporting!
This was a subtle one.
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=022bb471c
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-09 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 6:22 [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)] the_wurfkreuz
2024-07-09 16:08 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).