emacs-devel
[Top][All Lists]
Advanced

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

Re: show whitespace problems by default in diff-mode


From: Dan Nicolaescu
Subject: Re: show whitespace problems by default in diff-mode
Date: Thu, 16 Jul 2009 18:37:33 -0700 (PDT)

Óscar Fuentes <address@hidden> writes:

  > Dan Nicolaescu <address@hidden> writes:
  > 
  > > diff-mode is set up to show trailing whitespace problems, but it's not
  > > doing it by default, to enable this one has to do:
  > >
  > > (add-hook 'diff-mode-hook 'whitespace-mode)
  > >
  > > Vinicius also posted a patch to edit files to clean the trailing
  > > whitespace problems based on the diff.
  > >
  > > Why not turn on whitespace-mode by default in diff-mode?  It makes
  > > spotting whitespace problems very easy, and will make it also easy to
  > > fix.
  > 
  > Time ago I posted a patch for removing new trailing whitespace from
  > files based on their diffs. Vinicius suggested several improvements, so
  > maybe this code is the one that you mention. Aparently the maintainers
  > forgot about it and never was incorporated to Emacs. 

We had a feature freeze for a while, it could be incorporated.  Now it
can.  You can ask Stefan to check it in now.




reply via email to

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