From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simen =?iso-8859-1?q?Heggest=F8yl?= Subject: Order of TODO entries by `org-sort-entries' [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Date: Sun, 21 Jun 2015 12:05:59 +0200 Message-ID: <1434881159.10588.0@smtp.gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-Eo3/GJomiuQU2WITf5kF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6c8b-0001Px-Nf for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 06:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6c8Y-000788-DI for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 06:06:05 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:33764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6c8Y-000784-5T for emacs-orgmode@gnu.org; Sun, 21 Jun 2015 06:06:02 -0400 Received: by wgez8 with SMTP id z8so119541994wge.0 for ; Sun, 21 Jun 2015 03:06:01 -0700 (PDT) Received: from [192.168.1.114] (cm-84.215.41.199.getinternet.no. [84.215.41.199]) by mx.google.com with ESMTPSA id gz3sm16783817wib.0.2015.06.21.03.06.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jun 2015 03:06:00 -0700 (PDT) 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 --=-Eo3/GJomiuQU2WITf5kF Content-Type: text/plain; charset=utf-8; format=flowed Hi! Consider the following outline tree: * Tasks ** TODO [#B] B ** DONE C ** TODO [#A] A When calling `org-sort-entries' on the top level headline, and selecting `o' to sort by TODO order, the order becomes the following: B, A, C. However, I would expect the order A, B, C, since A has higher priority than B. A, B, C is also the order chosen by the agenda. So I'm wondering, is this a bug, intended behavior, or just a missing feature of `org-sort-entries'? -- Simen Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/) --=-Eo3/GJomiuQU2WITf5kF Content-Type: text/html; charset=utf-8
Hi!

Consider the following outline tree:

* Tasks
** TODO [#B] B
** DONE C
** TODO [#A] A

When calling `org-sort-entries' on the top level headline, and
selecting `o' to sort by TODO order, the order becomes the following:
B, A, C. However, I would expect the order A, B, C, since A has higher
priority than B. A, B, C is also the order chosen by the agenda.

So I'm wondering, is this a bug, intended behavior, or just a missing
feature of `org-sort-entries'?

-- Simen


Emacs  : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)
--=-Eo3/GJomiuQU2WITf5kF--