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 uCPWL66YJGOdjwAAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 17:39:26 +0200 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 cNzOL66YJGMc9wAAauVa8A (envelope-from ) for ; Fri, 16 Sep 2022 17:39:26 +0200 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 58A1018852 for ; Fri, 16 Sep 2022 17:39:26 +0200 (CEST) Received: from localhost ([::1]:38642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZDR7-0002z8-3g for larch@yhetil.org; Fri, 16 Sep 2022 11:39:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZDOc-0001WO-VS for emacs-orgmode@gnu.org; Fri, 16 Sep 2022 11:36:58 -0400 Received: from mail-db8eur05olkn20828.outbound.protection.outlook.com ([2a01:111:f400:7e1a::828]:57184 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZDOb-0002h7-3F for emacs-orgmode@gnu.org; Fri, 16 Sep 2022 11:36:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZEXuze0XSddfY7kqqU9yFM2k28hdlJswTtM+5WMLub969a4ETc3TZblTiILURF4zzaaMcK82+nuE90OVwzdCnN5XtnQmotRAuoli/7oUVOemDxlctoKbETM6F7K0BYzpiunlgL55FV4K6ivS9r4V9B5wNyviITh24mFIE12vtNQfYhK4jEjhqfwHBzTvFhdYZMXvt3pt+ONOjTMl58xf8t6MZmWJ8fjVIeo2R5tK+8ShVxCbpsety2NJ0an8ypioOmfTSl/gdjCmQ5+XOtf/N484q71J9Fh5mdHpK3AH+OO/k27dNFxZ9Z7xwweL6TYx9QFX9NCgysHTOcU1adz0Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RNvFqvMTMNiHJChCfTL3KwB3eVQciM8zjjZj1JNHyz4=; b=TMr3D696nd2MrPf3crTQ2+Bszz/Srx8qq2mpLFfEGY26mTBQuqCFcOJrUxl5I30j/lDNpJOXSjlZekPwWd1ETUC5whWa0hitixWW3GqLggZOoCv8BPFBH+yWDrpUzDY4+7Z5b2fW6nhPSuwWrwpFUNXCYq7FsoT24eY0klFvs1/D7VkE7wrsj+BOj+k/6sqJddTLs6zL4cML34o61/1NuXvjfq6Ax6dTe29ztZZLiRPXg/nM1at7jfQRdQga2eYe6ZHPuaL8yw2CogL5VjDTdoAqlxFPMiEU6kwnmEvPq3X12IRzZZL9886eCW2MXIIVtognlJERhQMmOnT1ToS5hA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0P251MB0505.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:349::16) by AS1P251MB0582.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:48f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.16; Fri, 16 Sep 2022 15:31:44 +0000 Received: from DU0P251MB0505.EURP251.PROD.OUTLOOK.COM ([fe80::dffc:7bd8:344e:ad49]) by DU0P251MB0505.EURP251.PROD.OUTLOOK.COM ([fe80::dffc:7bd8:344e:ad49%7]) with mapi id 15.20.5612.022; Fri, 16 Sep 2022 15:31:44 +0000 Message-ID: Date: Fri, 16 Sep 2022 17:31:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [BUG] org-paste-subtree inserts empty line above paste Content-Language: en-US To: Ihor Radchenko Cc: "emacs-orgmode@gnu.org" References: <87mtb4t2uj.fsf@localhost> From: Felix Wiemuth In-Reply-To: <87mtb4t2uj.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [ei5ac/SU4U+GOFUEfsn2S8Thx332HNhp] X-ClientProxiedBy: BEXP281CA0017.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::27) To DU0P251MB0505.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:349::16) X-Microsoft-Original-Message-ID: <5925cd26-8870-5753-346c-a8a5f7450c56@hotmail.de> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0P251MB0505:EE_|AS1P251MB0582:EE_ X-MS-Office365-Filtering-Correlation-Id: 22e5c333-7aa1-41e7-0ae4-08da97f88f5f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Uo+77STCGhO8G1rSlqzWZjaaMJoouFVAkEIJClgYrN6BBGJlEJN65PMqCi3Z0Jus6bt676Fh7K8c3nZXkPfB9/3vM22SU44DJxb5o/KawN7z7ORTChRXH9C3ML8PzUftvScb331YkqjV2OblOxsw1SE23UjeK0qpP9hRag+yphrfSNu53k+HiYVk4xtdZNHUCsEz28mvD8g5vWtv6lFXoa8TbQz0YOl+mNXCRe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YmJTUU9VdW1hNmJkS0hyOTA1RnN3VjdIanlGMklVUHp4Sm05?= =?utf-8?B?VkZlN0FIVTNlY2puajJaMkdKVzFkVFJKd01ORmhuNStobURiTnUyNFlOTHVK?= =?utf-8?B?MzRaSkZaTWtFcGNkbmVnVGdwU2ViVVpBdjgrMzRBQndKTXNIV1NJN1E1dzI3?= =?utf-8?B?S0pkczhSQThQc0tOVVNTRFJBVlU1bzJUNnV3RU8ycElIQkdzNXc3QUFiTW5X?= =?utf-8?B?dnFNTkdHblJjUGd2WGlDYzFnblNwMkJrVkNpTVBtZlZEZndPWi9GNlFWcWo3?= =?utf-8?B?Qk1FSHlLR080YmE2bHpPT3dtZWJzZDQyLzkvR0t3SlJQSTZUenlpYnhoalBF?= =?utf-8?B?eDQvVkhHZnVLTGNOTmNBczlKb3JPVWdsdVFiMkRNV3VRS1VhMC9NWmlnPT0=?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-00b75.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 22e5c333-7aa1-41e7-0ae4-08da97f88f5f X-MS-Exchange-CrossTenant-AuthSource: DU0P251MB0505.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2022 15:31:44.3618 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P251MB0582 Received-SPF: pass client-ip=2a01:111:f400:7e1a::828; envelope-from=felixwiemuth@hotmail.de; helo=EUR05-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.816, SPF_HELO_PASS=-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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663342766; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RNvFqvMTMNiHJChCfTL3KwB3eVQciM8zjjZj1JNHyz4=; b=RKJ63W9+/Ca8besrCgLbeOgFTAdbu6OeDnCmpKANuTb+BQG4YzygpfPVr30IbA/grMGD1A LAm5QhVCy6w+cQBVi7/ORbt+9bos1zeJWhw4gr0BjATB2j2SwXJSjEB3hP7K3+Crs1FWlJ S9COYPMKUPel0fBJdbubM8J4YjBoCOJt8XUPmZ09NnyR3gDpJ91TvHx1qUJQrjSb6wLLai oeWh0cDc8N3SwHYm2vnWJHphLDK4zZXY9SOfFJzmT+bbf/LoiGgafCObKdf096oa/2Q2i/ VNKS1HJYYcu19znvTdpZIAOaDL9wA/cSmDXt+yqXlgBrAjBMZ63h+qfL7iEogw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1663342766; a=rsa-sha256; cv=pass; b=fa0r5lbySx7MMsk8TUJzutj4LeolbbIAeN4hqFSFftGE8k+rc1H7m3LiW79jNmVWiM7vA6 EOTxk1jMJaCR5H3lu9Cr1NEDvkI6WA1s5EPzDNNFb+5gvdvHRsOpUCGlcwnDPCCG/h6p6t TX6cYwJ/3nCRN3aWmAsjHTQG3oewF6jOFJArf7EHT37Wlg6hAsY+FJsDVVDfwJUvOHS0Ma eOLcenvL5ewX+6CSRWFsYOaOD7cdKqgR9da/AFz6YD3hnF/eyMdrnvep/OdLIBuWhACpAy AB8QCpE0A2Cqt/rjLCRaof6SjvMFPS2WbxcRyfD8PK8nyAA8dMi/GCflRn3Txg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=none; 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: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=none; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=none; 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: 58A1018852 X-Spam-Score: -2.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: q7wnoroJmjkp On 13.09.22 04:39, Ihor Radchenko wrote: > Felix Wiemuth writes: > >> Emacs 28.1 >> Orgmode 9.5.2 (but discovered already 2020-01-20) >> >> When pasting a subtree (of whichever level) with org-paste-subtree at >> any position (can be an empty line or a line with a header prefix, e.g. >> "*** "), always an empty line is inserted above the inserted subtree. >> >> I would expect no new line to be inserted, and I think this was the >> behaviour before I noticed this. > I am unable to reproduce. > Could you please detail what exactly you tried step by step? > See https://orgmode.org/manual/Feedback.html I'm sorry, assumed it was a general issue. I actually tried it with a fresh emacs and there it does not happen. I tried it with a fresh spacemacs (development branch at commit 201d22b) and there the issue exists. Any idea what the reason could be? Could it be any configuration that leads to this? Or is it probably a bug in spacemacs and I should post the issue there? Thanks!