all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>, emacs-devel@gnu.org
Subject: Re: Proposal: diff-remove-trailing-blanks
Date: Sat, 26 Apr 2008 16:50:54 -0300	[thread overview]
Message-ID: <4813879E.8030700@ig.com.br> (raw)
In-Reply-To: <200804261845.m3QIixvX026773@sallyv1.ics.uci.edu>

Dan Nicolaescu wrote:
> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>   > Some time ago Steffan suggested that this function could be a worth
>   > addition to diff-mode. If this is ok, I need to sign the copyright
>   > papers.
>
> This seems like a good idea.  It would be even nicer if something like
> this could be combined with whitespace-mode to clearly show trailing
> whitespace.  That way the user knows he has a problem.
>   

Well, whitespace-mode shows trailing blanks.
See whitespace-style variable.

It also reports that a buffer has a trailing blanks, besides other bogus 
whitespaces.
See whitespace-report function.

It also cleans trailing blanks.
See whitespace-cleanup function.

See also whitespace-action variable for some automatic actions that can 
be taken when a buffer is visited, killed or written.

> (I currently do (setq show-trailing-whitespace t) in a hook for
> diff-mode-hook, but it is not good enough, it highlights things that are
> not relevant in a diff)

What relevant things would you like to see (or to be done) in a diff buffer?






  parent reply	other threads:[~2008-04-26 19:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-26 14:59 Proposal: diff-remove-trailing-blanks Óscar Fuentes
2008-04-26 18:44 ` Dan Nicolaescu
2008-04-26 19:38   ` Óscar Fuentes
2008-04-26 19:50   ` Vinicius Jose Latorre [this message]
2008-04-26 20:08     ` Óscar Fuentes
     [not found]       ` <4813A244.4050908@ig.com.br>
2008-04-26 22:07         ` Óscar Fuentes
2008-04-27  2:30           ` Vinicius Jose Latorre
2008-04-27  2:59             ` Vinicius Jose Latorre
2008-04-27  4:04             ` Óscar Fuentes
     [not found]               ` <48146DF3.3090706@ig.com.br>
     [not found]                 ` <48147BC0.6080406@ig.com.br>
2008-04-27 15:15                   ` Óscar Fuentes
2008-04-27 17:30                     ` Vinicius Jose Latorre
2008-04-27 20:05                       ` Óscar Fuentes
2008-05-01  0:34                         ` Vinicius Jose Latorre
2008-05-01  1:04                           ` Óscar Fuentes
2008-05-02 14:22                           ` Stefan Monnier
2008-05-07  0:25                             ` Vinicius Jose Latorre
2008-05-07  2:04                               ` Stefan Monnier
2008-05-10  0:45                                 ` Vinicius Jose Latorre

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

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

  git send-email \
    --in-reply-to=4813879E.8030700@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.