emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: the_wurfkreuz <the_wurfkreuz@proton.me>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)]
Date: Mon, 01 Jul 2024 06:22:03 +0000	[thread overview]
Message-ID: <5O9VMGb6WRaqeHR5_NXTb832Z2Lek_5L40YPDA52-S3kPwGYJspI8kLWaGtuq3DXyhtHpj1J7jTIXb39RX9BtCa2ecrWHjijZqI8QAD742U=@proton.me> (raw)

[-- 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 --]

             reply	other threads:[~2024-07-08 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01  6:22 the_wurfkreuz [this message]
2024-07-09 16:08 ` [BUG] Incorrect source block indentation [9.8-pre (release_9.7.6-86-g571f1c)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='5O9VMGb6WRaqeHR5_NXTb832Z2Lek_5L40YPDA52-S3kPwGYJspI8kLWaGtuq3DXyhtHpj1J7jTIXb39RX9BtCa2ecrWHjijZqI8QAD742U=@proton.me' \
    --to=the_wurfkreuz@proton.me \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).