Questions tagged [indent-tabs-mode]
The indent-tabs-mode tag has no usage guidance.
3 questions
1
vote
1
answer
312
views
How can I control the indentation inserted by Emacs because I used the tab key?
This is probably a really basic question, but something I hadn't thought about before: When editing code, how to indent? I think the way to go is simply use the tab key and then, once indented once, ...
3
votes
2
answers
443
views
Use spaces for indentation in Protocol-Buffers mode
Protocol-Buffers mode binds c-indent-line-or-region to the TAB key. Since one of my projects uses 4 spaces for .proto file indentation, I've tried customizing indent-tabs-mode to nil, and tab-width ...
2
votes
1
answer
273
views
Changing indent-tabs-mode and electric-indent-mode in a buffer
I want to change indent-tabs-mode and electric-indent-mode to nil. There exist three possibilities
setq-default
setq-local
setq
I think setq-default only changes the behaviour for major modes where ...