From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4JhqHFK1r2AWNAAAgWs5BA (envelope-from ) for ; Thu, 27 May 2021 17:05:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CD4aGFK1r2DsKgAA1q6Kng (envelope-from ) for ; Thu, 27 May 2021 15:05:54 +0000 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 CE577298A2 for ; Thu, 27 May 2021 17:05:53 +0200 (CEST) Received: from localhost ([::1]:44058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmHa4-0006NU-JF for larch@yhetil.org; Thu, 27 May 2021 11:05:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmHKC-0002Fa-PJ for emacs-orgmode@gnu.org; Thu, 27 May 2021 10:49:28 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:33716) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmHK9-0002Mh-F7 for emacs-orgmode@gnu.org; Thu, 27 May 2021 10:49:28 -0400 Received: by mail-pl1-x632.google.com with SMTP id b7so118110plg.0 for ; Thu, 27 May 2021 07:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=tY0PERPTVy4Z49Ckq1a6bnAxaK4X+dZAtUi/telcgdI=; b=VNkkaR5OUqElCv+zhmb2RcY77CDkQWIBorHUnUZRX0EWnwWMKEy0o3CKpRi6bYG6tk Q+1kZQdr0B9wmEDqdBMGNkibvfKyoTj57u4qDPQjVjm38w/zseU2PGG4xbIAztk10FdS 2RxKfbERa8VacRRMLnQKUTlOj4+Iu3U1SiXapWZDgr/fQsL9uZmV3Z3VlIEle1Xd3BNF fYX6RUmMH07Hh9sfgbJYb+lvM3hhWbq999cbiGjF64gLtMuLuqSgh0OCSWw1FA2Fw/b9 FqjDcsRm6R+l1GcfOtQoI5JZx15Kpyhyqjwnobkc3LFXM9T59YQy8g52nqBsqjtJntjc o1Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=tY0PERPTVy4Z49Ckq1a6bnAxaK4X+dZAtUi/telcgdI=; b=Avq2XIgzMUCJFMIKpa9l/GdbvOrM1FpAIiqdO4XLkUIiXnGsBwkWwYmc5s+C2PzpDM uvwzdgkNw0T6AUekRfydYHT3Mpk+MzLmwCSbkJCHIKaEdbnj0zTdCuPjD8qpMRXZyE8b kIQilNpJb2IYPFCKOZokBlpNEfIK00oaUcQk6aojYloKRmyGmU99Wsy7/lOxbZkv/lSw pBRBfjP2PVKmP40ovViymfxMcCTGZno4LXWZuxeAB2zKgLptbGpYAypS5ywgCcPVpO8J 6OQNQjAvd9go+Z7iLgiHW4V5wb5+JUSP8/a/mM5IfgqfmPZUN0q61k95cY2G1fWIVYWC 6veQ== X-Gm-Message-State: AOAM533hv2RJr8B0EDybqMN0jH2Nltndk59RdBmeDFeYOizCcujPNm7X mEBoZlXnEZAbbjCdCcxNZiDBkGYtaVk= X-Google-Smtp-Source: ABdhPJw7e5VNGd4W4qCL0M2HOLYhDORA7AkGq4oD7Frb7n/nxHtvd1Dv2tbwljbWbw8VdcF7pOFjEg== X-Received: by 2002:a17:902:db09:b029:f4:8d37:8d12 with SMTP id m9-20020a170902db09b02900f48d378d12mr3731361plx.52.1622126961977; Thu, 27 May 2021 07:49:21 -0700 (PDT) Received: from tim-desktop (106-69-71-73.dyn.iinet.net.au. [106.69.71.73]) by smtp.gmail.com with ESMTPSA id m191sm2079820pga.88.2021.05.27.07.49.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 07:49:21 -0700 (PDT) References: <5ed927c8-7473-4dd5-b69f-0098dbb9ad4f@www.fastmail.com> <8735u8ola5.fsf@gmail.com> <7f677e08-ffb0-42d9-b7f2-e29f22e00a9a@www.fastmail.com> <87zgwgn3km.fsf@gmail.com> <036bf2df-8a2a-4418-8a66-59911e1b228d@www.fastmail.com> User-agent: mu4e 1.5.13; emacs 27.2.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove") Date: Fri, 28 May 2021 00:40:24 +1000 In-reply-to: <036bf2df-8a2a-4418-8a66-59911e1b228d@www.fastmail.com> X-Woof-bug: confirmed Message-ID: <87o8cwmdua.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=theophilusx@gmail.com; helo=mail-pl1-x632.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622127954; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tY0PERPTVy4Z49Ckq1a6bnAxaK4X+dZAtUi/telcgdI=; b=fwwZmBfY6nmsNrzWPgNOXZZeg3VPN6/+vRd6VfLzk+RR8rAhB3/fORwu5gFqQFz/qn16DT yZoke2lu8jAp7PfJXN77GThfY2qF1xk2fUWMb3CBNkQ7jRxsy5DFngEbjiIA2L77kNfpmx JQKD5OxWtoHVBLcvce4hY726sdge1X51cMDdkNKhOAJbfFlhUuLVcs5xpmm/VJV31QnhEg 86jRc9aAVNzn1p1gGOq1fwU191V+y7a76gkFrG1mT+KPjZXDHuNWsuTy1rksT+2aou1wL2 6k0E8jv236jIDh1lNh+ZjUnTNTP7PHa/JR9xSOLKJmy9ZDR2P5RQUzR2GakLNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622127954; a=rsa-sha256; cv=none; b=OLmTGV/yj8xRg9pIlqOvdVh0BwSLzlGqf5UjrXOjyYhIh9hUdG79XzXl1LO3biXASxmPtv vwaahn6hkv07g6PIK/3Y7CDSzqV1oadZ1vNLxZ+dbiFtfG1HlWTakul+w64QknjZOZ/5NR gU0zOhfzrk7LVo0bhipm6n5352t+MsgRyvRrsB4fngayQJW6GSQNc5SHtU+C4JJp3zjfJT d9h9cJtSmqeZqC4uxFlGgk9pv9nVd2KEtvQCl8o+Jd+lRsKbEYV13rmqZcumpdJQWv00v9 eNBkad4Y0/oTwhgX10o9amKe7Wl0XIX5ruu37oUV/xs8Nn/+Yk+tdFh9LMPgEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VNkkaR5O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=VNkkaR5O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CE577298A2 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: jflnT2Fu7uUj Confirmed. Yes, I would agree that not being able to clear the priority by entering space when using numeric priorities is a bug. The minibuffer prompt even states you can enter a space character to clear the priority. To reproduce - set the org variables (setq org-priority-highest 1 org-priority-lowest 10 org-priority-default 5) Use C-c , to set a priority on a TODO item. Use C-c , and enter a space Observe the priority cookie is not removed. This only occurs with numeric priority values. The default letter based priority values and space to clear functionality work as expected. Org version: 9.4.6 Emacs version 27.2 "Samuel Banya" writes: > Gotcha, yeah I only use priority 1 through 5 with a kind of "Getting Things Done" mentality to file things away in their right place. > > I don't like using letters unfortunately, but thanks for this potential workaround in that case. > > Clearing priorities with a space and enter doesn't work though, and I believe this is a bug. > > On Thu, May 27, 2021, at 1:26 AM, Tim Cross wrote: > > Not sure how easy it would be to restore the previous behaviour. I guess > if you restricted numerical priorities to 0 .. 9 it would be reasonably > easy as you only need to check for a single key press. However, once you > go above 9 and have the situation where the value could be more than a > single key press, you have no way to know when input is finished. > > It should be noted that the old behaviour using letters for priorities > still works (as does clearing wiht a space). Personally, I've always > been happy with just letters and 3 priorities. I find once you go past > about 3 or 4, priorities don't have a lot of value. YMMV of course. > > "Samuel Banya" writes: > > > Thanks for confirming this as I didn't know if it was my config or something. > > > > I'd like to add if possible, if there would the ability to restore the previously functionality of being able to just hit a number from 1 to 9 to set the > priority > > of a task as well. > > > > Didn't want to conflate things too much, but it would be great if there was a config option around this before I would have to make a workaround > in Elisp > > instead. > > > > On Thu, May 27, 2021, at 4:05 AM, Tim Cross wrote: > > > > Confirmed > > > > I can reproduce this in org 9.4.6, Emacs 27.2. Bug confirmed. > > > > "Samuel Banya" writes: > > > > > Hello there, > > > > > > I noticed a weird bug within Emacs Org Mode as I use it often for my TODO lists for both personal use and for work. > > > > > > I noticed that if you hit "C-c ," you are prompted nowadays to enter a number from like 1 to whatever your highest priority was set to, and that > > you have > > > to enter in the number and THEN press enter. > > > > > > This behavior on a side note is a little annoying since I usually only use priorities 1 through 5, and don't want to have to hit enter each time. I > kind > > of wish > > > I could just go back to just hitting '1' or '5' and moving on. But, I understand this was to make the ceiling of the highest priority be like 65 or > > something > > > like that, so I understand why this was included. > > > > > > My main point is that the "SPC to remove" option doesn't actually work. > > > > > > If you try doing "C-c ," then hit Space, and then press Enter, the priority of the task still remains the same. > > > > > > Workaround: > > > I've had to manually delete the priority number as a workaround which is a bit annoying. > > > I've used F3 as a on-the-fly macro to quickly do this across multiple todo list items as well. > > > However, it does feel a little awkward having to do this, so I'm wondering if anyone has encountered this as well. > > > > > > Thanks, > > > > > > Sam > > > > -- > > Tim Cross > > -- > Tim Cross -- Tim Cross