[OS X Emacs] tabs ? spaces ?
Peter_Dyballa at Web.DE
Thu Jun 18 03:55:43 EDT 2009
Am 18.06.2009 um 09:28 schrieb Jean-Christophe Helary:
> Is there a way (like in other text editors) to set TAB as being the
> charater entered when TAB is hit ?
Change the key binding. When you press a key in GNU Emacs you invoke
a function. Often this function just inserts the character for which
the key pressed stands. Some times it's different, and this is
particularly true with TAB, RET, C-j.
You can use C-q TAB.
You can use a function which rebinds TAB and becomes part of text-
mode-hook, i.e., this rebinding only happens when text-mode gets
applied in some buffer.
Don't rebind TAB globally!
Claiming that the Macintosh is inferior to Windows because most
people use Windows, is like saying that all other restaurants serve
food that is inferior to McDonald's.
More information about the MacOSX-Emacs