emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting document from hard whitespace indentation to org-indent-m


From: Samuel Wales
Subject: Re: Converting document from hard whitespace indentation to org-indent-mode
Date: Wed, 12 Jan 2022 17:23:07 -0700

i think that default has changed to your preference in recent versions
[according to ml discussions].  which, i agree with.

On 1/12/22, Max Brieiev <max.brieiev@gmail.com> wrote:
>
> Several of my documents use indentation to line up with the headings,
> like below:
>
> * Top level headline
>   paragraph
>   + list item lorem ipsum
>     dolor sit amet
> ** Second level
>    some text
> *** Third level
>     more text
>
> I would like to strip leading whitespace, so that I could switch to
> =org-indent-mode= to have a nice view of the document instead of using
> hard whitespace indentation.
>
> Basically I want to:
> - strip leading whitespace,
> - but preserve the indentation of lists and src blocks
> - refill all paragraphs according to what =org-fill-paragragh= would do.
>
> How would I do it programmatically? My current Elisp knowledge is poor.
>
> Thanks in advance.
>
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]