From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: whitespace issues Date: Tue, 30 Jun 2015 07:17:39 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1435674026 965 80.91.229.3 (30 Jun 2015 14:20:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 14:20:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 16:20:25 2015 Return-path: Envelope-to: geh-help-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 1Z9wOY-0003mA-Lk for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 16:20:18 +0200 Original-Received: from localhost ([::1]:47256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9wOX-0004wn-RL for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 10:20:17 -0400 X-Received: by 10.42.178.136 with SMTP id bm8mr3100119icb.13.1435673859795; Tue, 30 Jun 2015 07:17:39 -0700 (PDT) X-Received: by 10.50.102.71 with SMTP id fm7mr277482igb.8.1435673859725; Tue, 30 Jun 2015 07:17:39 -0700 (PDT) Original-Path: usenet.stanford.edu!j8no3327079igd.0!news-out.google.com!t2ni1577igk.0!nntp.google.com!j8no2410857igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.57.13; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.57.13 User-Agent: G2/1.0 Injection-Date: Tue, 30 Jun 2015 14:17:39 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:213030 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105317 Archived-At: I have two somewhat related questions, both around whitespace: 1. Is it possible to have some sort of save-hook so that all leading (indentation) whitespace is cleaned up to space alone and tabs are removed? 2. How to make a dirty crlf file in emacs? By dirty I mean, some lines ending LF (ie Unix) and some ending CRLF (ie DOS) [This is to test that such dirty-files are not add-able into git]