From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard H Lee Newsgroups: gmane.emacs.help Subject: Auto-indentation Date: Fri, 20 Apr 2012 13:57:14 +0100 Message-ID: <4F915D2A.1040607@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1334938915 26352 80.91.229.3 (20 Apr 2012 16:21:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 16:21:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 18:21:54 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SLGan-0005xe-E3 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 18:21:53 +0200 Original-Received: from localhost ([::1]:44857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLGam-0006qj-Ne for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 12:21:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLDOu-0001wC-LD for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 08:57:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLDOo-0006nq-AK for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 08:57:24 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:41346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLDOo-0006n4-19 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 08:57:18 -0400 Original-Received: by bkwq16 with SMTP id q16so8997807bkw.0 for ; Fri, 20 Apr 2012 05:57:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=olcF/wyxIS++v7VWGlHxbxru+mOyJeanDB/KFSF+epo=; b=qj/+wkMHJSCrmXy9gLEkHNT92BJOLuEpTinwj2tws3VoXtglf9Qr7l7XmihaasiSeu GVhKjx0VZnNji4DJhk1K1VGksN0Ytc3Fzm4B3AoIFtJMKFRiFLj1uM91L14R8AJmqnz7 nJGatkB5C3hETZBD6XYbtxFOSMqjrLiozuRcwyWa7rix6xDFOyuk+wpy7yVx/d+hGNB9 frg5sD9lgh0ujDLE5yAVoU5xcoa1mmLIsYRLfE9hItZnjbf+f34sYTtR1X4KBIJWNnvC jjONmITfZUycAz+JcmiV2Dy7iSVKnEsqgRclUY7hLcFkuauCdOWIb/39d+zLwyJ5lKRh hXEA== Original-Received: by 10.205.121.130 with SMTP id gc2mr977789bkc.15.1334926635846; Fri, 20 Apr 2012 05:57:15 -0700 (PDT) Original-Received: from [192.168.1.187] (87-194-63-158.bethere.co.uk. [87.194.63.158]) by mx.google.com with ESMTPS id s16sm9919794bkt.3.2012.04.20.05.57.15 (version=SSLv3 cipher=OTHER); Fri, 20 Apr 2012 05:57:15 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.41 X-Mailman-Approved-At: Fri, 20 Apr 2012 12:21:48 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84533 Archived-At: I would like to use auto-indentation in emacs. When I C-j in C syntax it add an extra indent if it is expecting an extra code block. It also does so if I type an opening curly bracket. E.g for(;;;) { I just want emacs to keep the indent of the line I'm on, that is all. I don't need emacs to predict indentation for me. Richard