title: How to change indentation in text-mode for emacs
body: <p>I'm in text mode and want my tab key to indent a line to two spaces.</p>
  
  <p>The file looks like this:</p>
  
  <pre><code>Line one
  
  Line two
  </code></pre>
  
  <p>The cursor is situated before the 'L' : "Line two", and I hit <kbd>TAB</kbd> and it gets indented 6 spaces as opposed to the desired 2 spaces.</p>
  
  <p>Actions I've tried:</p>
  
  <ol>
  <li><p>I've tried updating the variable: <code>tab-stop-list</code></p>
  
  <pre class="lang-lisp prettyprint-override"><code>(setq tab-stop-list '(2 4 6 8 10 12 14 16))
  </code></pre></li>
  <li><p>I've tried adding a <code>text-mode-hook</code></p>
  
  <pre class="lang-lisp prettyprint-override"><code>(add-hook 'text-mode-hook
    '(lambda ()
      (setq tab-width 2)))
  </code></pre></li>
  </ol>