From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Checking in files with trailing white space Date: Mon, 21 Mar 2016 09:10:30 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1458565869 3688 80.91.229.3 (21 Mar 2016 13:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2016 13:11:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 14:11:03 2016 Return-path: Envelope-to: ged-emacs-devel@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 1ahzbr-0008Mb-0v for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 14:11:03 +0100 Original-Received: from localhost ([::1]:57735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahzbq-0001Hg-Cr for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2016 09:11:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahzbb-0001HZ-4t for emacs-devel@gnu.org; Mon, 21 Mar 2016 09:10:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahzbV-0002gZ-JI for emacs-devel@gnu.org; Mon, 21 Mar 2016 09:10:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahzbV-0002gT-CL for emacs-devel@gnu.org; Mon, 21 Mar 2016 09:10:41 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ahzbT-0008Bu-PH for emacs-devel@gnu.org; Mon, 21 Mar 2016 14:10:39 +0100 Original-Received: from 157-52-2-179.cpe.teksavvy.com ([157.52.2.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2016 14:10:39 +0100 Original-Received: from monnier by 157-52-2-179.cpe.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2016 14:10:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 157-52-2-179.cpe.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:jZiMk9RCNu4IivDlHPnw8Byu8Qk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201986 Archived-At: > I'm adding test cases for the shr HTML rendering, and in some of the > tests there should really be trailing white space in the result files. > Is there a way to say that the test/data/shr directory should be allowed > to have trailing spaces in our git/checkin thing? How 'bout you don't store files with trailing whitespace, but instead store files which contain code which creates those trailing whitespaces. E.g. (ert-deftest ... (with-temp-buffer (insert "foo ") )) -- Stefan