From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.devel Subject: Re: delete-indentation - text.texi Date: Tue, 04 Jul 2006 07:30:23 +0200 Message-ID: <44A9FCEF.6060506@easy-emacs.de> References: <44A80813.3060209@easy-emacs.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151990990 12582 80.91.229.2 (4 Jul 2006 05:29:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2006 05:29:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 07:29:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxdTh-0004nb-7T for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2006 07:29:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxdTg-0008GE-DA for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2006 01:29:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FxdTV-0008FZ-55 for emacs-devel@gnu.org; Tue, 04 Jul 2006 01:29:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FxdTS-0008F1-Qn for emacs-devel@gnu.org; Tue, 04 Jul 2006 01:29:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxdTS-0008Ex-Iq for emacs-devel@gnu.org; Tue, 04 Jul 2006 01:29:26 -0400 Original-Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fxdh1-0000Ix-FF; Tue, 04 Jul 2006 01:43:28 -0400 Original-Received: from [84.190.193.93] (helo=[192.168.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1FxdTL3Ajb-0008WS; Tue, 04 Jul 2006 07:29:22 +0200 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) Original-To: rms@gnu.org, emacs-devel In-Reply-To: X-Provags-ID: kundenserver.de abuse@kundenserver.de login:62d13292e0fce6aaed56aaadcb96352d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56461 Archived-At: Richard Stallman schrieb: > I'm afraid, `delete-indentation' is labeled from a side > affect of two other functions: join-lines and > fixup-whitespace, implemented in C however. > > The name `delete-indentation' may be somewhat misleading as a name. > That is why we made the alias `join-line'. > > Just give in here an extraction from gnu.emacs.help which demonstrates, that a pure `delete-indendation' function might be missed. ,---- | | | Re: Indentation | Von: | Colin S. Miller | Datum: | Dienstag 04 Juli 2006 01:00:08 | Gruppen: | gnu.emacs.help | Referenzen: 1 | | Ronny Mandal wrote: | > Hi. | > | > Does anyone know how I get rid of the annoying indentation after e.g. | > if-statements (in multiple languages), i.e. (C-example): | > | > if(condition) | > { Why?! | > } | > | > | > Thanks. | > | > -RM | That's the default indent style, its used for all GNU project code. | | (c-add-style "myStyle" '("bsd" | (c-basic-offset . 4))) | | (add-hook 'c-mode-common-hook '(lambda () | (c-set-style "myStyle"))) | | | should change it to a more-normal style. | `---- __ Andreas Roehler