4

C-h v org-indent-mode RET says (emphasis added): If called interactively, enable Org-Indent mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is ‘toggle’; disable the mode otherwise. You probably want to say (edited as per the OP's answer to avoid ...


4

Unable to post this as a comment, but the indentation is likely part of one of the active modes (probably lisp-mode based on your description). You can do M+x describe-modes to see which modes are active. This answer provides some background on the history of the common lisp commenting style https://stackoverflow.com/a/6365579 This question and answers ...


2

Thank you NickD for your help, it got me to the right answer! Doing exactly what is listed above worked when added to the Doom Emacs config.el but not in the .dir-locals.el. To make it work as a directory variable, adding an eval seems to have done the trick. Here is my updated .dir-locals.el' ;;; Directory Local Variables ;;; For more information see (info &...


2

You might want to stick to the defaults, since: r = my_long_function_name( param1, param2) is arguably preferable over: r = my_long_function_name(param1, param2) But if you care (Emacs 26.3), for Python: (eval-after-load "python" (lambda () (fset 'old-python-indent--calculate-indentation (symbol-function 'python-indent--...


1

Based on suggestions from the spacemacs issue pages [1,2], I arrived at the following configuration that so far solves my issue completely: (setq org-src-fontify-natively t org-src-preserve-indentation t evil-indent-convert-tabs nil org-src-tab-acts-natively nil)


Only top voted, non community-wiki answers of a minimum length are eligible