emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Set checkbox to intermediate in code
@ 2019-02-28  7:51 Cecil Westerhof
  2019-02-28  8:22 ` Cecil Westerhof
  2019-03-03  6:08 ` Ken Mankoff
  0 siblings, 2 replies; 3+ messages in thread
From: Cecil Westerhof @ 2019-02-28  7:51 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

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?

-- 
Cecil Westerhof

[-- Attachment #2: Type: text/html, Size: 566 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Set checkbox to intermediate in code
  2019-02-28  7:51 Set checkbox to intermediate in code Cecil Westerhof
@ 2019-02-28  8:22 ` Cecil Westerhof
  2019-03-03  6:08 ` Ken Mankoff
  1 sibling, 0 replies; 3+ messages in thread
From: Cecil Westerhof @ 2019-02-28  8:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

Op do 28 feb. 2019 om 08:51 schreef Cecil Westerhof <cldwesterhof@gmail.com
>:

> 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

[-- Attachment #2: Type: text/html, Size: 1123 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Set checkbox to intermediate in code
  2019-02-28  7:51 Set checkbox to intermediate in code Cecil Westerhof
  2019-02-28  8:22 ` Cecil Westerhof
@ 2019-03-03  6:08 ` Ken Mankoff
  1 sibling, 0 replies; 3+ messages in thread
From: Ken Mankoff @ 2019-03-03  6:08 UTC (permalink / raw)
  To: Cecil Westerhof; +Cc: emacs-orgmode


On 2019-02-28 at 08:51 +0100, Cecil Westerhof <cldwesterhof@gmail.com> wrote...
> I can set a checkbox to intermediate with:
>     C-u C-u C-c C-x C-b

FYI, C-c C-c toggles boxes too. Shorter than C-c C-x C-b.

  -k.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-03  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-28  7:51 Set checkbox to intermediate in code Cecil Westerhof
2019-02-28  8:22 ` Cecil Westerhof
2019-03-03  6:08 ` Ken Mankoff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).