unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: rms@gnu.org
Cc: xemacs@seanm.ca, jari.aalto@cante.net, emacs-devel@gnu.org
Subject: Re: [RFC] trim.el -- Functions to delete extra whitespace
Date: Sun, 17 Feb 2008 14:20:41 -0300	[thread overview]
Message-ID: <47B86CE9.5060801@ig.com.br> (raw)
In-Reply-To: <E1JQjTN-0002q5-Vj@fencepost.gnu.org>


>     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	other threads:[~2008-02-17 17:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12 11:53 [RFC] trim.el -- Functions to delete extra whitespace Jari Aalto
2008-02-12 14:35 ` Dan Nicolaescu
2008-02-16  3:50   ` Vinicius Jose Latorre
2008-02-17 13:22     ` Richard Stallman
2008-02-17 17:20       ` Vinicius Jose Latorre [this message]
2008-02-17 16:30     ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B86CE9.5060801@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=emacs-devel@gnu.org \
    --cc=jari.aalto@cante.net \
    --cc=rms@gnu.org \
    --cc=xemacs@seanm.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).