From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charles Sebold Newsgroups: gmane.emacs.help Subject: Re: On Edit GNU Emacs 22.2.1 Eats My Blank Characters At The End Of Lines Date: Thu, 11 Sep 2008 13:18:48 -0500 Organization: Ministry of Silly Walks Message-ID: References: <2d7b8712-75b6-43ee-8681-80621dee9e77@x16g2000prn.googlegroups.com> <2d042c3b-ac6d-4ac0-a09f-a06e54f875ca@a18g2000pra.googlegroups.com> <71e5b415-de6c-44ae-aa13-57b3db1b33fe@b30g2000prf.googlegroups.com> <58e7937c-2452-485b-acce-0da5fc829ade@p31g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221158695 31495 80.91.229.12 (11 Sep 2008 18:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 18:44:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 20:45:51 2008 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 1KdrAV-0007bC-8J for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 20:45:27 +0200 Original-Received: from localhost ([127.0.0.1]:53931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kdr9U-00082y-Uo for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 14:44:24 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe02.iad.POSTED!7564ea0f!not-for-mail Mail-Copies-To: nobody Original-Newsgroups: gnu.emacs.help X-Using-Mail-Mode: Gmail Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF Py4qdFVKtYRz3aSQR+07SwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gIEhcaB8/5OroA AAHxSURBVCjPLdExa9tAFMDxp1Jl6OZBGrJ36ac4g+2hSxXwCexAOzmQM9QfIIs9NLMNOYPVoUsl 0BNIUwafQPoKGdolHbo0BstgLy3FEuj15HS7H/93B3cHxExMieiLzwBwbotcI2xA8zM8aDwupxoP /BnP5fyE4vuMgWQ8yiuiv08LBtlUxDpQXX5iQLNh0oDWtw7Uczc64ejNgKaWaNZYvp+DeHjp5lRL V31YAGeWMT743J+8/QZbo9UXGIwz790vmBn99pAU5lHPh99mu+PWkifl7VfonvW4e/T7Vi2vwXnF ZdcN73uT4A66risuN/iHo9+HzcBbiQ2uuWy1oL0KwjebLaK3R/Dt69XHQ5FgRAjMdDnuirj4XBcA 9uoqXZdRFe0bIFKGiJNSj9l6Ot1yj3aoS/yDMqpyKlWDn1V5up4u58ljUTcoY7izswCj/6Xy8EKc UChIvfBF2DxWjQrU0jH4ZVN2ClA6FrfzpuwBfcsLcKxLpCAYDVwshkRVtodi8Zp7+VKPHUqI/YFA IfWmKoVCuiIONTLSR0vLS+gpqahScOzzC0H+5JDra0tmOqKU+vf2Cu6Z0Rni4ian/alw4S9uqMGI Ga43utBjSr8bszCU3UiHUMP0Qt6O0hRl842DFTejSgUDWDvmcNTpqjhc8n9hvWnVsoKmHAAAAABJ RU5ErkJggg== User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:WuOwo7xZK9hhoUaHNWuFJQ8vii0= Original-Lines: 40 Original-NNTP-Posting-Host: cbggobbepdfeflbildaedobifmeaokba Original-X-Complaints-To: abuse@charter.net Original-X-Trace: pdjoodfomhkjcoobfkhgnhldfhiklkalkdiddhbjfjjjbcbicbggobbepdfeflbiddfpoklkdebinfchhckffadkbphbigcddejjbcibbgcednmailieemgahbehlkcjfdlbpmaelemcakjp Original-NNTP-Posting-Date: Thu, 11 Sep 2008 18:18:49 UTC Original-Xref: news.stanford.edu gnu.emacs.help:162092 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:57435 Archived-At: On 11 Sep 2008, ChristopherL wrote: > GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) > of 2008-03-26 on RELEASE Same as I had before I upgraded to 22.3 (and I wasn't seeing anything then like what you describe either). It's the official one from GNU, I believe. Nothing weird that could be traced back to the EmacsW32 CVS build, then. > There are site-lisp folder,s but when I do a Windows search nothing in > them contains trailing*whitespace. So it isn't likely that it's that particular function giving you this problem, although there are ways to find out. We'll save that for now. > I get nil also. OK, it's not before-save-hook then. Wow, this is weird. OK, next thing is to see if you have the same behavior with -Q. >From a command prompt, let's try running C:\path\to\your\emacs\bin\runemacs.exe -Q ...and then tell us if you get exactly the same results as before. This will run Emacs with absolutely no add-ons or customizations whatsoever. You and I should be able to do the same thing and get the same results then. I just tested this with my own copy of Emacs 22.2, and my file edits retain whitespace and blank lines at the end of files. If yours doesn't, then maybe you ought to get a new copy of Emacs (22.3 came out last week) and try that. -- Charles Sebold 11th of September, 2008