From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyBtS-0006YD-LU for qemu-devel@nongnu.org; Mon, 19 May 2008 16:23:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyBtQ-0006XG-6B for qemu-devel@nongnu.org; Mon, 19 May 2008 16:23:37 -0400 Received: from [199.232.76.173] (port=46744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyBtP-0006X7-Va for qemu-devel@nongnu.org; Mon, 19 May 2008 16:23:36 -0400 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:3585) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyBtP-0004yB-G4 for qemu-devel@nongnu.org; Mon, 19 May 2008 16:23:35 -0400 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20080519202725.UNSQ58.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Mon, 19 May 2008 21:27:25 +0100 Received: from miranda.arrow ([213.107.26.151]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20080519202611.UHLV17393.aamtaout02-winn.ispmail.ntl.com@miranda.arrow> for ; Mon, 19 May 2008 21:26:11 +0100 Received: from sdb by miranda.arrow with local (Exim 4.63) (envelope-from ) id 1JyBtF-0006L6-Qe for qemu-devel@nongnu.org; Mon, 19 May 2008 21:23:25 +0100 Date: Mon, 19 May 2008 21:23:25 +0100 From: Stuart Brady Subject: Re: [Qemu-devel] Patch removing spaces Message-ID: <20080519202325.GA24343@miranda.arrow> References: <948556.48155.qm@web57013.mail.re3.yahoo.com> <18481.20318.581788.423619@mariner.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, May 19, 2008 at 09:14:00PM +0300, Blue Swirl wrote: > Thanks, it's ugly! Ugly, but neat! :) BTW, for those using VIM, place this in your .vimrc: highlight WhiteSpaceEOL ctermbg=darkgreen guibg=lightgreen match WhiteSpaceEOL /\s\+$/ autocmd WinEnter * match WhiteSpaceEOL /\s\+$/ Taken from http://www.vim.org/tips/tip.php?tip_id=1040, and modified not to highlight leading spaces -- perhaps highlighting groups of eight or more leading spaces would be useful, though? HTH, -- Stuart Brady