unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: digits <digits@gentoo.se>
Subject: Re: Auto-Indent
Date: Mon, 01 Dec 2003 16:52:18 GMT	[thread overview]
Message-ID: <6lKyb.36234$mU6.124529@newsb.telia.net> (raw)
In-Reply-To: <mailman.804.1070176088.399.help-gnu-emacs@gnu.org>

Eli Zaretskii wrote:
>>From: digits <digits@gentoo.se>
>>Newsgroups: gnu.emacs.help
>>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
> find it?
> 
> 
>>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 :)

  parent reply	other threads:[~2003-12-01 16:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-28 17:11 Auto-Indent digits
2003-11-30  6:08 ` Auto-Indent Eli Zaretskii
     [not found] ` <mailman.804.1070176088.399.help-gnu-emacs@gnu.org>
2003-12-01 16:52   ` digits [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-31 13:58 auto-indent hastenthunder
2003-12-30 22:40 auto-indent hastenthunder
2003-12-31  2:36 ` auto-indent Gernot Hassenpflug
2002-11-16  2:51 auto-indent Michael P. Soulier
2002-11-16 18:57 ` auto-indent Kai Großjohann
2002-11-18 17:44 ` auto-indent Michael P. Soulier
2002-11-19 14:53   ` auto-indent Kai Großjohann
2002-11-20 17:35     ` auto-indent Michael P. Soulier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6lKyb.36234$mU6.124529@newsb.telia.net' \
    --to=digits@gentoo.se \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).