From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "VICTOR TARABOLA CORTIANO" Newsgroups: gmane.emacs.help Subject: Re: Emacs behavior Date: Tue, 04 May 2010 00:44:12 -0300 Message-ID: <20100504034413.8008B70000094@urquell.c3sl.ufpr.br> References: <20100503021304.GD11102@srevilak.net> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1272985252 15270 80.91.229.12 (4 May 2010 15:00:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 15:00:52 +0000 (UTC) To: help-gnu-emacs@gnu.org, steve@srevilak.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 17:00:50 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O9Jc7-000168-RQ for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 17:00:48 +0200 Original-Received: from localhost ([127.0.0.1]:47854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Jc6-0004Cl-N5 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 11:00:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O993j-0003Cp-HK for help-gnu-emacs@gnu.org; Mon, 03 May 2010 23:44:35 -0400 Original-Received: from [140.186.70.92] (port=33087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O993h-0003Ch-HQ for help-gnu-emacs@gnu.org; Mon, 03 May 2010 23:44:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O993g-00057M-DO for help-gnu-emacs@gnu.org; Mon, 03 May 2010 23:44:33 -0400 Original-Received: from mx.inf.ufpr.br ([200.17.202.3]:48123 helo=urquell.c3sl.ufpr.br) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O993g-00055C-5Y for help-gnu-emacs@gnu.org; Mon, 03 May 2010 23:44:32 -0400 Original-Received: from c3sl.ufpr.br (bowmore.c3sl.ufpr.br [200.17.202.53]) by urquell.c3sl.ufpr.br (Postfix) with SMTP id 8008B70000094; Tue, 4 May 2010 00:44:13 -0300 (BRT) Original-Received: by c3sl.ufpr.br (sSMTP sendmail emulation); Tue, 04 May 2010 00:44:12 -0300 In-Reply-To: <20100503021304.GD11102@srevilak.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 04 May 2010 10:58:19 -0400 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:72892 Archived-At: > Putting something like > > (setq c-basic-offset 8 > indent-tabs-mode t) > > into ~/.emacs may give some of the behavior you're looking for. > > You can also try > > (setq c-indentation-style "linux") > Thank you. I removed my old .emacs and put that instead, it works almost perfectly. The only issue is: function() { } It puts the first "{" in the wrong place, but it's just a matter of C-d and then it goes to its place: function() { } It would be fine to make it right in the first place. But it's good enough now. It's just a matter of deleting an extra tab... Thank you very much.