[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 01 Dec 2003 16:52:18 GMT
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
Eli Zaretskii wrote:
From: digits <address@hidden>
Date: Fri, 28 Nov 2003 17:11:23 GMT
I can't find any information on how to solve this (simple) matter.
You should be able to find it in the node "Basic Indent" of the Emacs
manual. Care to tell how you tried to look for it and come you didn't
That Emacs keep the amount of tab's at the beginning of the line when I
press enter, no matter which mode I am in.
Emacs already does that in most modes, but the command to do it is by
default bound to C-j, for which many keyboards lack a key (if you
have a keyboard with a key labeled "LFD", try using it instead of the
Return key). You could either type Ctrl-j to get what you want, or
you could bind this function to the Return key, by putting this:
(global-set-key "\C-m" 'newline-and-indent)
into your ~/.emacs init file.
Is there a way for this, or should I start looking into other editors -
because this is a must have for me.
Threats? Not very nice, IMHO.
Wasn't a a thread, pure statement of fact, because it is a must-have and
if I can't find a what I'm looking for in a product I start looking for
a replacement :)
- Re: Auto-Indent,