From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mLrSETRhP1+fIwAA0tVLHw (envelope-from ) for ; Fri, 21 Aug 2020 05:52:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IKGzDTRhP18fFAAA1q6Kng (envelope-from ) for ; Fri, 21 Aug 2020 05:52:52 +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 A95969403CA for ; Fri, 21 Aug 2020 05:52:51 +0000 (UTC) Received: from localhost ([::1]:46202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8zys-00068U-HW for larch@yhetil.org; Fri, 21 Aug 2020 01:52:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8Jp2-0005U7-JQ for emacs-orgmode@gnu.org; Wed, 19 Aug 2020 04:51:52 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:23440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1k8Jp0-0004ov-71 for emacs-orgmode@gnu.org; Wed, 19 Aug 2020 04:51:52 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4BWhNL2nj3zKmdv for ; Wed, 19 Aug 2020 10:51:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received; s= mail20150812; t=1597827103; bh=7TjeVe6caoR5pI2cJVrKWhHOyoE3cTVM9 PNjH1/6kFk=; b=ty3pJGtkK26VO949ITP0j+BK9Z9GRyp8qfvjVg9RKjRVoK5qB h8M1579tnAqPqFLQsuiEzmQY/LIUdajxXMoifSNWB4wkqYpd+C76Q/QBGEeLF7Q4 3/pG8I0okQS5YLAhSWge1Y/bYKoBpvxaNHZDfadxt7n/ZUbg7Nqk0ZfWXeOv0E1r xA8VeK73rVLJC616wVher57om3q7Rn+NiC4QJxtZ2qt8iMThDYWanqYeoFRikdWa dFHLixac/OhhMxqPk8L+SbIqnGanEX/j7000pbMbnxTLokKyYm64ghIXgbtd9QX1 kby5vAzhBswoV4hS3W/QA0WH1KigMkbTMlTUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1597827104; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OOxakv4NROFqxnTQAGir3rnqDzx/9dWXidee28vX/W0=; b=uvAnwQprwrp6qRzMgSW9GLtxfZhRXM9MQ7g7OH9MGwboTENmK3Bmb8QwqYAlZBnpWY5cBQ G9dLixSIwEPHZiIKy6eumSdds3widuqBcHYj3BXOqV6woIQ5wW3V5xwYl/nG07bj5cTfHm iDT7vcFKeyOWNeCXoCp9vqQdvQlbJLtBb9KDee40JY7VtFyLyScS3Zjqyav8DOGfWN7yfI aWl2HJKOxJmr3bOHeRWa1I+YMkHpkYdnMhMRkAoKL3uOJE/npa8UjqvQNx1UI9CLwFrR+F jDmnyKX5OYFv3cykVUA9mIdrAGJKzrqXCnzWjgTSMwmL1rVGTdICQWWgDoSVKw== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id Qsjm8u9urTY5 for ; Wed, 19 Aug 2020 10:51:43 +0200 (CEST) From: Andy Drop To: emacs-orgmode@gnu.org Subject: Bug: Unicode ORG-TODO-KEYWORDS not recognized in agenda's stuck projects [9.3.6 (9.3.6-4-gdfa7a3-elpa @ /home/andy/.config/emacs/elpa/org-20200217/)] Date: Wed, 19 Aug 2020 10:51:42 +0200 Message-ID: <87a6yrt3vl.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MBO-SPAM-Probability: X-Rspamd-Score: -1.43 / 15.00 / 15.00 X-Rspamd-Queue-Id: 5FC4F17C6 X-Rspamd-UID: b63aa7 Received-SPF: pass client-ip=80.241.56.151; envelope-from=dr.ops@mailbox.org; helo=mout-p-101.mailbox.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 04:51:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 21 Aug 2020 01:52:05 -0400 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=ty3pJGtk; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=uvAnwQpr; dmarc=pass (policy=none) header.from=mailbox.org; 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-Spam-Score: -0.71 X-TUID: 1YMBf4EugHHx I configured my org-todo-keywords in a way, that they are just single unicode symbols instead of the classic TODO, NEXT, WAIT, DONE,etc. This is done in my init.el like this: (setq org-todo-keywords '((sequence "=E2=AD=95(p)" "=E2=B8=B0(t)" "=E2= =96=B6(n)" "=E2=8F=B8(w)" "|" "=E2=9C=94(d)" "=E2=9D=8C(c)" "=E2=8F=A9(r)")= )) This works perfectly, so I can advance the todo-states, choose them directly, and filter on them in the agenda's todo-view, even org-edna, which heavily relies on them works as designed. While trying to use GTDs approach I defined a stuck project as one having no next action meaning, having no subheading with a todo state of "= =E2=96=B6" (setq org-stuck-projects '("project" ("=E2=96=B6" "NEXT") nil "")) The 'NEXT' is used here only for validating the existence of a bug, origina= lly it was omitted in my config. My projects look like this: ** =E2=AD=95 [3/4] Dame Edna :project:dame:... ** =E2=AD=95 [0/13] Example project: Garage Project :project:garage: :PROPERTIES: :COLUMNS: %40ITEM %8Effort(Effort){:} %60BLOCKER :COOKIE_DATA: todo recursive :END: *** =E2=B8=B0 Find local stores for paint *** =E2=B8=B0 Choose color for paint *** =E2=B8=B0 Buy paint *** =E2=B8=B0 Move car to nearby parking lot *** =E2=B8=B0 Remove bikes *** =E2=B8=B0 Remove stuff from shelves *** =E2=B8=B0 Remove shelves *** =E2=96=B6 Garage is empty *** =E2=B8=B0 Paint walls and floor *** =E2=B8=B0 Re-install shelves *** =E2=B8=B0 Bring back bikes into garage *** =E2=B8=B0 Bring back car into garage *** =E2=B8=B0 Celebrate and close project Both of them contain a subheading with a todo state of "=E2=96=B6" which sh= ould prevent them from showing up in the stuck projects agenda view. However, they both appear List of stuck projects:=20 ops: =E2=AD=95 [3/4] Dame Edna := project:dame: ops: =E2=AD=95 [0/13] Example project: Garage Project := project:garage: I suspected the problem to be with the excluded todo-state beeing a unicode symbol, so I tried to substitute it with the classical 'NEXT', so it now showed like this: ** =E2=AD=95 [3/4] Dame Edna :project:dame: ** =E2=AD=95 [0/13] Example project: Garage Project :project:garage: :PROPERTIES: :COLUMNS: %40ITEM %8Effort(Effort){:} %60BLOCKER :COOKIE_DATA: todo recursive :END: *** =E2=B8=B0 Find local stores for paint *** =E2=B8=B0 Choose color for paint *** =E2=B8=B0 Buy paint *** =E2=B8=B0 Move car to nearby parking lot *** =E2=B8=B0 Remove bikes *** =E2=B8=B0 Remove stuff from shelves *** =E2=B8=B0 Remove shelves *** NEXT Garage is empty *** =E2=B8=B0 Paint walls and floor *** =E2=B8=B0 Re-install shelves *** =E2=B8=B0 Bring back bikes into garage *** =E2=B8=B0 Bring back car into garage *** =E2=B8=B0 Celebrate and close project And now the Garage project is successfully removed from the stuck projects, because it contains a NEXT at the position of the todo keyword, despite the fact, that NEXT is not even defined as a valid todo keyword. Looks like in this place there is some simple string comparison magic happe= ning, that can't handle unicode, instead of usage of the defined org-todo-keywords ------------------------------------------------------------------------ Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32) of 2020-08-12 Package: Org mode version 9.3.6 (9.3.6-4-gdfa7a3-elpa @ /home/andy/.config/= emacs/elpa/org-20200217/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-todo-keywords '((sequence "=E2=AD=95(p)" "=E2=B8=B0(t)" "=E2=96=B6(n)" "=E2=8F=B8(w)" "|" "=E2=9C=94(d)" "=E2=9D=8C(c)" "=E2=8F=A9(r)") ) org-stuck-projects '("project" ("=E2=96=B6" "NEXT") nil "") org-use-property-inheritance t org-tags-exclude-from-inheritance '("crypt" "project") org-agenda-files '("~/cloud/org/ops.org") org-closed-keep-when-no-todo t )