From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tiago Pierezan Camargo Newsgroups: gmane.emacs.help Subject: Re: Setting auto-indentation of braces Date: Tue, 10 Feb 2009 14:02:06 -0200 Message-ID: <2ab8a3250902100802j31706f3doc3333d0aee12491c@mail.gmail.com> References: <4991527f$0$14913$9b536df3@news.fv.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234363527 30732 80.91.229.12 (11 Feb 2009 14:45:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2009 14:45:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 11 15:46:42 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXGMF-0005Aw-2p for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Feb 2009 15:46:35 +0100 Original-Received: from localhost ([127.0.0.1]:50892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXGKq-0008JF-58 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Feb 2009 09:45:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWv3s-0006hf-Uz for help-gnu-emacs@gnu.org; Tue, 10 Feb 2009 11:02:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWv3r-0006fi-BM for help-gnu-emacs@gnu.org; Tue, 10 Feb 2009 11:02:12 -0500 Original-Received: from [199.232.76.173] (port=46595 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWv3q-0006fT-Vm for help-gnu-emacs@gnu.org; Tue, 10 Feb 2009 11:02:11 -0500 Original-Received: from el-out-1112.google.com ([209.85.162.183]:16388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWv3q-0002gq-Ga for help-gnu-emacs@gnu.org; Tue, 10 Feb 2009 11:02:10 -0500 Original-Received: by el-out-1112.google.com with SMTP id b25so1195469elf.12 for ; Tue, 10 Feb 2009 08:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ANh7//ckCkb/l/oxFqn1yyeU5s4pkleHmLuLpm1Bpy8=; b=O/izvbYc8/PUBGqBLXKPQ6SphuMQnBjbmXI1Ac+fPkgFhntsmbcHIKC6s7vYtty2ym A43rDIu8fGlZeo8FW9sDlLgsNQNgS3JBOxvwLiSrgINuxoYFL1vNbSF+AkgYAynuyzk9 fjc56KuRzvxrk86dbtuStV1VdaLbgt/QkJvDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UsZnqcooKCBj+Q3Uxle28c4pkTgGIw1TxLTCO8p2jAhqh2zZfHKr2XNRZwPNz0ZKUN mGk+e0bXjKGk812Caal5tYfBXrNiit4AzclHvpP7AsV6g6IE1PLsafl5m0v8h8MkUBr8 f20yTNREn8cWonJz+51Vgp4qmjUENbo5cMFDI= Original-Received: by 10.143.28.8 with SMTP id f8mr2600907wfj.204.1234281726730; Tue, 10 Feb 2009 08:02:06 -0800 (PST) In-Reply-To: <4991527f$0$14913$9b536df3@news.fv.fi> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 11 Feb 2009 09:38:09 -0500 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:62053 Archived-At: On Tue, Feb 10, 2009 at 8:10 AM, Juha Nieminen wrote: > In the linux version of emacs, when I'm writing a C/C++/other {}-based > language, when I write a { to start a new block, emacs automatically indents > it. > Which magic .emacs line turns this feature on? http://www.gnu.org/software/emacs/manual/html_node/emacs/Electric-C.html#Electric-C -- Tiago Pierezan Camargo tcamargo at gmail dot com