From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: BUG sorting function Date: Tue, 11 Jan 2011 13:23:29 -0500 Message-ID: <87pqs38fku.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=52158 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcisW-0008UM-FW for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:23:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcisV-00080z-GR for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:23:32 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:50279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcisV-00080d-AE for emacs-orgmode@gnu.org; Tue, 11 Jan 2011 13:23:31 -0500 In-Reply-To: (Fritjof's message of "Sun, 09 Jan 2011 21:46:46 +0100") 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: Fritjof Cc: emacs-orgmode@gnu.org Fritjof writes: > I think i found a bug. The sorting function dosn't seem to tell the > difference between '*bold*' and '* heading' at the beginning of a > line, and when a heading have *bold* tekst at the beginning of a > line, trying to sort will give this error: "Region to sort contains a > level above the the first entry" > > Reproduce with: > > * heading > ** subheading > *not a heading* > some texkt > I can confirm this bug (using emacs from bzr and a fresh org pull). A subtree will not sort if it contains any line beginning with a single asterisk. Best, Matt