From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mPaBCPIbkGBZTQAAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 17:51:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MK4dBPIbkGDpcgAAbx9fmQ (envelope-from ) for ; Mon, 03 May 2021 15:51:14 +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 917551DA49 for ; Mon, 3 May 2021 17:51:13 +0200 (CEST) Received: from localhost ([::1]:38120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldaql-0001nh-UO for larch@yhetil.org; Mon, 03 May 2021 11:51:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldaq9-0001ld-HK for emacs-orgmode@gnu.org; Mon, 03 May 2021 11:50:33 -0400 Received: from se13.route25.eu ([2a00:f10:121:a00:1c00:efff:fe00:1854]:39536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldaq6-0007f4-O1 for emacs-orgmode@gnu.org; Mon, 03 May 2021 11:50:32 -0400 Date: Mon, 3 May 2021 17:50:11 +0200 From: Russell Adams To: emacs-orgmode@gnu.org Subject: Re: Checkboxes in headings - opinions wanted Message-ID: Mail-Followup-To: emacs-orgmode@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Originating-IP: 185.87.184.57 X-SpamExperts-Domain: out.pcextreme.nl X-SpamExperts-Username: 185.87.184.57 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xiExUbNqvmdkLSOzf1W2Y3z8hkeSqZT0W1YMl0fRDa99cV PSoHm0W/3adFfiYl2nuj+Q3NwKWc/3SIx2QbR5Fv/T4GcPvCLvSpAEEGy7kYxsD3QRUnhlexiXT3 xXuXeIhevFP+kOiMW3ZJfjMJYMEj+gaXrHkgRC7/tI3CjXmVyngL9jTJEMnADDafZFBNiT/Hh0cQ L0Ci0sRm4Wh/iZxmZw2OUofLfB7s8QYvnn3mfsztdQUSqk/AeLi65+4s/LrywTM2yEHEhvC9Izsy /NENTMQ3Kg3hL2oXz5A5E5R/dS4GkJ5hfB+qWugfDEytZYoACfRtBjLzEjgIZNLWhI/Mshn3T8Ox KyIrAogwLlirll+u0Sc2bgjgy6NE5WzPnrJ1fJyKyenPq733oZ8bAyJmHQrtppYmxMktfUX7kfB+ UdezYqxGMqsKjARq8PBC4qgxMmglBiLsgrvXOb7qEGUwgxHIagHkgJmlqPNWnLI1oovhSJcbnX/H QqL/X9rNCJCc6iESJvKm1NV8gkr+Wu8ScVDXinOVyuIpITQ9z3M3DO7OWuqF1+w/pTOKTb9S094O 5ldb4EwDPpdfe0QRwC0uU8IOihu0BKd16cq3GEAgELZG6EK5zmYvJVf9qlOFaTs5y9phFQNqs3ow 7qoYE68Mb9qUxf0isHFqyjYDGBkd2y32EoSnB0KQ6B3xt8UP9IrQLp/miaSDdXxJiAZb1EzkDw0J UO/SMw1JqaZJdGBLj3Mgd6olKiVMQzO3zNe0IbnCbZgOO21GrxlhmUkwIodcctgzcDoFd+96Xw4Q UNtTncaOn0+WJUUa3BJTNKQ18zDN24asJdvYl1Y19r9fXlcpDneFtYF4v0IUhnwA7zUt/ygkKg3C UVSz51jczPLYUPONvxgu6jFRoaLzVpT+CP36s6RbLfB6BI3XJUys1lM3IMGhDC7qKEsgLqHNXMxe jlB49DjiWowOnKvI8aF4jzAuZNIARVagEMhjyGL5llQ69151eclHOr67cHgLgz4Hvn0= X-Report-Abuse-To: spam@semaster01.route25.eu Received-SPF: pass client-ip=2a00:f10:121:a00:1c00:efff:fe00:1854; envelope-from=rladams@adamsinfoserv.com; helo=se13.route25.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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=1620057073; 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; bh=yaOfPlU47FTViXyajxVPU/t8CeNtMKtzbOtRmKQkiKs=; b=hgsNo4LmusWLQIOKFp419K5Od97PVNdrUjzwFdVEqNbI8d/2BgpN2DDl4b21a1/Vka5Z3C zrovdHWWQ6fqPTU7pD/BUyy88eQfh37U2qloZGRaQok7Y3ULRJyd2mg+xly7RgF8X7iLAv twNQMehOziRk058+vCI8uaGBlWJZXhsA6bfCKEBHRrMQm0hqDybOesjRSwkQKcWQteM0fG yTa9SuHwy17vZ2eqY/71e13DnyJOYiys8jKUgW/8zRnw0Bmn454nRhMnMJHsJ4BdD6Dp56 XsCThE4Om4Q4pUqQtIVZybQSqUct/ezqhcZRZQyLEEFYUp5Ca4TuEJhkmFQkzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620057073; a=rsa-sha256; cv=none; b=bUv9VEdXpVNVwtmzl+mRLHkcHilLoru3u4+kSFCWIc+VFVMtTKsDFSZKEgiPPK4jyJDmcP J0mN/5C4lbPlP2SxBMnkYVhXP6qwLjzfROld9nHEC25LbKA6k+jQys6rqTWInSbajTHFAz uXpgClUrN7yFxtsDrbCqZzYtm55OzpWa6wI1eFV/cJij9VTeJNL9IZ8nX7sLQnEYb3UO5b xdqV5P1unwchdfVBUObFHvtPHldyy/7FPO/qggzqgxLbQj5XJfw3/y7iW1doSLsMk+vvVB AiljDHZrM/SVyXTuEzAudb622ZndL8dIzQCUSsnh8KZdW2n6APs2FW1C9OQWLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 917551DA49 X-Spam-Score: -1.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7gbkACOFSr4i Arthur, Could you just use unicode checkbox symbols instead of TODO and DONE? https://kdr2.com/tech/emacs/1405-orgmode-checkbox-unicode.html That ought to be just a string, and need no patch. On Mon, May 03, 2021 at 09:00:40AM +0200, Arthur Miller wrote: > > Last night I have been playing with a minor mode to enable a checkbox in > a heading, or rather to fake a checkbox. To be honest, it was a 10 > minute job. Took me way moare time to figure out avialable key > combination to use (which I didn't found). > > In general, enable mode and use S+up/down to toggle a checkbox. A > heading with a checkbox is of form [ \t]*\\*+.*? followed by a [ ] or > [x] before a heading. It means a [ ] can be placed somewhere after the > leading stars, whitespaces ignored. > > This has nothing todo with my previous hacks of todo keywords. This one > does not uses todo states at all so it can be used with todo states. > > It is just a small prototype. I will use something else than > replace-string later on. > > Just wonder if the approach is sane. > > There is also a repo on gh for interested one: > > https://github.com/amno1/org-heading-checkbox ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3