From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#11879: 24.1.50; delete-trailing-whitespace now removes empty lines at end of file Date: Mon, 16 Jul 2012 23:36:23 +0200 Message-ID: <87hat78k2w.fsf@turtle.gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1342474639 16920 80.91.229.3 (16 Jul 2012 21:37:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2012 21:37:19 +0000 (UTC) Cc: Juanma Barranquero , Matt Arsenault , 11879@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 23:37:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sqsyc-0007sP-QN for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 23:37:10 +0200 Original-Received: from localhost ([::1]:38873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqsyc-0005gK-13 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2012 17:37:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqsya-0005gE-2y for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:37:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqsyY-0000HU-QP for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqsyY-0000HM-Mr for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:37:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sqt4I-0006kO-FI for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2012 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sven Joachim Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2012 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11879-submit@debbugs.gnu.org id=B11879.134247494025887 (code B ref 11879); Mon, 16 Jul 2012 21:43:02 +0000 Original-Received: (at 11879) by debbugs.gnu.org; 16 Jul 2012 21:42:20 +0000 Original-Received: from localhost ([127.0.0.1]:44753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sqt3c-0006jU-8N for submit@debbugs.gnu.org; Mon, 16 Jul 2012 17:42:20 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:49053) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Sqt3Z-0006jJ-PW for 11879@debbugs.gnu.org; Mon, 16 Jul 2012 17:42:18 -0400 Original-Received: (qmail invoked by alias); 16 Jul 2012 21:36:20 -0000 Original-Received: from p4FC763F3.dip.t-dialin.net (EHLO turtle.gmx.de) [79.199.99.243] by mail.gmx.net (mp033) with SMTP; 16 Jul 2012 23:36:20 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18W8e1rQ/AWnYC5G8/N2gpni2OslBye0p4jVzqE4j dnMNJ0/dPqntgJ Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id 960283F48E; Mon, 16 Jul 2012 23:36:23 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Sun, 15 Jul 2012 18:31:46 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62007 Archived-At: On 2012-07-16 00:31 +0200, Stefan Monnier wrote: >>> This appeared during the Emacs 24 feature freeze, I don't see why. >>> I suggest using an optional prefix argument to control this. >> Why not treat it as an annoying regression, which it is? > > I can't remember the exact details, but I do remember it being > introduced on purpose (tho the purpose might not have justified it). > I think it was judged that a new custom var for it or a new function was > not needed. > > And, while there is a change, I haven't yet seen a clear argument that > this change is a problem. There may be cases where an empty line at the end is actually necessary. For instance, I occasionally edit chess game files in PGNš format, and removing the trailing empty line breaks the nice feature that several of such files can be combined with cat(1) to produce a larger one. Cheers, Sven 1. http://en.wikipedia.org/wiki/Portable_Game_Notation