unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Vinicius Jose Latorre <viniciusjl@ig.com.br>
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 08:30:51 -0800	[thread overview]
Message-ID: <200802171630.m1HGUqed027238@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <47B65D8B.2060308@ig.com.br> (Vinicius Jose Latorre's message of "Sat, 16 Feb 2008 00:50:35 -0300")

Vinicius Jose Latorre <viniciusjl@ig.com.br> writes:

  > >   > I'd lke to suggest adding trim.el to the distribution. It provides
  > >   > handy functions to fix buffer's/region's whitespace problems.
  > >
  > > Does it provide anything that emacs/lisp/whitespace.el in CVS HEAD does
  > > not provide?  If yes, then can the code be integrated in whitespace.el?
  > > It's not desirable for users to have to learn about 2 different packages
  > > to get very closely related functionality.
  > >   
  > 
  > 
  > Yes, there are some functionalities that whitespace.el doesn't have,
  > that is, trim-defines (well, is this function useful?) 

IMHO it is not.  What is the point of this function?

  > and untrim-lines.

The name of this function is confusing, and what it does is to add ^M at
the end of each line in the region.  Not useful.





      parent reply	other threads:[~2008-02-17 16:30 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
2008-02-17 16:30     ` Dan Nicolaescu [this message]

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=200802171630.m1HGUqed027238@sallyv1.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=jari.aalto@cante.net \
    --cc=viniciusjl@ig.com.br \
    --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).