this post was submitted on 31 Oct 2023
1 points (100.0% liked)

Emacs

311 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

There is a little Org issue that has been bugging me for quite long. When using Org for task management, subheadings are typically used to define tasks, often grouped under one heading that defines a project. For instance:

* Project 1
** TODO Task a
** TODO Task b

* Project 2
** TODO Task c

Org folds blank lines at the end of any subtree into the latest subheading. So, when I start unfolding Project 1, Task b shows as Task b..., i.e. it seems to have some hidden description which is misleading. I always go to see what is under Task b... only to find its empty.

A compromise is to set org-cycle-separator-lines to 1. However, this prevents the user from writing descriptions that are well spaced, as this will introduce unwanted blank lines in the folded view. For example:

* Project 1
** TODO Task a

- [ ] Subtask
- [ ] Subtask

** TODO Task b

The above code shows as:

* Project 1
** TODO Task a...

** TODO Task b

Any better solutions?

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago