From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1550 invoked by alias); 14 Nov 2008 17:44:45 -0000 Received: (qmail 1508 invoked by uid 22791); 14 Nov 2008 17:44:44 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Nov 2008 17:43:45 +0000 Received: (qmail 26421 invoked from network); 14 Nov 2008 17:43:43 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Nov 2008 17:43:43 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [RFC] Implement -list-thread-groups. Date: Fri, 14 Nov 2008 20:46:00 -0000 User-Agent: KMail/1.9.10 Cc: Vladimir Prus , Joel Brobecker References: <200811122333.29218.vladimir@codesourcery.com> <20081114015217.GD12802@adacore.com> <200811142028.43561.vladimir@codesourcery.com> In-Reply-To: <200811142028.43561.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811141743.57742.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00359.txt.bz2 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