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 15:32:50 +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 1183725201 27121 80.91.229.12 (6 Jul 2007 12:33:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 12:33:21 +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 14:33:19 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 1I6mzu-0007vV-Jm for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 14:33:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6mzu-0001gQ-4G for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 08:33:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6mzY-0001g9-Ik for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 08:32:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6mzX-0001fA-5f for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 08:32:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6mzW-0001ek-Nw for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 08:32:54 -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 1I6mzW-0002Al-6r for help-gnu-emacs@gnu.org; Fri, 06 Jul 2007 08:32:54 -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 DAC16892 (AUTH halo1); Fri, 6 Jul 2007 15:32:50 +0300 (IDT) In-reply-to: <87odipq0pr.fsf@baldur.tsdh.de> (message from Tassilo Horn on Fri, 06 Jul 2007 12:35:12 +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:45505 Archived-At: > From: Tassilo Horn > Date: Fri, 06 Jul 2007 12:35:12 +0200 > > > The white space usually is added when I press TAB and then ENTER > > for those who wonder where it comes from. > > 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. Johna, could you please check if the problem goes away in Emacs invoked with "emacs -Q"? If it does, then the problem is in some setting within your .emacs init file.