From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iDqtK1yzbWPWFQEAbAwnHQ (envelope-from ) for ; Fri, 11 Nov 2022 03:28:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CE+0K1yzbWNWSwAAauVa8A (envelope-from ) for ; Fri, 11 Nov 2022 03:28:44 +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 64E0B2823B for ; Fri, 11 Nov 2022 03:28:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otJlv-00031d-H3; Thu, 10 Nov 2022 21:27:59 -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 1otJlu-00031N-80 for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 21:27:58 -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 1otJlp-0005yX-E7 for emacs-orgmode@gnu.org; Thu, 10 Nov 2022 21:27:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 82CA1240101 for ; Fri, 11 Nov 2022 03:27:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668133670; bh=Iq4obCp0JhUhgXZQkgB42HTU0LvMb/hP/5eov1PNoVc=; h=From:To:Cc:Subject:Date:From; b=EfgDFH/OG0rqF+iPb4Cn+OcZEQcUfnmcUkchNsK2EAj3BSztxycMQ7Yyim0aIJAfT oz2E4rPnDHK1zaQk7RaXoSV7fU47JNQVFvnRzmLpxUeTvIyfbyKrlX83/lUP+ysEvB QHK79T/hqnZCW9NEX7qWvAOJ0Mbhhcs5+7APLx3FtInKD0hlYh6el5/miWCSnPnBAw X8yaPbHS+aF28angiBt2ZJqlUOIPIBQGr4chw20kblf+X1D7vurT1vWLdnc1G5iWrQ 3Ynj9AX/Zh9/kts9MxRjEZskpUjZcVewN8WRaJ/skqGCDJARWrkl+AL4p0rLaGHEjW bvODmt7t+E2xg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N7jKZ37yRz9rxB; Fri, 11 Nov 2022 03:27:46 +0100 (CET) From: Ihor Radchenko To: chomwitt@posteo.eu Cc: 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/)] In-Reply-To: <20221111021604.0e8319b5@enous> References: <20221111021604.0e8319b5@enous> Date: Fri, 11 Nov 2022 02:28:27 +0000 Message-ID: <87pmdu9qd0.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@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-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=1668133724; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4xLX3uhO1g1nHwPHpClEH/FycThlYlbBHDSP6XJPlAs=; b=kT0Kng5817Ja4KDdKuW4rtxfNN1CZ+QZq/njx9GMnp3Vpa0iORYvxkQ0iXfD73X19/unyy TE/+w8rK/JbP2Cgsm1ZEPny4hg0PFzvdCO+zWXzq5ffg2Wrl5ngEO6x3PjI8M/1DhhgLiM bzc7ubaoQ1dEA+o77YFKmxaX9TIi9gux0gL7va3ByqYPbEiMvPXgAE/dOFGhUqRhokk/3Q ssmo1dZI9eu1w8/XXyVEfo+odRO+NBW6c1bnXoCX3TjlCyy1LDvfP6tGZFMzPrxK6/eBmk bLOxpT3CEPwUNuAP2l+KQa1rQr/KelxUDkIRrodLVD4TsLOEzk9ZTJAE2ln6GQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668133724; a=rsa-sha256; cv=none; b=fveYYr8CBlctC8bxiOYxzMOEcevPnT5P7WELdtSavI9qhwx8uaRucZ5WCwb03fyTZ7DZP6 WfnMzxnLC8gOMJHhjS4LtEO6Y/IAytftEm831J+RbhVRre/jHTdZ/Uvqo48W7BeCYV4MCW 3YZjpY0Vk1mEdAojzIxOWOmMPyf4eDzfa0/eKei060TLePVYyoGUy9Ji1+YJsnqP2APYm8 f4dG5yVYadSJ2tz4Hs+YFn/iTAlY9enDsIKxJNl86FsaAEkx48P85dU6mcr+AIUfJvYZ+j qxT6boYJeHEwAXh9DS13eKo9p1LrYBKl42qXkOt0NECHciXsxDet12Wjfp4btw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="EfgDFH/O"; 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.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="EfgDFH/O"; 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: 64E0B2823B X-Spam-Score: -3.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5pz+qKfg/B0d --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: application/vnd.lotus-organizer; charset=utf-8 Content-Disposition: attachment; filename=bug2.org Content-Transfer-Encoding: base64 KiBMaW51eCBzeXN0ZW0gcHJvZ3JhbW1pbmcKCioqIFdoYXQgaXMgYSBwcm9kdWN0ICBTdGFuZGFy ZCAgPwogIDpwb3NpeDpzdXM6IDw8bHNiPj4gCgoqKiogVW5peCBjaGFyYWN0ZXJpc3RpY3MKCioq KiogUG9ydGFiaWxpdHkKCk9uZSAKCioqKiBTdGFuZGFyZCBNYWtlZmlsZSBUYXJnZXRzCgoqKiBI ZWFkZXJzCgpIb3cgdG8gZmluZCB0aGUgaW5jb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S4gVGhlIGRlYnVnZ2VyIHVzZXMgdGhpcwppbmZvcm1hdGlvbiB0byBy ZWFkIHRoZSBzZWN0aW9uIGZyb20gdGhlIGV4ZWN1dGFibGUKCiQgb2JqZHVtcCAtLWR3YXJmPWlu Zm8gZm9vX29iaiAgIC8vIGRpc3BsYXkgdGhlIERXQVJGIGRlYnVnX2luZm8gc2VjdGlvbgovL1Ro aXMgaXMgd2h5IERXQVJGIGVuY29kZXMgYSBmdWxsIG1hcHBpbmcgYmV0d2VlbiBsaW5lcyBpbiB0 aGUgQwpzb3VyY2UgY29kZSAvL2FuZCBtYWNoaW5lIGNvZGUgYWRkcmVzc2VzIGluIHRoZSBleGVj dXRhYmxlLiBUaGlzCmluZm9ybWF0aW9uIGlzIGNvbnRhaW5lZCBpbiAvL3RoZSAuZGVidWdfbGlu ZSBzZWN0aW9uIGFuZCBjYW4gYmUKZXh0cmFjdGVkIGluIGEgcmVhZGFibGUgZm9ybSBhcyBmb2xs b3dzOgoKJCBvYmpkdW1wIC0tZHdhcmY9ZGVjb2RlZGxpbmUgIGZvb19vYmogICAvLyBkaXNwbGF5 IAoKaHR0cDovL2VsaS50aGVncmVlbnBsYWNlLm5ldC8yMDExLzAyLzA3L2hvdy1kZWJ1Z2dlcnMt d29yay1wYXJ0LTMtZGVidWdnaW5nLWluZm9ybWF0aW9uLwo= --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--