From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YDPwJhqKR2UpdgEAauVa8A:P1 (envelope-from ) for ; Sun, 05 Nov 2023 13:27:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YDPwJhqKR2UpdgEAauVa8A (envelope-from ) for ; Sun, 05 Nov 2023 13:27:06 +0100 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 2D54E60943 for ; Sun, 5 Nov 2023 13:27:06 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HKmqOE4H; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699187226; a=rsa-sha256; cv=none; b=F74IBFRE8QLDfD3nYf7e+DdtChlm+FAl1fFQ5pnEEJXW+kjOb53xC3voYY1fFq+fPPEgCk r1vBNhesmS0MHUgHqKZ3GqUG1Ih29FmODbWGT4FeigtQzy+kuqvQOlq09vYrUV73t1LnD2 nXOzJVklRJD6KLU9fyUY8Jo9VNllYPpo9/9h2oMhnAH9mhd1+by5M0+RIXxr1SRz0Dgvkw Vf/Tr7VCGJwRwK15SQh7FIARf3aMlsiNTwFpMyiMNzixJuaarLxvtgFShHy0Es7OSpOsPg kz0CJvUdEz6exXZnoRxKdEA9EFQziZPxW4F/8jL66UAR4esILuXVRPVoXXN2bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HKmqOE4H; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699187226; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mOkP2R3v9p80X0jcV8JGZX/SjKLtCP7B+PKeQBSwch0=; b=itWV2jOaPdKEmKUdrgJUtXdfMCQ5fQFxeCGjcTFs8+ILHm+5E29stZNJx66wHEY2EMr6yl B3PP5IE0e8a3crSUMj6vF3gIHXZYSmsRV6+Z0dEjxz7A2lZsMfMVvwoSjbM1SG3ZhyaOnS xNSFsZ7NenFI5+yzpPnOeiy0+im59u2ZJ0W/F9pjg+JtNowCnisGKUqjikiRepW9ljMtzj pB1TSsvQOjQxlrEAxcQkevbDE90rdTYZpab++OOFm1Yaf7w9lH/VKtHcJZjfQuXaFvXhMr 8/fIwyESC9mr4CvWbyF5vqRTNCMV7OrNiURBKLihRAgVXzuNjQxjuLlEoTMCNA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzcCZ-0002i6-Ue; Sun, 05 Nov 2023 07:26:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzcCU-0002hl-He for emacs-orgmode@gnu.org; Sun, 05 Nov 2023 07:25:58 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzcCR-00025t-Qs for emacs-orgmode@gnu.org; Sun, 05 Nov 2023 07:25:57 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8E1ED240103 for ; Sun, 5 Nov 2023 13:25:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699187152; bh=3dPJ7I8NKa8FOYIIcVRB4vf00GNS4uG7LKa0gD8EXb0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=HKmqOE4H3bJgAC9uzkldaYKgnIGRz1CBACWWIoClGenblUmfPVaj9PKoKN/ID8BAE liwp5Cdlza4QtFWhL7TWIZGXNX8/c5g2daG3XXbRlPGrqNfbfsu5b2Cp9VqAPpkIYV F7uRlIVhaBx6t55LyF+PAcfaALhaUrh/eYU8c+BUWQTeUPlC85ifgT2Kihog0I2eqt 74OBLZb0o853TcETPoNLLL8WYjx2y4kvXMbLvRPrcilo8f7qdNfkyRDDEW01GgSxxy TrfdplHVoI6u1TtKkAeH5rJt67KPL1SNJ+JM9HySLiRu5XQ6SjGzwYc2/TcR3MlUgZ am1pcBS/Z+REQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SNYbz3Cd8z6twd; Sun, 5 Nov 2023 13:25:51 +0100 (CET) From: Ihor Radchenko To: =?utf-8?Q?S=C5=82awomir?= Grochowski Cc: emacs-orgmode@gnu.org Subject: Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]' In-Reply-To: References: Date: Sun, 05 Nov 2023 12:27:44 +0000 Message-ID: <874ji05qrj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2D54E60943 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.51 X-Spam-Score: -7.51 X-TUID: M4lfeEQkaQXD S=C5=82awomir Grochowski writes: > I was wondering how many states a checkbox has. > Based on https://orgmode.org/manual/Checkboxes.html I conclude that there > are 3 states: > 1. [ ] - not done > 2. [ - ] - an intermediate state > 3. [X] - done > > So I think all 3 states should be available to choose from in the function > 'org-columns-next-allowed-value'' > for functions that use checkboxes. > In code this is a line > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org-colvie= w.el#n754 > > So I would change it from this: > - (`(,_ ,_ ,_ ,(or "X" "X/" "X%") ,_) '("[ ]" "[X]"))) > to that: > + (`(,_ ,_ ,_ ,(or "X" "X/" "X%") ,_) '("[ ]" "[-]" "[X]"))) > > What do you think? I think that your use-case is not necessarily common enough to change the defaults. But we can introduce a defcustom here. Patches welcome! --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at