Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Fraga, Eric
Although org doesn't have the feature you are asking for, I have the
following in my configuration that you may find useful:

#+begin_src emacs-lisp
  (font-lock-add-keywords
   'org-mode
   `(("^[ \t]*\\(?:[-+*]\\|[0-9]+[).]\\)[ 
\t]+\\(\\(?:\\[@\\(?:start:\\)?[0-9]+\\][ 
\t]*\\)?\\[\\(?:X\\|\\([0-9]+\\)/\\2\\)\\][^\n]*\n\\)" 1 'org-headline-done 
prepend))
   'append)
#+end_src

-- 
: Eric S Fraga, with org release_9.6.6-418-g294a4d in Emacs 30.0.50


Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Ihor Radchenko
Russell Adams  writes:

>> It'd be nice if there was an option to automatically fold list items
>> that are checked on startup, e.g.
>
> The behavior you describe works with headings. Plain lists don't have
> as many features.

AFAIK, not even for headings - that would be an equivalent of "hide all
the done headings on startup".

IMHO, this kind of feature is a bit too specific. Users are free to add
things to `org-mode-hook', achieving the desired effect.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [FR] STARTUP: hidechecked

2023-11-08 Thread Russell Adams
On Wed, Nov 08, 2023 at 03:25:33PM +0100, unham...@fsfe.org wrote:
> Hi,
>
> It'd be nice if there was an option to automatically fold list items
> that are checked on startup, e.g.

The behavior you describe works with headings. Plain lists don't have
as many features.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com
https://www.adamsinfoserv.com/



[FR] STARTUP: hidechecked

2023-11-08 Thread unhammer
Hi,

It'd be nice if there was an option to automatically fold list items
that are checked on startup, e.g.

- [ ] open
I want to see the details here
- [X] closed
I don't want to see these details

would be shown on opening the file as

#+STARTUP: hidechecked

- [ ] open
I want to see the details here
- [X] closed...


(I didn't manage to find any previous discussion of this,
https://list.orgmode.org/ always gives ~800 unrelated hits when I try
searching, sorry if it's already been discussed.)


best regards,
Kevin