From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maurizio Vitale Newsgroups: gmane.emacs.help Subject: Re: a emacs mode to see newline, tabs, spaces Date: Thu, 13 Aug 2009 22:05:14 -0400 Organization: Polymath Solutions, Inc. Message-ID: <87ws57jgkl.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> References: <3b9893450908131210p15d4d610vfaad872b973c5768@mail.gmail.com> <87bpmjle23.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> <3b9893450908131836n5642338bh4ba4505076b36e6c@mail.gmail.com> Reply-To: maurizio.vitale@polymath-solutions.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250215468 30031 80.91.229.12 (14 Aug 2009 02:04:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 02:04:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 04:04:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mbm9U-0007vE-Sv for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2009 04:04:21 +0200 Original-Received: from localhost ([127.0.0.1]:47304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbm9U-00081t-FY for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 22:04:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbm8o-0007tb-LH for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 22:03:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mbm8k-0007s1-0F for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 22:03:38 -0400 Original-Received: from [199.232.76.173] (port=55364 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbm8j-0007ru-TO for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 22:03:33 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:37471 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mbm8j-00052R-CQ for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 22:03:33 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Mbm8f-0000dz-Lt for help-gnu-emacs@gnu.org; Fri, 14 Aug 2009 02:03:30 +0000 Original-Received: from pool-71-182-166-56.pitbpa.east.verizon.net ([71.182.166.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2009 02:03:29 +0000 Original-Received: from maurizio.vitale by pool-71-182-166-56.pitbpa.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2009 02:03:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-182-166-56.pitbpa.east.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:XQ45IF3WivoYnf/d333OLyxISMM= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67136 Archived-At: >>>>> "n179911" == n179911 writes: n179911> Thank you. I have installed whitespace.el. And I have read n179911> 'http://www.emacswiki.org/emacs/download/whitespace.el' n179911> But is there a way to convert a section of the code (not n179911> the whole file) so that all the tab will be 4 spaces? I n179911> tried 'whitespace-cleanup-region', but that does not change n179911> anything. If by this you mean that all tabs are replaced by 4 spaces: - set tab-width to 4 - mark the region of interest - M-x untabify oth, Maurizio --