emacs/var/elfeed/db/data/23/238de57a26703c2e616260e498e6ff5161b2dd9d
2022-01-03 12:49:32 -06:00

1 line
1.4 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I&#39;ve finally come around to updating to <code>org</code> version 9.5. A change that I&#39;m a fan of is the default for <code>org-adapt-indentation</code> is now <code>nil</code> since 9.5. However, my primary org file has been written with the hard indentation from <code>org-adapt-indentation t</code>. Is there an easy way to logically remove the preceding whitespace from this? I&#39;ve tried using <code>delete-whitespace-rectangle</code>, but this doesn&#39;t preserve the indentation of subsetted bullets.</p> <p>Is there any way to essentially shift the hard tabbed indentation to the left to remove the spaces but preserve the structure?</p> <p>EDIT: I used two different strategies for this. I think the best strategy is to use <code>org-unindent-buffer</code> as recommended by blablook below. However, in my case, using <code>indent-rigidly</code> to shift everything to the left worked for me as well. Again, <code>org-unindent-buffer</code> seems to be the best.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/PepperJackson"> /u/PepperJackson </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/qt2mmd/remove_hard_indentation_from_org_file_made_with/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/qt2mmd/remove_hard_indentation_from_org_file_made_with/">[comments]</a></span>