This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Implement -list-thread-groups.
On Friday 14 November 2008 17:28:43, Vladimir Prus wrote:
> Done. Indicentally, I know how to configure Emacs to remove trailing
> whitespace on save. But pretty much every source file in gdb already has such
> lines. If somebody tell me how to make Emacs not add lines without trailing
> whitespace, while *not* changing existing lines, it would be gtreat.
I just do 'quilt refresh --strip-trailing-whitespace' which gets rid
of most of the extra whitespace *I'm touching*, but leaves the rest
untouched. Won't work if you don't use quilt. :-)
In addition, in emacs, I tend to switch into whitespace-mode when I'm
doing final editing of my patches, which lets you easily see all the
redundant and wrong indentation in full color.
--
Pedro Alves