From: "VICTOR TARABOLA CORTIANO" <vtc10@c3sl.ufpr.br>
To: help-gnu-emacs@gnu.org
Subject: Emacs behavior
Date: Sun, 02 May 2010 02:18:49 -0300 [thread overview]
Message-ID: <20100502051849.6B0CF70000090@urquell.c3sl.ufpr.br> (raw)
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 ))
next reply other threads:[~2010-05-02 5:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-02 5:18 VICTOR TARABOLA CORTIANO [this message]
2010-05-03 2:13 ` Emacs behavior Steve Revilak
2010-05-04 3:44 ` VICTOR TARABOLA CORTIANO
2010-05-04 18:03 ` Gary
2010-05-06 1:21 ` VICTOR TARABOLA CORTIANO
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100502051849.6B0CF70000090@urquell.c3sl.ufpr.br \
--to=vtc10@c3sl.ufpr.br \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.