From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: Delete trailing whitespace bug? Date: Mon, 09 Apr 2007 16:17:59 +0200 Message-ID: <461A4B17.60900@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176132872 8791 80.91.229.12 (9 Apr 2007 15:34:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2007 15:34:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jose Antonio Ortega Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 09 17:33:44 2007 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 1HaujP-0007Pn-Gg for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2007 16:20:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HaunE-0001yV-BK for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2007 10:24:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Haukm-0000rI-NW for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 10:21:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Haukk-0000q4-No for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 10:21:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Haukk-0000ps-GT for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 10:21:54 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Haugt-00071d-CB; Mon, 09 Apr 2007 10:17:55 -0400 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:59847 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1Haugp-00021U-4M; Mon, 09 Apr 2007 16:17:54 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 000731-1, 2007-04-08), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1Haugp-00021U-4M. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Haugp-00021U-4M 2dd734080233019d0e2b5bbac9461eee X-detected-kernel: Linux 2.6? (barebone, rare!) 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:42522 Archived-At: Jose Antonio Ortega wrote: > Hi. Since time immemorial, i've use delete-trailing-whitespace in my > write-file-hooks to ensure, well, that my files are saved without > trailing whitespaces. It works like a charm except for the fact that a > trailing vertical bar (|) is, apparently, considered whitespace; that > is, it's deleted when saving the file. This happened with emacs 21, > and happends too with emacs 22, both in GNU/Linux and Mac OS X. > > Has anyone else observed this behaviour? Any ideas on what could be > causing it? Please submit a bug report for Emacs 22, yet in beta test. There are a couple of days more to fix this bug!