From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sFeACUftH2OtagEAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 04:39:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4HRlCUftH2Py2QAAauVa8A (envelope-from ) for ; Tue, 13 Sep 2022 04:39:03 +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 BA9169DDD for ; Tue, 13 Sep 2022 04:39:02 +0200 (CEST) Received: from localhost ([::1]:53986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXvpF-0007BH-UI for larch@yhetil.org; Mon, 12 Sep 2022 22:39:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXvoj-0007B7-LK for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 22:38:29 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:55871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXvof-0001GC-F1 for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 22:38:29 -0400 Received: by mail-pj1-x102f.google.com with SMTP id fs14so9873286pjb.5 for ; Mon, 12 Sep 2022 19:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=jq8X/BETkwsnBwx2dDkifWOWY3GkARIqARU6abo1nis=; b=h0FEBM6BkQm0a9IdKtkYnC3Or2wGUZsFUrcdyHx846Tbd1Ft9aEoTc/swn5lVfFzom CNjeV2GCUJpuVI0HasAX46vZJUiRgbucWkpoDDgHueAlRohrM+rogXW5Oh0kx4p5VbB5 ThziWpDFFV+1oSX2VrgbmWluNSZX2bklYmGsrcinLjAf4v6EMdyVJiVFIhvaAQm5y8lO BNT+TIMxD7j556ln+DnRb+E8dBxwgkrktjP3ZOA/xKm4UrkTft300DogmRKwObfITjj1 5ANgnR6EohtRSZVRmuqWW3zSuV8YXtKkuONB82gjVfMZMgbfdUbTXlFBVDGM9q2yGE7h 4kig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=jq8X/BETkwsnBwx2dDkifWOWY3GkARIqARU6abo1nis=; b=Ttfc3HfBLYAF5x3A8Uje3GmXdfqLk70dn2ut4ezkUNGoPfxGjUopDJewEfL1dska7x lDhz8Tl2w+97yGYvtG0IoBwnlFrRiIp2BikDwPUHO5kfuPunxX8izCZEHUONZIBLgPqu 3D76TgQ4ZlZAOghgaHj7yVlRHp6J77ZWBQtgAxTynN0jHS2KOR+6XUoh/bEOz9R2DcKl 7FRppm0LXBHrzb0ri3kUwwYeEig+KMDEi3vNQiVxuQmlPd95S1zpT4rS3Rgd/EZaMPms 1VXHAGIST3mCOYriwYeT2x0XXOjDUA4et6HcjH1ZwuHnKOq9b5hYCkTcY8AHHYCX1Ud9 hLWQ== X-Gm-Message-State: ACgBeo0+wnBfCiL8KHs5BOVMmrQnEqp7QK/OPmwUYGdlzK19OBhkng/4 bIHNPjNbNEXMdTbjtpNWawZMgmsJWSDJPw== X-Google-Smtp-Source: AA6agR7HVWg8OfmKVUCmiUwzzhRWXr6rD5hSA5o6DOZcNdi8NirQuXmU3I7aSDXIIG3gPSjDsuSGtg== X-Received: by 2002:a17:903:11c7:b0:170:a74e:3803 with SMTP id q7-20020a17090311c700b00170a74e3803mr5307962plh.156.1663036704014; Mon, 12 Sep 2022 19:38:24 -0700 (PDT) Received: from localhost ([2409:8970:a81:48f7:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id n25-20020a056a00213900b00540ffb28da0sm6469280pfj.91.2022.09.12.19.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 19:38:23 -0700 (PDT) From: Ihor Radchenko To: Felix Wiemuth Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] org-paste-subtree inserts empty line above paste In-Reply-To: References: Date: Tue, 13 Sep 2022 10:39:16 +0800 Message-ID: <87mtb4t2uj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663036742; 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=jq8X/BETkwsnBwx2dDkifWOWY3GkARIqARU6abo1nis=; b=Nt74ZWES7Ieb41KxDZfSktnqyGKtNq7cwHhUvOOg/QQsq9JJqbDDbn78sKpn2c8EQw57V0 /L3OB6MONzu4AKMKAopMIvZuD0X9qJsJMwR3+ZkjVCyoeaDQ2b4rlBAsUtHlcziQ3gGMtl nlffoupPErWfED/u7uoBMUtqA9hgU3gXr1sEy/uetTa/cnz+hvHz79Y/4yGcXATmKwTI1u JCQsuyb+BaFs62dj6H3SfzybnKgW2c0FgADMvXymL4EiHr7ORActZfj4Lxp8oFUJ99h2HN pGvne5jSudTUbCbMVfu742JAeswEKmbWXzjunHOHkST+ZqqgA1p1MLrRFSV4ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663036742; a=rsa-sha256; cv=none; b=Ob/k6O3UsHBTEoSCON0sUH0Zu7lx2t2fhq6oSVJU9rL3Zv9O3t3k8ETCLps5WheiSCSKC9 b8Vd8uiQhF0jx7ReO6/EnBOEI15I6Czw2qZZrlgmmgchdVedrSR+b9sHro4FBjXiMKFTmp gTlIHm/A+0d3tOTBLlSzQaQxW8juYpbkskbfsc3Gj717nlLtY2Uczq/2aSQG8wjDv+KZer W+UlKPxy5C1jSSagOKqNaEx3J9by0fPeKRwr4aNPuCzEUqEoTw8zvvgJA89u8wj/OD/FS9 ODfNwv/VEc3aLIoMDyTU+w5OaZl2ccY1e0LEyWQR45eBxCW3QRUo3tJRh4Kslg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=h0FEBM6B; dmarc=pass (policy=none) header.from=gmail.com; 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.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=h0FEBM6B; dmarc=pass (policy=none) header.from=gmail.com; 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: BA9169DDD X-Spam-Score: -7.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: lh6BeSuX+DyU 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 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92