From mboxrd@z Thu Jan 1 00:00:00 1970 From: yurkobb@gmail.com Subject: Can't accomplish agenda sorting '(priority-down category-keep) Date: Thu, 16 Oct 2014 01:23:05 +0300 Message-ID: <86y4shvupi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeWyV-0003Nc-1F for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 18:23:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeWyM-0002lt-01 for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 18:23:18 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:34673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeWyL-0002l5-PX for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 18:23:09 -0400 Received: by mail-wi0-f174.google.com with SMTP id h11so11251465wiw.13 for ; Wed, 15 Oct 2014 15:23:08 -0700 (PDT) Received: from georgios.local.localhost ([94.231.77.153]) by mx.google.com with ESMTPSA id j8sm20789298wib.10.2014.10.15.15.23.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Oct 2014 15:23:07 -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 Dear org-mode community, I have a problem sorting my agenda in the following way: group by priority descending, and withing each priority (A, B or C), sort by category as configured in org-agenda-files. My org-agenda-sorting-strategy is set to '(priority-down category-keep). What I see in the agenda instead is that tasks within a single priority level are sorted not by category, but by some other criterion (looks like the time left to their deadline). In fact, tasks from the one category appear interleaved with other categories' tasks, within a single priority. This is all within the tasks that don't have a priority set explicitly, i.e. should be the default B priority. Interestingly, the order doesn't change at all if I swap the "category-keep" criterion with "category-up" or "category-down". Any hints on what may be wrong? Thanks, Yury