emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Only showing part of a list
@ 2015-03-11 11:54 Cecil Westerhof
       [not found] ` <m2oanzk6qn.fsf@andrew.cmu.edu>
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2015-03-11 11:54 UTC (permalink / raw)
  To: emacs-orgmode

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

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?

-- 
Cecil Westerhof

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

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

* Re: Only showing part of a list
       [not found] ` <m2oanzk6qn.fsf@andrew.cmu.edu>
@ 2015-03-11 14:10   ` Cecil Westerhof
  2015-03-12 12:37     ` John Kitchin
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2015-03-11 14:10 UTC (permalink / raw)
  To: emacs-orgmode

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

2015-03-11 14:23 GMT+01:00 John Kitchin <jkitchin@andrew.cmu.edu>:

> Even if it were possible, what would you expect to happen when actions
> 1-5 were checked off? Should the list show the next 5? How would you
> expand the list to see all of it? When would it be visible or not?
>

​I did not expect a simple answer. ;-)​

​Just something to get started.​ In principle I think you should normally
not see more as five action entries and should (normally) not have the
possibility to select new entries to show when there are still more as
three entries shown.

I have my own function that checks an entry and put it at the end of the
list.

I personally would want to have to select the new to show entries. Most of
the time that would be the next entries, but not always.



> 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

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?
>

-- 
Cecil Westerhof

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

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

* Re: Only showing part of a list
  2015-03-11 14:10   ` Cecil Westerhof
@ 2015-03-12 12:37     ` John Kitchin
  0 siblings, 0 replies; 3+ messages in thread
From: John Kitchin @ 2015-03-12 12:37 UTC (permalink / raw)
  To: Cecil Westerhof; +Cc: emacs-orgmode

>
>> 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

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

end of thread, other threads:[~2015-03-12 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).