From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cecil Westerhof Subject: Re: Set checkbox to intermediate in code Date: Thu, 28 Feb 2019 09:22:56 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ed95f0582f000c0" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzGyF-0008Jm-IF for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 03:23:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzGyE-0001o8-P9 for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 03:23:11 -0500 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:36280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzGyD-0001mu-P3 for emacs-orgmode@gnu.org; Thu, 28 Feb 2019 03:23:10 -0500 Received: by mail-oi1-x236.google.com with SMTP id t206so15843807oib.3 for ; Thu, 28 Feb 2019 00:23:08 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --0000000000000ed95f0582f000c0 Content-Type: text/plain; charset="UTF-8" Op do 28 feb. 2019 om 08:51 schreef Cecil Westerhof : > I can set a checkbox to intermediate with: > C-u C-u C-c C-x C-b > > But I want to do it with code. How would I do that? > Found it. Quit simple: (org-toggle-checkbox '(16)) -- Cecil Westerhof --0000000000000ed95f0582f000c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Op do 28 feb. 2019 om 08:51 schreef Cecil Westerhof= <cldwesterhof@gmail.com&g= t;:
I can set a checkbox = to intermediate with:
=C2=A0=C2=A0=C2=A0 C-u C-u C-c C-x C-b

But I want to do it with code. How would I do that?

Found it. Quit simple:
=C2=A0=C2= =A0=C2=A0 (org-toggle-checkbox '(16))

--
Cecil Westerhof
--0000000000000ed95f0582f000c0--