From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OFGaNp8xbGFpSgEAgWs5BA (envelope-from ) for ; Sun, 17 Oct 2021 16:22:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ACRFMp8xbGGkLQAAB5/wlQ (envelope-from ) for ; Sun, 17 Oct 2021 14:22:23 +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 777E9143FC for ; Sun, 17 Oct 2021 16:22:23 +0200 (CEST) Received: from localhost ([::1]:57690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mc73N-0002tz-RP for larch@yhetil.org; Sun, 17 Oct 2021 10:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mc72y-0002tb-U2 for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 10:21:56 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:34695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mc72x-0006po-IE for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 10:21:56 -0400 Received: by mail-pg1-x536.google.com with SMTP id 133so13382570pgb.1 for ; Sun, 17 Oct 2021 07:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ZBiEOE4Ulgax2db2zZoroTNmdoZV3YGdBEfvIG0snmo=; b=FabpsHQBUnghnaruQvBxdvzl5OyfnTYdXCDDk0a/ArGQHgZbXrnrSlVdGNvvWi8yRo PJvMDifKVCSWY+iSF2ExNbaDB8C5242fYAXmMrANdmO5mJ4INHy8a2t6ZN8danSjdWLo qK4qmGhy467VdmVNa0qbCdedX5CEpdMN55EuQkX2drRfw2b6fBW6vt2FeYM6/uqZJyjx m/w3SoEqv7BgFJUtrKSwmQk/A91l+2jQG9V1dbcIFRX6XNak7FuGMaF7c5Aao6iPlqj+ HHPNk5qLK4peok1xNUD3zc0m/8rap4wY4ZYrnQK9cmbefmZ2xk6+W2EC1zRQmvpsUVsj EbvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=ZBiEOE4Ulgax2db2zZoroTNmdoZV3YGdBEfvIG0snmo=; b=yfA/6y+wfY6saouiq9or8XDbeddDryA6FmWgIF7H45hyT4+uUbwTV/6LDwODgpNb8t Gq+IbdtDnuIRtiHomVTsLAMcTvq+KPBO4/WiHbxkqe+mXyN0xeegYbh6SS1KWu6NQSxA ERw2YBt9X7FoOQhfkFokv9Uu6DLW1eSyRS3k5peu8Vs9CgtoMtRP8/LtdsFkkXGaAap0 w4lUoKo15qqNTcvMPfM299Z1npH1lG3joqqSVTEcKdXYc2rfuYMKaeAS1UxoJBEnsm7F 4iu35E9oV2IOvADcloaMMHR/7PcEjdXw6tpomitYCYya8qzvMQk8OtwvUmLlXR697Anp dsuw== X-Gm-Message-State: AOAM531MTCNIbHAPajk3IZsaVQH2UKzkw6mpNO6PCIX7deSaRh7C0hsl o89ZIfJUGKk+dGe73ovdkH899+xZWnA= X-Google-Smtp-Source: ABdhPJy0pXI+mxFYa1qmRPc0JA3cFOBGLcIo1bCfAjGETmMldEejCGVsl5bNy55ZoAy+Vqx5c0rqXA== X-Received: by 2002:a65:6499:: with SMTP id e25mr18333813pgv.146.1634480514227; Sun, 17 Oct 2021 07:21:54 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id v6sm10147960pfv.83.2021.10.17.07.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Oct 2021 07:21:53 -0700 (PDT) From: Ihor Radchenko To: autofrettage Subject: Re: [BUG] org-toggle-headline inserts "TODO" regardless of local definitions [9.5 (9.5-g0a86ad @ /home/rasmus/.emacs.d/elpa/org-9.5/)] In-Reply-To: References: Date: Sun, 17 Oct 2021 22:23:15 +0800 Message-ID: <875ytvvigc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: , Cc: "emacs-orgmode@gnu.org" 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=1634480543; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ZBiEOE4Ulgax2db2zZoroTNmdoZV3YGdBEfvIG0snmo=; b=X5QKc1/KRxEfec8vzwTOwEswfYjPscNTzdBjHoCX/lO8vAbiCJLJ4bhjnKD81Roi6l8ihI k5XW/6IOcsiEo3YvG2zR7o9dAUsr3BlCF8NobIZqPvH7e2uneP/68F2J6M+gCXc77eT5Th ZLoIFNKr7xuJatXPhzQ5D9qct9bSXAmrAQPzZO0D3xiGl4348V10boEbv0EhyhT5m44lCC RRi1NGuxDSmExn6QhpL8jHlCRtDqytB5qkf3Fq0b/XKTlP8fWEaoRhlfcOWzFRJctAt2/H LMryugEZU/ezqvLZFsxieCyDR9OX0HXI+PRYdMoOYVKdwxoYlvAR3dmDl4oNgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634480543; a=rsa-sha256; cv=none; b=QuQ59dGRlifzAT7IkAnpRzKP0arVAI4Lkf0+pGLVLZ6o7b4/rDAOILwV5z/eNpWylZ1v3g jYvMN9YIjh0rxSbyOlTnOIGZL+wiX2pErbynlEi28cHD2XbOcw+X/9jFCy+hS7PHA695yo NkunCAbNMRcwTclCw7pmQHTycfiQMAmmszD5IIGo4buTF7mVL/48+w8qZ6BZuFVXIPprvu ALVAdKKttHv77BqmW2xNW2SxEHRP93+JXgB0EwGcz9Z+KAF8P7Xno0lG3XafhnAW3N17rB M9DKIwGpMhLlWITSQyDiYJUY13AYl9dIEpu58XrsFZg6F/C72xbLPdJvvWIGGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FabpsHQB; 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.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FabpsHQB; 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: 777E9143FC X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: bfGH1nN3Mgdv autofrettage writes: > * DONE Apple > ** TODO Banana > > ...instead of these: > > * baz Apple > ** foo Banana Confirmed. Currently, checkbox to todo keyword mapping is hard-coded in org-list-to-subtree. We may use something like [ ] -> (car org-not-done-keywords); [-] -> (car org-not-done-keywords); [X] -> (car org-done-keywords); Though it may still be not ideal when there are multiple keywords to choose from. Best, Ihor