emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Juri Artamonov <jartamonov@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Headline and numbered plain list
Date: Tue, 29 Jun 2010 07:27:39 -0400	[thread overview]
Message-ID: <87d3vaaxjo.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <AANLkTik5dd3Is0fyRX1Kj7v027NTMbGw3lP-6gwucMyX@mail.gmail.com> (Juri Artamonov's message of "Tue\, 29 Jun 2010 09\:56\:18 +0300")

Juri Artamonov <jartamonov@gmail.com> writes:

> Thank you David, for your reply.
> 
> The only reason I need this is just I can specify TAG(s) for headline
> and can't do this for any other record. Therefore, I need to have
> information about number of items, checked number and get items by
> TAG.
> 
> Is there any other way to achieve this?

Hi Juri,

I think you should promote your list entries with checkboxes to full
headlines that support tags.  You can switch back and forth between
lists and headlines by selecting the text and using C-c * on the region.

I would suggest you change from 

,----
| ** 1. [ ] Text for first item
| ** 2. [ ] Text for second item
`----

to

,----
| * Top level headline [/] [%]                    :sometags:
| ** TODO Text for first item
| ** TODO Text for second item
`----

that way when you mark the TODO items DONE (equivalent to checking the
checkboxes) the cookies [/] and [%] update with the number of complete
and total items for the subheadings.

HTH,
Bernt

  reply	other threads:[~2010-06-29 11:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28  9:31 Headline and numbered plain list Juri Artamonov
2010-06-28 11:43 ` David Maus
2010-06-29  6:56   ` Juri Artamonov
2010-06-29 11:27     ` Bernt Hansen [this message]
2010-06-29 16:19       ` Juri Artamonov
2010-06-29 16:22         ` Bernt Hansen
2010-06-29 17:46       ` J. David Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3vaaxjo.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=jartamonov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).