this post was submitted on 04 Oct 2023
2 points (100.0% liked)

Emacs

310 readers
1 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
 

Often times I find doing various commands in org-mode adds/removes whitespace around headings. This can lead to inconsistent whitespace throughout the file. Kind of annoying.

Are there any tools to manage this? Like an auto formatter or something?

you are viewing a single comment's thread
view the rest of the comments
[–] unduly-noted@alien.top 1 points 11 months ago

One example is refiling. Sometimes when the subtree moves the whitespace isn't how I'd like. Similar for cutting and moving subtrees.

The specific commands that result in undesirable whitespace aren't important, though. The point is sometimes the whitespace in my org files ends up in an inconsistent state and I would like to be able to just run a command and clean it up.