emacs-devel
[Top][All Lists]
Advanced

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

Re: [RFC] trim.el -- Functions to delete extra whitespace


From: Vinicius Jose Latorre
Subject: Re: [RFC] trim.el -- Functions to delete extra whitespace
Date: Sun, 17 Feb 2008 14:20:41 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080201 SeaMonkey/1.1.8


    Yes, there are some functionalities that whitespace.el doesn't have,
    that is, trim-defines (well, is this function useful?) and untrim-lines.
    Both functions can be implemented in whitespace.el.

Please make the useful extensions suggested by trim.el.

Well, I agree with Dan Nicolaescu that these functions are not so useful.

trim-defines seems to have a very specific usage.

untrim-lines only adds ^M at end of each line.
It seems the only usage should be to deal with CR LF for Windows text files,
probably when Emacs didn't deal with end of line depending on the environment,
that is, a very very long time ago.

All other functions are already implemented in whitespace.el,
except trim-spaces which seems to be a variant of just-one-space function.





reply via email to

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