emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vincent Chouraki <email@vincentchouraki.fr>
To: emacs-orgmode@gnu.org
Subject: Bug: Refiling insert extra spaces at beginning of inline-tasks headlines [9.4.6 (9.4.6-12-gdcc3a8-elpaplus @ ~/.config/emacs/elpa/org-plus-contrib-20210823/)]
Date: Thu, 26 Aug 2021 21:32:03 +0200	[thread overview]
Message-ID: <3606e89d-b68d-38d4-cc18-596d136b3b98@vincentchouraki.fr> (raw)

Hello everyone,

When refiling a headline that contains an inlinetask, extra spaces are 
inserted between the beginning of line and the inlinetask headline. The 
number of spaces inserted seems to depend on the difference in depths 
between the current and "refiled" depth of the headline.

For example, starting from :

##### BEGIN EXAMPLE

* Notes
** Notes from meeting 1
* Notes from meeting 2
*************** TODO do this
*************** END

##### END EXAMPLE

Refiling to "* Notes" should results in

##### BEGIN EXAMPLE

* Notes
** Notes from meeting 1
** Notes from meeting 2
*************** TODO do this
*************** END

##### END EXAMPLE

But results instead in

##### BEGIN EXAMPLE

* Notes
** Notes from meeting 1
** Notes from meeting 2
  *************** TODO do this
  *************** END

##### END EXAMPLE

Best regards,

Vincent

Emacs  : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.22.30, cairo version 1.15.10)
  of 2021-08-26
Package: Org mode version 9.4.6 (9.4.6-12-gdcc3a8-elpaplus @ 
~/.config/emacs/elpa/org-plus-contrib-20210823/)



                 reply	other threads:[~2021-08-27  6:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3606e89d-b68d-38d4-cc18-596d136b3b98@vincentchouraki.fr \
    --to=email@vincentchouraki.fr \
    --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).