How can I configure it so that when I create and edit files in emacs the formatting looks the same in editors such as Geany or gedit,, it seems that the indentation is never preserved correctly.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is probably related to tab (
'\t',0x9) characters. To forbid emacs from adding tab characters, customizeindent-tabs-modetonil. (C-h v indent-tabs-mode). To replace all tabs in existing files with spaces (and keep it looking as it currently does in emacs), useM-x untabify(acts on the current region).