From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: how do you strip leading white spaces in c-mode or similar? Date: Fri, 06 Jul 2007 18:52:51 +0300 Message-ID: References: <1183595671.444536.287460@r34g2000hsd.googlegroups.com> <1183685346.183441.17470@n60g2000hse.googlegroups.com> <87odipq0pr.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1183737207 7401 80.91.229.12 (6 Jul 2007 15:53:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 15:53: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 Fri Jul 06 17:53:26 2007 connect(): Connection refused 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 1I6q7a-0003Fd-9Q for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 17:53:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6q7Z-00010V-V5 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 11:53:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6q7M-00010Q-89 for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 11:53:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6q7L-00010E-P0 for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 11:53:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6q7L-00010A-MV for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 11:53:11 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6q7L-0005Kl-1s for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 11:53:11 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-153-60.inter.net.il [80.230.153.60]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DAC91819 (AUTH halo1); Fri, 6 Jul 2007 18:52:51 +0300 (IDT) In-reply-to: (message from Nikolaj Schumacher on Fri, 06 Jul 2007 14:48:38 +0200) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:45513 Archived-At: > From: Nikolaj Schumacher > Date: Fri, 06 Jul 2007 14:48:38 +0200 > > Eli Zaretskii wrote: > > >> From: Tassilo Horn > >> Date: Fri, 06 Jul 2007 12:35:12 +0200 > >> > >> That's strange, anyway. Here, my emacs (22.1) removes trailing > >> whitespaces in the current line as soon as I go to the next line... > > > > It does that for me, too. > > `newline' doesn't. Only `newline-and-indent' does. Why should anyone use `newline' instead of `newline-and-indent'?