From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AJiYGg7z+mVMQgEA62LTzQ:P1 (envelope-from ) for ; Wed, 20 Mar 2024 15:30:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id AJiYGg7z+mVMQgEA62LTzQ (envelope-from ) for ; Wed, 20 Mar 2024 15:30:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VrNBygAR; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710945038; 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=va3FjHccSJL5c8W4S3xDzRHEPgwfyrI5Az6By7WqaCw=; b=O84OyUh2HyJc9sXfNcCCvZHyRAlnh/djrcnrUsYeLnxKvu7PnsE+yem6MSvkBrrBgzRy7N LlYW2qp2x+QJ5MY8c9ZgpLlFj7AtXKLp770RD32bLZnLBkEsKlJetnKrzkpEiaCmWH+32c m3VxTldwBsLAZRSBZacmf2h/70n+Td0V+Ia9PVpGd2fiC0Or2ZaHw0iUw6gYpym2brok9b lDxlIbZA0kai1oK5TxoQ7MLxHLL5x8ZQMpZB8j9HM4EKBWibIeMLoWxjcJi2dhMj3UIzPz OiuXxNGhLCwdVMIomKyhirpm/gFmBTxiZoOOPmhSaSYui7awBr/IC07pIL4tjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VrNBygAR; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710945038; a=rsa-sha256; cv=none; b=THj+GHQKRpo28tdkaLitwNBmorkH/hAgQ8nhgOTbihI8/TdnTq/rRh8c/koF1wVqJ5TKL8 z5grWlI2MfRHHSlrW9ESVTqgsq8wj+TcHaeqlw7M5RmH8F2G3RAwHlti1h/Cyd7CgExA/M mxtuocX54gsp1IKcRnok0U9OQLycu6IZIIdYgqM9kGh9Pq7jqotXhXdbTq1thnf95f242J dL4/oFhaZbMa8mGWlo0e/e0TxdNsJElO5GKiyR4X5ng1rjVXEc1gaslN+XuUCJlHj7UEyS WhHgBw8xtNrllwKeYP4NaUGgNmcsK6lEbjqxSC9K58s2oO9Q/QymTJnyjL/Bpw== 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 3808441CF4 for ; Wed, 20 Mar 2024 15:30:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmwwf-0003vD-Ry; Wed, 20 Mar 2024 10:29:33 -0400 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 1rmwwf-0003uv-1u for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 10:29:33 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmwwc-0008Jd-Pq for emacs-orgmode@gnu.org; Wed, 20 Mar 2024 10:29:32 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-513e14b2bd9so5294194e87.2 for ; Wed, 20 Mar 2024 07:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710944967; x=1711549767; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:cc :references:in-reply-to:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=va3FjHccSJL5c8W4S3xDzRHEPgwfyrI5Az6By7WqaCw=; b=VrNBygAR2Y9i/D15XYhofaNVYZ1AVEXMiLo7E/Ea07ltNUOzbAzBM4RMj9FFgdCpQZ 8IfSbnYF1bcfRIIk6620/jydmVwqZ0Psb1h2qw8pRaHfKCAOdD7e/Z8d/Jt1dKZ0Ufz8 52lnjFCC0Tk8XbMpF16x07wR6I/AIH0N5GySiG0eE88zOcC+/2jxj8dnLYoDibW+0xvz TRxAC0Vns0jAccmQOhOooXUSnKxwOoQq0IrnrbJr4c2zovNvvneh/S9knNZiUIcY+U5E SLgBX7G4lx1dyTGB7M3YkaGckP1Z7+WnQqGY5z/FqINdQVM/zzSbj1PyQAgx/KXHdfqf oJiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710944967; x=1711549767; h=content-transfer-encoding:mime-version:message-id:date:cc :references:in-reply-to:subject:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=va3FjHccSJL5c8W4S3xDzRHEPgwfyrI5Az6By7WqaCw=; b=o1UEPlQtIqIysa4XMpf4qtYSaieoaS7x4lFuTogfrfA63uVSFEuo641KDEGLeVN21A qmdyR5jfjamJCQwLKgFKNm2DiBPGc5shNNVm5is/MP4FRPV3FqQhWUf5uql5iJ5d0H8k Wp0unsfwmNMd8ByDhv8cN5brZZITQcyXJvF8JkoiTrN7VMprswMNTFTXKH5cBdicT+AR onr1tL423RiG8k4Fkg+/2DOP91DoFLiuiEL2pzYyjz1XsQ/zvCrrlsPcR0RYnr4DN+6R WLCDoT8uKCsqsHC6FywWstMFYUW8Bpvrb93auahWla3r41OJSrzleZ/2TKfecioKWm8h MO5Q== X-Gm-Message-State: AOJu0Yz7SO8NbrxkRfhX7LKzqMHS1pIow9/UK0V4SkoeWtQXF/C7WB/P fWSpYa/mC7aljkivqPbUXgs06X1Sm7U1yzXgrqeUXORQbQ2Kjc7xE1I+nG1Epec= X-Google-Smtp-Source: AGHT+IEcgjrQ8sXl+l+wXzvTUS5wv+4G1Eh7avi/uWOrVwYJQIybCnN1pHnQfY6yqyEYR2lsOUsWDw== X-Received: by 2002:a19:2d15:0:b0:513:2329:4308 with SMTP id k21-20020a192d15000000b0051323294308mr13460074lfj.14.1710944967323; Wed, 20 Mar 2024 07:29:27 -0700 (PDT) Received: from windows (bnb230.neoplus.adsl.tpnet.pl. [83.28.247.230]) by smtp.gmail.com with ESMTPSA id o29-20020a198c1d000000b00513def75416sm1639726lfd.133.2024.03.20.07.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:29:27 -0700 (PDT) From: =?utf-8?Q?S=C5=82awomir?= Grochowski To: Ihor Radchenko Subject: Re: [FR] 'org-columns-next-allowed-value' for 'summary-checkbox'es functions should have 'intermediate state' '[-]' In-Reply-To: <874jd1t7c9.fsf@localhost> References: <87cyrry16e.fsf@gmail.com> <874jd1t7c9.fsf@localhost> CC: emacs-orgmode@gnu.org Date: Wed, 20 Mar 2024 15:29:25 +0100 Message-ID: <87plvpf03e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=slawomir.grochowski@gmail.com; helo=mail-lf1-x12b.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.82 X-Spam-Score: -8.82 X-Migadu-Queue-Id: 3808441CF4 X-TUID: g/8SSnT9+nYG Ihor Radchenko writes: > I think that we can do the following: > > (1) modify org-columns-next-allowed-value (S-/) to use the > three states. > > (2) modify org-columns-toggle-or-columns-quit and org-columns--toggle to > follow what C-c C-c does: > > (5.6 Checkboxes section of the manual) >=20=20=20=20=20 > =E2=80=98C-c C-c=E2=80=99 (=E2=80=98org-toggle-checkbox=E2=80=99) > Toggle checkbox status or--with prefix argument--checkbox presence > at point. With a single prefix argument, add an empty checkbox or > remove the current one(3). With a double prefix argument, set it > to =E2=80=98[-]=E2=80=99, which is considered to be an intermediate = state. > Thank you for advice.=20 I'm surprised I didn't think of it myself. It's a good idea to ensure consistency between 'org-checkbox' and 'org-colu= mns-checkbox'. > Except that we should not allow removing checkboxes and instead > force empty checkbox with single prefix argument. And why do you want to avoid this? When using 'org-column' I sometimes remove an empty checkbox. So I see use in it, and most importantly, it would provide same compatible interface for 'org-checkbox' and 'org-columns-checkbox' In my previously message I didn't reply to all. So now I'm fixing it CCing emacs-orgmode@gnu.org now.=20=20=20 Regards, --=20 Slawomir Grochowski