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/