From 1881aacf22fda650408434394a96f3aaea2c6928 Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Thu, 20 May 2021 22:48:58 +0700 Subject: [PATCH] org-faq.org: Fix typos and style in "setup for indenting" * org-faq.org (What is the best setup for indenting?): Minor corrections suggested by Greg Minshall. --- org-faq.org | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/org-faq.org b/org-faq.org index 0f8934af..54d5e403 100644 --- a/org-faq.org +++ b/org-faq.org @@ -1039,7 +1039,7 @@ In more details, ~org-adapt-indentation~ controls indentation with regards to previous element. Apparent effect is increased indentation for content of deeper nested headings. The variable accepts three values: =nil= (no special indentation), =t= (always indent relatively -the the element above) and =headline-data= (only indent the +to the element above) and =headline-data= (only indent the ~PROPERTIES/LOGBOOK~ drawers relatively to the current level). Value =t= is suitable for short entries especially if you plan to share your documents with someone who does not use Emacs. If you just want to @@ -1059,8 +1059,8 @@ With ~electric-indent-mode~ enabled: |---------------------------+------------------------+----------------------------+----------------------------| | RET after a headline | Do not indent | Indent | Do not indent | | C-j after a headline | Do not indent | Do not indent | Do not indent | -| RET anywhere | Indent wrt previous | Indent wrt previous | Indent wrt previous | -| C-j anywhere | Do not indent wrt prev | Do not indent wrt previous | Do not indent wrt previous | +| RET elsewhere | Indent wrt previous | Indent wrt previous | Indent wrt previous | +| C-j elsewhere | Do not indent wrt prev | Do not indent wrt previous | Do not indent wrt previous | | Insert PROPERTIES/LOGBOOK | Do not indent | Indent wrt headline | Indent wrt headline | With ~electric-indent-mode~ disabled: @@ -1069,21 +1069,21 @@ With ~electric-indent-mode~ disabled: |---------------------------+---------------------+----------------------------+----------------------------| | RET after a headline | Do not indent | Do not indent | Do not indent | | C-j after a headline | Do not indent | Indent | Do not indent | -| RET | Do not indent | Do not indent wrt previous | Do not indent wrt previous | -| C-j | Indent wrt previous | Indent wrt previous | Indent wrt previous | +| RET elsewhere | Do not indent | Do not indent wrt previous | Do not indent wrt previous | +| C-j elsewhere | Indent wrt previous | Indent wrt previous | Indent wrt previous | | Insert PROPERTIES/LOGBOOK | Do not indent | Indent wrt headline | Indent wrt headline | Do not try to avoid or to ignore indentation of heading body or properties drawer determined by current state of ~org-adapt-indentation~ and ~electric-indent-mode~ by pressing =C-j= instead of =RET= (or vice versa). The result is transient and you will -lost formatting when you refile heading or change its level (promote +lose formatting when you refile heading or change its level (promote or demote it). You may have noticed recommendation to disable ~electric-indent-mode~ to restore behavior prior to Org 9.4. In Org 9.5 -~org-adapt-indentation~ default value changed to =nil= and, that is -more important, a number of bugs related to indentation were fixed. +~org-adapt-indentation~ default value changed to =nil= and, more +importantly, a number of bugs related to indentation were fixed. Using =RET= with enabled ~electric-indent-mode~ should be convenient now. Just customize ~org-adapt-indentation~ variable accordingly to you preferences. -- 2.25.1