emacs

Drew Verlee 2025-04-23T18:43:34.492649Z

How are your org clojure blocks indented when you press tab. Option a, no indent:

#+begin_scr clojure
:foo 
#+end_scr
Or option b, two spaces:
#+begin_scr clojure
  :foo 
#+end_scr
What defines this behavior?

Drew Verlee 2025-04-23T18:45:46.974429Z

Mine is the latter, two indents. At least when it's under a header e.g *

ag 2025-04-23T18:54:13.996959Z

org-edit-src-content-indentation

Drew Verlee 2025-04-23T18:56:49.493149Z

Thanks ag, what's the default behavior for you?

ag 2025-04-23T18:59:29.982669Z

I don't indent them (I used to), but not anymore, because I styled my source blocks to look certain way

ag 2025-04-23T18:59:57.835059Z

e.g., https://i.imgur.com/V1dq6X2.png

Drew Verlee 2025-04-23T20:03:39.562989Z

Yes, indeed, it's org-edit-src-content-indentation. There was never any confusion. -_-.