From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uNuJFOv/QGM8oAAAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 06:43:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WGC7E+v/QGNqVgEAG6o9tA (envelope-from ) for ; Sat, 08 Oct 2022 06:43:23 +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 EFB45F7A6 for ; Sat, 8 Oct 2022 06:43:22 +0200 (CEST) Received: from localhost ([::1]:46952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh1gI-0004iV-5S for larch@yhetil.org; Sat, 08 Oct 2022 00:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh1fl-0004iM-Cz for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 00:42:49 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:44586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oh1fj-0005to-Hi for emacs-orgmode@gnu.org; Sat, 08 Oct 2022 00:42:48 -0400 Received: by mail-pf1-x429.google.com with SMTP id v186so6507132pfv.11 for ; Fri, 07 Oct 2022 21:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KMDTOvcOyUgJ14FjJoQ4xs5rgFoxHGp8utHoG6mjAmM=; b=OQhaH6SIakKQYqDUUGR/mj6BJB8SasFgA68yeRHtmeHZN5YHGZ6aRAI2pIS9Hp3EdX Pf8ELU07kKEsAyG4CPp3jo8MMSYtJ9N8eW2Qh82YRxEur3SMvrsBoDPbWNE+kLHcq6ap wAdIKmSbc4VMBiWcs/QujZcIk2lybjVtvqduzWhJTUN/3hGuoaMiqrShBEgmzlwbdGB9 2OUv8N1+lpvsTVekmTBzZFWgtIilBPUJ8bT4aesI+F6D6rtQJfWMqr6LJnN9XdUp7PQF mxoOjDQMqLOAkY0gd4kWshbJElCm+IalT7nbK7totbXD5YfP4qtB37aTjmBEukg21fIm +vzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KMDTOvcOyUgJ14FjJoQ4xs5rgFoxHGp8utHoG6mjAmM=; b=zWcBfIZXb6tyc265tNjIZmv5l0yGIZzDmdq3XR32qNlE79YA3do3RWe2gcG705kIQj 2baQE2SpbYbo9hGRzdDhI5mbxSC18fytbhk50m8uvvrsLvN3AlED0+zvK2/1J6yW1J0V dwI4OWiuoRkfD8BxCMUNfgJa8KHVP+RnqqpVdE9cpRwrXuhjorM1ZNCPdqMDy+koYTHr 9Nyw26D7FrhN2he9Fe/kHI2q96xeKrs6Ug+j+PWkmKerrrCpqhxMKQNw2WOdC6mWj7Fm TQecT5VTFi8g1na2guORirO/lYSPy1B5I8sGyfxotIDesn1v2JeaepuqnuTNdxkKQbPS eYHg== X-Gm-Message-State: ACrzQf2YMrUM1SJ4VxTA9vilnPoIFs+4vsvqdMAIcfDePUIOkjPohPeP 6EuHC+v/I5QyaURhZXyvyxQ= X-Google-Smtp-Source: AMsMyM6l4wQxL1TblIy6oJkM5ejLrgiJYnBhHSWyouRtKijPONYpoFViID1PtqAEZck1rBKgzsE0iw== X-Received: by 2002:a63:6a85:0:b0:43b:dac2:ff0b with SMTP id f127-20020a636a85000000b0043bdac2ff0bmr7736247pgc.234.1665204165961; Fri, 07 Oct 2022 21:42:45 -0700 (PDT) Received: from localhost ([1.83.155.53]) by smtp.gmail.com with ESMTPSA id z17-20020aa79911000000b005623df48a39sm2586680pff.13.2022.10.07.21.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 21:42:45 -0700 (PDT) From: Ihor Radchenko To: autofrettage Cc: "emacs-orgmode@gnu.org" 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: <875ytvvigc.fsf@localhost> References: <875ytvvigc.fsf@localhost> Date: Sat, 08 Oct 2022 12:43:33 +0800 Message-ID: <875ygvudqi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=yantar92@gmail.com; helo=mail-pf1-x429.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.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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665204203; 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=KMDTOvcOyUgJ14FjJoQ4xs5rgFoxHGp8utHoG6mjAmM=; b=NZRhq62UtsG2Zik9D2+SzUC3nfNvk5EnpDMS5MzlDAgaZOr8mg9/JhHUAqdICuaIn/Mjf9 G6XBAhm4rjAhpOQ+7wasoMTvRGwGbO4k0f9mSefTNq1QfLU+3BwiKkhnL7L4YssfrVoSuV CxDOQ2Y7AmVYDUzLcQQF/1v1Djm13gkp8EwLQK0CuqJm5mUWy8z2YBme9JNzmsMssQiF6+ I13p0amvF9YdqVQJpGcnYxLMvCrfx4Tw3De58kKkxE8tBQu0cCXDn6qseQ/ngdfzbZBcIL yjv4pgt4P7n9t/uIz1K2DpM4J9KKCzqB6hy5P6uhOlCX7bzJX4FWfEy+653o4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665204203; a=rsa-sha256; cv=none; b=RC/mQlAxkM0ggaWcSmlDcacpzDSDitGyq/XoSELQDUduJ1FPVwpQqhPRrGdCUuBeQTX5CC DNyAQ9vhuIwNZdUUOZzNF2PQIAVUReadxOIvA+0630ez7i1JRw8UR7MTP0T5K3GeM4hUtu gqEa8nIRGmJdxgMbyZCNUHhahKKYzlTb76fRit7qjb4ef/vknCC1Mrpdwi8S6dcXwrjwq5 aUb+xK7vWc7cI1fcX8S/jukamZeaRTc15r3Przp7NVWxJTbdLiGjnlfVaVmKd5sh4EGLuo YR1XlqLU2Zlxy4XnGRut/10G+RxZXUb2kCeETUPYQu/j1Y5CKFgIAFcFtNcuUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OQhaH6SI; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.38 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OQhaH6SI; dmarc=pass (policy=none) header.from=gmail.com; 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: EFB45F7A6 X-Spam-Score: -3.38 X-Migadu-Scanner: scn1.migadu.com X-TUID: N/lVHxXr63gm Ihor Radchenko writes: > 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); Fixed on main as I described. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fcd38174500f9a18ee34ed8179a0e75c2892c8f5 If requested, we may also allow customization of the exact keywords to be used during the conversion. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at Fixed.