all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs behavior
@ 2010-05-02  5:18 VICTOR TARABOLA CORTIANO
  2010-05-03  2:13 ` Steve Revilak
  0 siblings, 1 reply; 5+ messages in thread
From: VICTOR TARABOLA CORTIANO @ 2010-05-02  5:18 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

I would like to change the default behavior of Emacs in C mode, I
use tabs instead of spaces for editing, so I changed my .emacs[1]
to behave the way I want.

For instance, I want:

function()
{
	commands;
}

But Emacs automatically modify the text to:

function()
  {
    commands;
  }

It works the way I want in text-mode, but I want syntax highligting.

I would like Emacs to behave like mg or vi in C mode.

[1] This is the relevant part in my .emacs file:
        ;Tab stuff
        (global-set-key (kbd "TAB") 'self-insert-command)

        (global-set-key (kbd "TAB") 'tab-to-tab-stop)

        (setq-default tab-width 8)
        (setq-default tab-stop-list (list 8 16 24 32 40 ))




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-06  1:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-02  5:18 Emacs behavior VICTOR TARABOLA CORTIANO
2010-05-03  2:13 ` Steve Revilak
2010-05-04  3:44   ` VICTOR TARABOLA CORTIANO
2010-05-04 18:03     ` Gary
2010-05-06  1:21       ` VICTOR TARABOLA CORTIANO

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.