From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AIDeD5GFcWPJeQEAbAwnHQ (envelope-from ) for ; Mon, 14 Nov 2022 01:02:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MMQBD5GFcWMOJAAAG6o9tA (envelope-from ) for ; Mon, 14 Nov 2022 01:02:25 +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 D265F10C95 for ; Mon, 14 Nov 2022 01:02:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouMuM-0001D6-9I; Sun, 13 Nov 2022 19:01:02 -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 1ouMuK-0001Cb-FF for emacs-orgmode@gnu.org; Sun, 13 Nov 2022 19:01:00 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouMuI-0006R3-AI for emacs-orgmode@gnu.org; Sun, 13 Nov 2022 19:01:00 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 21494240026 for ; Mon, 14 Nov 2022 01:00:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668384054; bh=GbJs4NUFhnpUmAenEW8EwfcJQPd4AntCZrbwsyJw4AE=; h=Date:From:To:Subject:From; b=lu21SEpoMHOXhRo3VRQX3TVXJXM5d2w9Eg8pAePVoXNsWDCPOCPS/RftWqUqWocOH io+7P9phDsmJKyBxTZKaSby4YdjaJF5vDEU1Kwb2Uv/6I5vvaalcBubbPYKITcNNNr 0eWroP6njJZMqezfbiwEbk2pDi7qLLcWhHVfFRsllq+qAgy2E3k1IM02sS+jri8rUV 1/RqQujJmsXdAj8Aqid29CV7mHXUyXs367M2HUNXFq+5g1sOx/RhMjpoaCSinBEUpN 5XA+/6gp14UUbnGwFaXVbUm/yAyI7lmqUS8gGsIUQmTpZPjSq0Tw3/zLBMX8zZVbgN zieOPcapgdZPg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N9Twh1DSjz9rxK; Mon, 14 Nov 2022 01:00:52 +0100 (CET) Date: Mon, 14 Nov 2022 00:00:08 +0000 From: Alexandros Prekates To: Ihor Radchenko , 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: <20221114020008.03f40695@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.65; envelope-from=aprekates@posteo.net; helo=mout01.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, 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=1668384145; 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=g4RWksUNv4KAL33rt/P4AAQClc+ZlxjFTa2IbKOqEoQ=; b=qGMFatjylCYRx7OTY95yadnDJYqx+u9k/xqtdgDXVOJyZEcp5tLjV5yNHaFbLyuSYNSLel wSKrLmCF3JpBiiRXGAjI2aDq+QGFXYN5WLTF0SF3AomybBJpC7/jPBRAFWL53JFxxPioB3 A1grIl7x1YSGaXMYvonDjp1rIAPGeEiXcbe3/BaG0QoHJc41ZQ31tYpgFzm3XiUEs1DMuX kxq5I7FaNipZZhAX9Mle/TCI2kDXrUqfioSZ0Z0vJ7Nbgxi8oH+KaJbWzBAyxmURRdQ8sd g4OfTc4NnUTXeMO7A9zybu/vvuGkFRtICSRBxYpKLfqKYsg0xbC4+1x7vcc99w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668384145; a=rsa-sha256; cv=none; b=BKu1XZiIXVNAnlqm3j/LjZHlNOYK3nS++/ihBcXbGKUmxZi/JAp0aGLeNDuifINFk2pO4K ZeVtIjRUSZyBqdTydPGhCcIi1Lz23n+13d2A3vAtcJI/0nQsFOcQo31RJ1RiuZQVbGPthS y0y3C4Rzqn/HATRFgnYLWdNOI+i+KoLia+kQ3OC7auC4IVwaustELD/G004MYaUI4XUTtB DMRBSeiMs2LReIT7mNKpPARsUgFieve4gWNRRp91KMP/bJ6xEDSsxklTFHumGuUY1ra8c3 hb+B/lJcW6yjY1rQwzcn0VO7w4J7Hx66RH83B1w5Oh4l3pXLIyvuYhWYDe73wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lu21SEpo; 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: -7.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lu21SEpo; 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: D265F10C95 X-Spam-Score: -7.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: rVE7IYMI/loE On Fri, 11 Nov 2022 02:28:27 +0000 Ihor Radchenko wrote: Indeed testing the latest version my previous example didnt create ghost newlines . But with a small diffefence that example that i post below creates a ghost newline. > 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. > Creaete 1st level headlines ------- * a$ * b$ * c$ * d$ @ Move point after headline c ------ * 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 all the way down ----- * a$ * b$ * d$ * @c...$ <---- a yellow rectancle appears! move c heading up ----- * a$ * b$ * @c...$ <--- ghost newline * d$ move c heading again up ----- * a$ * @c...$ * b$ * d$