From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MIWYAvcbbmNdXQAAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 10:55:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MKOTAvcbbmMmOgEA9RJhRA (envelope-from ) for ; Fri, 11 Nov 2022 10:55:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 79048C343 for ; Fri, 11 Nov 2022 10:55:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otQjk-0008Bz-FR; Fri, 11 Nov 2022 04:54:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otQG7-0007ET-IK for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 04:23:35 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otQG5-0008VB-CC for emacs-orgmode@gnu.org; Fri, 11 Nov 2022 04:23:35 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6EDD3240103 for ; Fri, 11 Nov 2022 10:23:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668158608; bh=DxKe4WVYE8nIrtcHvGEKtlUNlFvLDVmgartyne4nJFs=; h=Date:From:To:Subject:From; b=Lx0FyTkjfoIuFXos3ostCTf/c5wCZOpONo21tkmEknCh90BFiPe2Xulm5iOpno/Du Fo7KynXAqHb2rvcyodS6VxDnpf44WQXvwWjVscxVRHReyOaBXduM0RmTXM1rRhlnNr acO1RgXcgqfmPCKyMm6Fejdh2gNI6GCm9qhtZD8JUslrQFf3Op+HmjvkoMFBCmPc1y 0OlwhD0ibCmg5tZ9yzP+ruMg9MjWs7LFxMz4Xq6KIo/3tyohLTbQibb6bDRMXHTjQC z9pZChCvK0uWswwrPEbaH4DjpKkG6fJYZHuRzCDaFWp6RsIro5QQM8A/ZzyJO5+HAL ne/OmBbKonZ8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N7tYC6NWNz9rxL for ; Fri, 11 Nov 2022 10:23:27 +0100 (CET) Date: Fri, 11 Nov 2022 09:22:48 +0000 From: Alexandros Prekates To: emacs-orgmode@gnu.org Subject: Re: [BUG] phantom newlines while moving headings [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)] Message-ID: <20221111112248.1c457e43@enous> In-Reply-To: <87pmdu9qd0.fsf@localhost> References: <20221111021604.0e8319b5@enous> <87pmdu9qd0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=aprekates@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 11 Nov 2022 04:54:10 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668160502; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MRzp7VWHifSYkUX+1gznrWmy/nGgYWG1b5DSYlvyQRY=; b=YfcPeOUTamB53ucB+Jk9ovDZ/jPMjhIHDAVR2N5fRJVZDgyF2JLZ4hsZfXL9yX1jk/Wk+F Pm+1Z1UtjUmApoani4UJ9QlUy3PSvrfRFbgeVw7+aH6wQQW0luq65paRQMEJYYnr73CfUb 6VIn2nmZTz7LyLp82bM/1wgvxYWjKNhMO3PnRHnt+LEJcyEGCtl3/nGCGEf2vDKVPxCMtS heQDC60kse+RN/U4nCnjVcVo45Rd435qiCT5d4R2DyG8zxCTCQN6Kv8Gt5EGSW13nKwC3t Xl7M68Tacn670AK4SErZwN9IT+EjR+21ICGNdwTWOoIYxF7lezmZl7YmRkkj2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668160502; a=rsa-sha256; cv=none; b=V4J6i5Y7AVHL3fFRTSU03AG1t8v0Cx9EF5+nUYfKlk2RNtzCugieCm/mwccuY7L5AqUsN6 dM9kXo0SXh/7MDbzVf9GTAyi0jOCYvxqnLvT4THSqzJdiB8KflYySZV2c0pSQhgkbVRiO8 ldcYoa+aT+B8DHyDA/IYjfoGlPhLfMoQhvjruDrbiN8Aa1r6OkY0eyfDdZ4AEY+IJSBpYf M76CzVtqnygi+nz+SAI+ifFVN9kpcUoUrSm7UMeQvbzPK5PU0kODDFwbN4Pe1Kker5ZwTb xc5UxTq5ls7W8+bp5A8VKPrNYorxvibwu149UA+cYepy7LoFM8So2xm4ztMsqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Lx0FyTkj; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Lx0FyTkj; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 79048C343 X-Spam-Score: -3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: d4kfACbZY1ft On Fri, 11 Nov 2022 02:28:27 +0000 Ihor Radchenko wrote: I found a more minimal issue-reproducer (i add $ because i used M-x whitespace mode . Also @ is point) ; Creaete 1st level headlines ------- * a$ * b$ * c$ * d$ @ Move point after headline d ------ * a$ * b$ * c@$ * d$ Press enter --------------------- * a$ * b$ * c$ @$ * d$ Creating subheading ----- * a$ * b$ * c$ ** c1@$ * d$ Press enter ----- * a$ * b$ * c$ ** c1$ @$ * d$ Fold c heading ----- * a$ * b$ * @c...$ * d$ move c heading up ----- * a$ * @c...$ $ <---- a phantom(?) 'newline' * b$ * d$ > chomwitt@posteo.eu writes: > > > It follows a possible org chunk that reproduce the phantom newlines > > that are created while trying to move a headline from a state where > > there are no newlines between the headers. > > Could you please provide more information? > Which headline should I move to reproduce the problem? > > I tried to move headlines randomly in the attached file (your example) > but I do not see any newlines created. >