From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Paste subtree without expanding it / keep it collapsed after pasting Date: Mon, 14 Jan 2019 18:30:41 -0500 Message-ID: <87r2deu89q.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjBgw-000239-LM for emacs-orgmode@gnu.org; Mon, 14 Jan 2019 18:30:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjBgv-0001ZR-Sw for emacs-orgmode@gnu.org; Mon, 14 Jan 2019 18:30:50 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:64936) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gjBgv-0001Y8-EB for emacs-orgmode@gnu.org; Mon, 14 Jan 2019 18:30:49 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Marcelo de Moraes Serpa , Org Mode Marcelo de Moraes Serpa writes: [...] > I can copy or cut a collapsed subtree and it will copy everything below it > until it ends (and the next item at the same level starts), which is > intuitive and works great. However, when pasting it, it automatically > expands the tree and it makes it really hard to see the context so I can > fix the leveling, for example. > > Is there a way to paste the subtree [and keep it] collapsed? I=E2=80=99m not able to trigger that behavior using the default configurati= on. Here=E2=80=99s what I tried on both master and maint using the file below. With point on the aa1 heading (collapsed), I pressed =E2=80=98C-c @=E2=80= =99 followed by =E2=80=98C-w=E2=80=99. I then moved point under the b heading and hit =E2= =80=98C-y=E2=80=99. aa1 stayed collapsed after it was yanked. Does that sequence accurately reflect the scenario you=E2=80=99re describin= g? --8<---------------cut here---------------start------------->8--- * a ** aa1 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non orci commodo lobortis. Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus. Sed diam. *** aaa1 Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. Curabitur lacinia pulvinar nibh. Nam a sapien. ** aaa2 ** aa3 * b --8<---------------cut here---------------end--------------->8---