Questions tagged [tabs]

Questions about the inserting/manipulating/displaying TAB characters in Emacs files. Do not use this tag for questions related to browser style "tabs".

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
483 views

Display tab characters as arrows of varying length

I would like to make tab characters ("\t") display as arrows of varying length, just like in editors such as Notepad++, gedit, Geany, etc. Here is an example with tab width set to 4 and space ...
4
votes
0answers
513 views

How to make indent-region keep the TAB in Makefile buffer?

A very simple Makefile: all: gcc -o hello hello.c And I already set: (add-hook 'before-save-hook '(lambda () (delete-trailing-whitespace) ;; indent the whole buffer ...
3
votes
0answers
192 views

Set tab width with no exceptions

I always want the tab width to be 4 spaces, no matter what. How do I do it?
1
vote
0answers
124 views

Using cmd-N and cmd-T with emacs

I am using a Mac 10.9.5 and Emacs 24.4, installed with macports and aliased as alias emacs /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs At the moment, when I have an emacs file open and I ...
0
votes
0answers
13 views

Unable to <TAB> or have any auto-indentation in php-mode

as per the title, I'm unable to or have any auto-indentation in php-mode. With a simple .php file, I get this: <?php phpinfo(); ?> Pressing TAB anywhere within the document does nothing at ...
0
votes
0answers
25 views

Tabs on windows with custom buffers

I am new to Emacs and I am trying to set up a decent workflow for projects I already have. What I want to do is to be able to have tabs of buffers on each window (not frame). What I want ...
0
votes
0answers
155 views

How can I make Emacs enter a TAB character when I press the TAB button, without modifying my config file?

I am looking for a command I can enter that will make the TAB key input an actual TAB character. I'm open to anything that is temporary or that will not stomp on TAB mappings that do things other ...