Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to parse my language_data.txt, which is edited by emacs. The different column is seperated by "\tab".

But when I read the file, it is found that the tab characters has been replaced by many \space characters. For example:

en_US   shiphrah        02005   book reader no connection
en_US   shiphrah        02006   user reader no connection

How to insert tab character in Text mode?

share|improve this question

migrated from Jun 1 '13 at 12:56

This question came from our site for professional and enthusiast programmers.

up vote 31 down vote accepted

C-q <tab>

C-q insert the next character as a raw character

share|improve this answer

In addition to answer given: Check value of indent-tabs-mode, customize it if needed. Several hooks use it's value doing translations TAB-Blank.

share|improve this answer

If you want TAB key to insert a tab character, add this to your ~/.emacs

(global-set-key (kbd "TAB") 'self-insert-command);

More helpful info on emacs + TAB :

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.