From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: yanking a headline in folded state Date: Tue, 02 Apr 2013 21:18:44 +0200 Message-ID: <87r4is68rv.fsf@pank.eu> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN6jX-00049L-Jz for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 15:19:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN6jR-00078c-6L for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 15:19:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:43204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN6jQ-00078R-Vd for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 15:18:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UN6jm-0000J1-Eo for emacs-orgmode@gnu.org; Tue, 02 Apr 2013 21:19:18 +0200 Received: from host213-120-148-111.in-addr.btopenworld.com ([213.120.148.111]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 21:19:18 +0200 Received: from rasmus by host213-120-148-111.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Apr 2013 21:19:18 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 42 147 writes: > Hello mailing list, > > A source of slight irritation is killing a whole headline with C-k > (usually to move it to another buffer), and seeing it unfold every > single sub-headline after I yank it to its new position. This causes > tremendous chaos sometimes, especially if there are a number of nested > sub-headlines, and the killed headline itself needs to be adjusted to a > deeper / shallower level (depending on where I inserted it). > > So in fewer words: how do I yank a headline in its folded state? In my Emacs I have the following. Would that work? "C-c C-x C-w runs the command org-cut-special, which is an interactive compiled Lisp function in `org.el'. It is bound to C-c C-x C-w, , . (org-cut-special) Cut region in table or cut current subtree. Calls `org-table-copy' or `org-cut-subtree', depending on context. See the individual commands for more information." -- The Kids call him Billy the Saint