From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PHSLCmKD2P6WgAAbAwnHQ (envelope-from ) for ; Wed, 31 Aug 2022 18:19:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MBHTLCmKD2N/qQAAauVa8A (envelope-from ) for ; Wed, 31 Aug 2022 18:19:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4991B396B4 for ; Wed, 31 Aug 2022 18:19:53 +0200 (CEST) Received: from localhost ([::1]:37750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTQRN-0005gb-Nf for larch@yhetil.org; Wed, 31 Aug 2022 12:19:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTQNF-0005dX-Q4 for emacs-orgmode@gnu.org; Wed, 31 Aug 2022 12:15:29 -0400 Received: from relay.itccanarias.org ([62.174.94.111]:49614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTQNA-0007bt-8H for emacs-orgmode@gnu.org; Wed, 31 Aug 2022 12:15:27 -0400 Received: from localhost (localhost [127.0.0.1]) by relay.itccanarias.org (Postfix) with ESMTP id 728414A0DD for ; Wed, 31 Aug 2022 17:13:51 +0100 (WEST) X-Virus-Scanned: Debian amavisd-new at itccanarias.org Received: from relay.itccanarias.org ([127.0.0.1]) by localhost (gwmail-tf.corp.itccanarias.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HKvGss8hyFbw for ; Wed, 31 Aug 2022 17:13:50 +0100 (WEST) Received: from Erasure.corp.itccanarias.org (erasure.corp.itccanarias.org [10.141.187.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by relay.itccanarias.org (Postfix) with ESMTPS id 7AB1F4A0AB for ; Wed, 31 Aug 2022 17:13:50 +0100 (WEST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.itccanarias.org 7AB1F4A0AB Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline DKIM-Signature: v=1; a=rsa-sha256; d=itccanarias.org; s=default; c=relaxed/relaxed; t=1661962429; h=from:subject:to:date:message-id; bh=dF518UN3TGGL91xaebyZiDDGyqxLsjS++v37uGVvi6U=; b=KhEygOAzvIh7WgCo7KIhTRPI4a6W5agAVYcMd0d8pKDawus0eunwj/L2Cb3p/yWCw3RFR0M5FSI 7bT4Pu5Z2Sea2/VSpOPJpWdInhA0lMPp8PPFTpVWQGsIISyjYOJYUsTWZUQYiO5DaZT0PcY5s4Fqg eUSJQ99S1YId4ZB/R9AB77xu90kvfbVoDD0fuEDv6JvQa2rk7BfBM49cI8K954cBi5glj3YzT1fd1 GDQ2aL2mJvKhkcz3a2gWkcwxPkdt6y5qWHH+aJeKj4bKn6lwTZwzB6lwVFk0C56jGOirLFmoYlZXc z3USMYAN9yw6+uObeFfks7rYLOwgoLRGwu+A== Received: from itccanarias.org (10.141.153.181) by Erasure.corp.itccanarias.org (10.141.187.131) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 31 Aug 2022 17:13:49 +0100 Date: Wed, 31 Aug 2022 17:13:48 +0100 From: Eduardo Suarez To: Subject: Manual Ordering and Dynamic Priority Message-ID: <20220831161348.GA2413557@itccanarias.org> MIME-Version: 1.0 Received-SPF: pass client-ip=62.174.94.111; envelope-from=eduardo@itccanarias.org; helo=relay.itccanarias.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661962793; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dF518UN3TGGL91xaebyZiDDGyqxLsjS++v37uGVvi6U=; b=r4ETqI+0AUJ2m9Yvzja1lRzUeADMdUQ2TlcbwwBmc6Az5Nt0oJOR/fym4f1yGk7xgdeVrR gSZuhG15UnKF6bN1d/ZtxHktvHU9ZarTqZjTdHkB3n7N1E6Iu1bvBqWTw/Gvb83RaIPGU9 JHZjRmQuyGR3F7+zBRolkT3yU8sRphdgiG9YYabn0kHN5WUS051RGdUM66K8jvRdMMcUg2 ZwrnoibF4l6REqP7/Pulf0+ZCi/EYqbHj5iDEPyT3HYZrrvrHCrwjrQ1g1PpOJQhsDRx6x CSog4GU2Xen9TI8R+igAe0bj3evj26l45DrfwYLR77Wk+FI0MkaEhF7mOge8ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661962793; a=rsa-sha256; cv=none; b=nUJ7hEKCgruKcl7eJYlwYdnWA8SC1rRjrOgvXBPE0c7DhlHzr8KrDTZt1fChX8cHHQzY0d BpLC+na4+UlrjUdFDBk0D5CXjGPh6T22ySpM1GA8OdYeJGr7eDXNQjUSasMXdtrkXq0E3k CereIWMnUny7UISB2vnljmCxeHatocnQ3AoHt9c1YzWqogRYNvfiJwBh3jGPWVhv0Q3aum 4oBpq4dkJPbpXz2M8hqDLVzmVtMmS6VrvvmpdRUsfTXAAv8t1Jg/uvy5Gs9lINSOXAvl9g 14jrX5DMaJM+ZSlXlPO/A0X/fN36WtJMwriXrEtU+eWqHSNYC3f+/eMfdh4zpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=itccanarias.org header.s=default header.b=KhEygOAz; dmarc=pass (policy=quarantine) header.from=itccanarias.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=itccanarias.org header.s=default header.b=KhEygOAz; dmarc=pass (policy=quarantine) header.from=itccanarias.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4991B396B4 X-Spam-Score: -2.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: sjhKNZPwsvVp I have lots of tasks (todos) and I would like to create a long backlog based on my perceived priority. I was thinking to deal with them in the following way: - divide them in groups (categories or similar), - manually sort priority for every group, - mergesort groups, that is, start merging groups in pairs, and manually sort for every step the union group until I have a large sorted backlog. For this to be practical, I would need an easy way to sort manually a group of tasks and get them assigned automatically a priority (or any other hack) so that priority ordering matches manual ordering. Any idea about how to get this done? If I had to implement it (I don't know lisp), I would assign a property (say BACKLOG_PRIORITY) for every new task, with value the higher value of any other tasks in agenda plus ten (for instance). Then I would query a subset of tasks and sort them manually, swapping their values every time I swap their order. I would also allow to assign a value directly based on free slots, not to bubble the whole list for a low priority task. Does it sound over-engineered? Any idea?