From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [bug] killing and yanking _sometimes_ doesn`t indent correctly Date: Wed, 10 Aug 2011 18:43:57 +0200 Message-ID: <87bovxp67m.wl%dmaus@ictsoc.de> References: <20110809161926.1a4bee2d@vknecht-intel.unibw-hamburg.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Aug_10_18:43:54_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrC4V-0003C8-Hh for emacs-orgmode@gnu.org; Wed, 10 Aug 2011 12:56:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrC4T-0005DM-TL for emacs-orgmode@gnu.org; Wed, 10 Aug 2011 12:55:59 -0400 Received: from app1b.xlhost.de ([213.202.242.162]:60334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrC4R-0005Cq-Fc for emacs-orgmode@gnu.org; Wed, 10 Aug 2011 12:55:57 -0400 In-Reply-To: <20110809161926.1a4bee2d@vknecht-intel.unibw-hamburg.de> 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: Detlef Steuer Cc: emacs-orgmode@gnu.org --pgp-sign-Multipart_Wed_Aug_10_18:43:54_2011-1 Content-Type: text/plain; charset=US-ASCII Hi Detlef, At Tue, 9 Aug 2011 16:19:26 +0200, Detlef Steuer wrote: > > Hi! > > Using the following files I can reproduced a bug I encountered. > > [...] Thanks for reporting. I pushed a fix for both problems, the wrong level and eating the existing headline. However: > Should be > > --- > ** Subheading 1 > *** TODO first > > ** Subheading 2 > --- No, it should be: ** Subheading 1 ** TODO first ** Subheading 2 C-h f org-paste-subtree RET ,---- | org-paste-subtree is an interactive Lisp function in `org.el'. | | (org-paste-subtree &optional LEVEL TREE FOR-YANK) | | Paste the clipboard as a subtree, with modification of headline level. | The entire subtree is promoted or demoted in order to match a new headline | level. | | If the cursor is at the beginning of a headline, the same level as | that headline is used to paste the tree | | If not, the new level is derived from the *visible* headings | before and after the insertion point, and taken to be the inferior headline | level of the two. So if the previous visible heading is level 3 and the | next is level 4 (or vice versa), level 4 will be used for insertion. | This makes sure that the subtree remains an independent subtree and does | not swallow low level entries. `---- To get level 3 you can call paste with numeric prefix of 3 or indicate the desired level with three stars. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Wed_Aug_10_18:43:54_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk5CtUoACgkQma24O1pEeOYw/QD9EB97a0L2j/NMjKz3XgMsHj/J ygXocw+x1K/UNAb/HJAA/3fqSAa9eHBPukBZOZW8ZK2YwSlhTd0F7dYAvNkLdiOF =gvqu -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Aug_10_18:43:54_2011-1--