help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: a emacs mode to see newline, tabs, spaces


From: Maurizio Vitale
Subject: Re: a emacs mode to see newline, tabs, spaces
Date: Thu, 13 Aug 2009 22:05:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>>>> "n179911" == n179911  <n179911@gmail.com> 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
-- 





reply via email to

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