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 sHlWFnwRPl/NEAAA0tVLHw (envelope-from ) for ; Thu, 20 Aug 2020 06:00:28 +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 kIc1EnwRPl8jSQAA1q6Kng (envelope-from ) for ; Thu, 20 Aug 2020 06:00:28 +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 BA0B0940539 for ; Thu, 20 Aug 2020 06:00:27 +0000 (UTC) Received: from localhost ([::1]:48816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8dcf-0003cd-Of for larch@yhetil.org; Thu, 20 Aug 2020 02:00:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8dcF-0003cU-JS for emacs-orgmode@gnu.org; Thu, 20 Aug 2020 01:59:59 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:63880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1k8dcC-0003mc-PZ for emacs-orgmode@gnu.org; Thu, 20 Aug 2020 01:59:58 -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-201.mailbox.org (Postfix) with ESMTPS id 4BXDWV3yF1zQlWJ for ; Thu, 20 Aug 2020 07:59:50 +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:references:in-reply-to:subject:subject:from:from :date:date:received; s=mail20150812; t=1597903187; bh=ssgxkhIiA3 gtyWujEJmt4GM9jmRCYAvUAqIp1CF4oPU=; b=w1YayD89glcHs9ml5eZWBEIMrx PNeVuFBREFfTz2NE8wnIlYrL8C+l6uvvnUtLodllBhDlbu/GtI/uf+zX3KvD6XNm Y3XUVDoiD+OHx1CZ8JkEtW1iDUT4f+e/n6okcQb5mcv8+yWpt9KXcXoVRLbw377E XWNM+Vfn4p4Abx/ogXhQT5n7jC4bErt/Bvm5xeF2avoNNYRsll15nz/SxoGtCXhJ e6tFOIpelGnbjsZLROABc+0UP6Y12SY5tObzqapN3MOv/LQyxEIPPGo3kJrvtyh7 Xkz+xOpmff7uHH3B/RoUv6yTXWNqfXTrYeIAEbYra2eitbxO9lxrjWn/TGtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1597903188; 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: in-reply-to:in-reply-to:references:references; bh=N89PKHMlJY1sleGSaBPRRUg+CJNCL51QP8c96B4QfyU=; b=Gp4eYeaI+2ohxZMFYOmzK+44pSWrBS0d2jF9FLLqkKJirznrbfkVvWByv8AyBbzJanWe7n i1YmGFefFQ4V2Y2lyEErUJXEAwk9iVFgWquHO5Uts7/smeIkRRDRAfUJ0SSCJd4J4lWG// 736n2BM5JWcGcMjH4YqGl5xmDTgKbxPjhFLp1YtxFkwy3juZS06p41w1QESswG/zowHgyy f1mshRBotEysS63hcTzP40eG/MHb10S8ZnB9QcpnI3hV0V9xdRUt5ZhcTclvJr0qk/aMX+ OJ52V1nX9isnA6TYGV5igTRDXN/ZKWqPljblzeEVDWveNID2kX8rcH9vU4Tv7w== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id tmXz7gfqQi8V for ; Thu, 20 Aug 2020 07:59:47 +0200 (CEST) Date: Thu, 20 Aug 2020 07:59:45 +0200 From: Andreas 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/)] In-Reply-To: <87a6yrt3vl.fsf@mailbox.org> References: <87a6yrt3vl.fsf@mailbox.org> Message-ID: <65B913C9-8307-43F9-BA1A-D0A5DA7CFF1B@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: -4.41 / 15.00 / 15.00 X-Rspamd-Queue-Id: 85AF51778 X-Rspamd-UID: 171ce7 Received-SPF: pass client-ip=2001:67c:2050::465:201; envelope-from=drops@mailbox.org; helo=mout-p-201.mailbox.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=w1YayD89; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=Gp4eYeaI; 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: -1.71 X-TUID: ayna0PcfLaCk 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=2E This = is done in my init=2Eel 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=2E 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, origin= ally it was omitted in my config=2E My projects look like this: ** =E2=AD=95 [3/4] Dame Edna :project:dame:= =2E=2E=2E ** =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 s= hould prevent them from showing up in the stuck projects agenda view=2E 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=2E Looks like in this place there is some simple string comparison magic happ= ening, that can't handle unicode, instead of usage of the defined org-todo-keywords ------------------------------------------------------------------------ Emacs : GNU Emacs 27=2E1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2=2E= 24=2E32) of 2020-08-12 Package: Org mode version 9=2E3=2E6 (9=2E3=2E6-4-gdfa7a3-elpa @ /home/andy= /=2Econfig/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=2Eorg") org-closed-keep-when-no-todo t ) Andy Drop