From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Auto-indentation Date: Fri, 10 Feb 2006 12:34:35 -0500 Organization: Bell Sympatico Message-ID: <87d5hvf7az.fsf-monnier+gnu.emacs.help@gnu.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139617430 2239 80.91.229.6 (11 Feb 2006 00:23:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2006 00:23:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 11 01:23:33 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7ch3-0004xH-00 for ; Fri, 10 Feb 2006 19:08:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7ch2-0006Ap-4Q for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Feb 2006 13:08:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn13feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:a8qpqWyXlhf/kIP3K04t2VVzagk= Original-Lines: 14 Original-NNTP-Posting-Host: 67.68.216.244 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1139592875 67.68.216.244 (Fri, 10 Feb 2006 12:34:35 EST) Original-NNTP-Posting-Date: Fri, 10 Feb 2006 12:34:35 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:137496 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33125 Archived-At: > I no searched 2 hours for auto-indentation in emacs. I couldn't find > anything. Could someone please tell me how it works? I suspect you're victim of a misunderstanding. Emacs's auto-indentation is just always present. You don't have to look for it. The way it works: you hit TAB and it automatically finds the right spot to indent the current line. If you want all the code to be automatically indented all the time without you hitting any special key, it's something else and Emacs doesn't do that in general. Stefan