help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: whitespace issues


From: Ian Zimmerman
Subject: Re: whitespace issues
Date: Tue, 30 Jun 2015 08:24:36 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On 2015-06-30 07:17 -0700, Rusi wrote:

> 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?

Yes, see write-file-functions and untabify

> 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)

Emacs is probably the wrong tool for this, I would try some combination
of sed, tr, awk, jot

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]