emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [POLL] Setting `org-adapt-indentation' to nil by default?


From: Nicolas Goaziou
Subject: Re: [POLL] Setting `org-adapt-indentation' to nil by default?
Date: Sun, 02 May 2021 21:20:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Tom Gillespie <tgbugs@gmail.com> writes:

> Yes. My question is about how to deal with cases like
>
> --8<---------------cut here---------------start------------->8---
>  1. foo
>
>     #+begin_src emacs-lisp
>   (+ 1 1)
> #+end_src
>
>  2. bar

> --8<---------------cut here---------------end--------------->8---
>
>
>> Source blocks for languages that have significant whitespace should use
>> the -i flag.
>
> My known issues with switches aside, the misaligned cases are the ones
> that I worry about, and I don't think being able to flag a block as
> being indentation sensitive helps resolve the potential ambiguity
> there.

There are various options:

1. Syntax error. Everything does not have to be valid in an Org
   document.
   
2. Opening line always wins (which is the case in Org)

Regards,



reply via email to

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