From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Mikhanosha Subject: BUG: blank lines when cutting and pasting Date: Wed, 09 Jan 2008 11:07:00 -0500 Message-ID: <878x2zaspn.wl%max@openchat.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCdSL-0005HC-LU for emacs-orgmode@gnu.org; Wed, 09 Jan 2008 11:07:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCdSJ-0005Eq-9x for emacs-orgmode@gnu.org; Wed, 09 Jan 2008 11:07:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCdSI-0005Eg-US for emacs-orgmode@gnu.org; Wed, 09 Jan 2008 11:07:02 -0500 Received: from p84-72.acedsl.com ([66.114.84.72] helo=momoland.openchat.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCdSI-0002oi-EF for emacs-orgmode@gnu.org; Wed, 09 Jan 2008 11:07:02 -0500 Received: from momoland.openchat.com (localhost [127.0.0.1]) by momoland.openchat.com (Postfix) with ESMTP id 7FEE4F40B79D for ; Wed, 9 Jan 2008 11:07:00 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Given the following top level heading * test ** one *** one.one some text ** two *** two.two some text ** three *** three.three some text If one goes to the beginning of heading ** two and use C-M-w to cut the heading, the cut buffer starts with "\n\n** two", ie contains two extra blank lines before the actual start of the heading. It does not matter if children are expanded or not. If you paste that heading with C-M-y the extra blank line is inserted before the heading. IMHO if user cuts a heading, cut buffer should contain the text starting with asterisk, without any extra new lines. Regards, Max