emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Cecil Westerhof <cldwesterhof@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Only showing part of a list
Date: Thu, 12 Mar 2015 08:37:47 -0400	[thread overview]
Message-ID: <m28uf24cis.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <CAG-LmmDdzHzpsRpGV71F8fJrQt7iZw5u4JcBXjTNbicfJSPMMQ@mail.gmail.com>

>
>> It sounds like this would be a good case for subheadings, to break up
>> the long check list.
>>
>
> ​Then I get something like:
>     * Actions [0/5]
>       - [ ] First action
>       - [ ] Second action
>       - [ ] Third action
>       - [ ] Fourth action
>       - [ ] Fifth Action
>       - Next actions [0/25]
>         - [ ] Sixth action
>           .
>           .
>           .
>         - [ ] Thirtieth action
>

I mean something like
* actions [/]
** set 1 [/]
- [ ] first
- [ ] second
- [ ] third
** set 2 [/]
- [ ] first
- [ ] second
- [ ] third

etc...

I don't know what you are doing, but it is not too often there are
actually 30 actions that cannot be subdivided in my experience. I did
have one use case like this for a list of assignments to grade in a
class of 59 students though.

You can probably do something with invisible text
(http://kitchingroup.cheme.cmu.edu/blog/2014/02/06/Invisible-text-in-emacs/)
where you sort your list to move checked items to the end, and then use
an overlay to make the checked entries invisible, and maybe anything
past the 5th list element.

Thinking about your workflow, it also seems you really want some agenda
like behavior, so that you dynamically see a small number of unchecked
items you can interact with.

> So I do not see the total amount of actions. (At least not when actions is
> in overview mode.) Or can that be solved?
>
>
>
>
>> Cecil Westerhof writes:
>>
>> > The following is part of an org-file:
>> >
>> >     * Actions [0/30]
>> >       - [ ] First action
>> >       - [ ] Second action
>> >       - [ ] Third action
>> >       - [ ] Fourth action
>> >       - [ ] Fifth Action
>> >         .
>> >         .
>> >         .
>> >       - [ ] Thirtieth action
>> >
>> > But I am only interested in the first five actions, so I would like it to
>> > be displayed like:
>> >     * Actions [0/30]
>> >       - [ ] First action
>> >       - [ ] Second action
>> >       - [ ] Third action
>> >       - [ ] Fourth action
>> >       - [ ] Fifth Action
>> >       ...
>> >
>> > ​​Would that (in the future) be possible?
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

      reply	other threads:[~2015-03-12 12:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-11 11:54 Only showing part of a list Cecil Westerhof
     [not found] ` <m2oanzk6qn.fsf@andrew.cmu.edu>
2015-03-11 14:10   ` Cecil Westerhof
2015-03-12 12:37     ` John Kitchin [this message]

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=m28uf24cis.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=cldwesterhof@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).