emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: the_wurfkreuz via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [BUG] Org-tempo doesn't respect indentation [9.7.11]
Date: Fri, 03 Jan 2025 23:12:07 +0000	[thread overview]
Message-ID: <7ydh-el_V3bGyHqazNRO4U0rsz0dTr82GtOqoBYerLWShComYH6Ktjg3KeXhToIaqd-3fJE8Zdp-WdH69Ym3U8yMC779EBg44KUP3fepXDE=@proton.me> (raw)

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

If i have some list:

1. oariseatnoarise ntoaris en
2. aoirsetnaorisetnoarisetn
Then from the end of the second item use org-return, the pointer position is going to be indented like this:

1. oariseatnoarise ntoaris en
2. aoirsetnaorisetnoarisetn
<--- pointer here

Then if i try to expand an org tempo template using org-cycle:

1. oariseatnoarise ntoaris en
2. aoirsetnaorisetnoarisetn <se

The pointer will end up here:

1. oariseatnoarise ntoaris en
2. aoirsetnaorisetnoarisetn
#+begin_src emacs-lisp
<--- pointer #+end_src

I expect it to be here:

1. oariseatnoarise ntoaris en
2. aoirsetnaorisetnoarisetn
#+begin_src emacs-lisp
<--- pointer #+end_src

Emacs : GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0)
of 2025-01-02
Package: Org mode version 9.7.11

[-- Attachment #2: Type: text/html, Size: 2341 bytes --]

             reply	other threads:[~2025-01-03 23:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-03 23:12 the_wurfkreuz via General discussions about Org-mode. [this message]
2025-01-04 13:42 ` [BUG] Org-tempo doesn't respect indentation [9.7.11] 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='7ydh-el_V3bGyHqazNRO4U0rsz0dTr82GtOqoBYerLWShComYH6Ktjg3KeXhToIaqd-3fJE8Zdp-WdH69Ym3U8yMC779EBg44KUP3fepXDE=@proton.me' \
    --to=emacs-orgmode@gnu.org \
    --cc=the_wurfkreuz@proton.me \
    /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).