emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal: diff-remove-trailing-blanks


From: Óscar Fuentes
Subject: Re: Proposal: diff-remove-trailing-blanks
Date: Sat, 26 Apr 2008 21:38:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

Dan Nicolaescu <address@hidden> writes:

> 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.
>
> (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).

That's what I do too. Maybe it is possible to teach whitespace-mode to
ignore lines not beginning with [-\+!<>].

-- 
Oscar





reply via email to

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