title: Binding a key-sequence to a command in Emacs
body: <p>I want to bind key-sequence <code>C-tab</code> to <code>indent-rigidly</code>. It works when I do it interactively after <code>M-x local-set-key</code> . But I want it to be applied every time Emacs is started.  For this I added following line in my <code>init.el</code> file:</p>
  
  <pre><code>(global-set-key (kbd "C-tab") (indent-rigidly))
  </code></pre>
  
  <p>(as explained on <a href="https://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-keys-to-commands.html" rel="nofollow noreferrer">https://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-keys-to-commands.html</a>)</p>
  
  <p>However, it does not work. 'local-set-key' in above line also does not work. "C-TAB" also does not work. The error message is: </p>
  
  <pre><code>&lt;C-tab&gt; is undefined
  </code></pre>
  
  <p>Where is the problem and how can it be solved?</p>