all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maurizio Vitale <mav@cuma.i-did-not-set--mail-host-address--so-tickle-me>
To: help-gnu-emacs@gnu.org
Subject: Re: a emacs mode to see newline, tabs, spaces
Date: Thu, 13 Aug 2009 22:05:14 -0400	[thread overview]
Message-ID: <87ws57jgkl.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: 3b9893450908131836n5642338bh4ba4505076b36e6c@mail.gmail.com

>>>>> "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	other threads:[~2009-08-14  2:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 19:10 a emacs mode to see newline, tabs, spaces n179911
2009-08-13 19:16 ` Maurizio Vitale
2009-08-14  1:36   ` n179911
2009-08-14  2:05     ` Maurizio Vitale [this message]
2009-08-13 20:13 ` Drew Adams
     [not found] ` <mailman.4538.1250194416.2239.help-gnu-emacs@gnu.org>
2009-08-19 11:45   ` Sébastien Vauban
2009-08-21 16:07     ` Drew Adams
     [not found] <mailman.4536.1250190656.2239.help-gnu-emacs@gnu.org>
2009-08-13 20:00 ` Teemu Likonen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ws57jgkl.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mav@cuma.i-did-not-set--mail-host-address--so-tickle-me \
    --cc=help-gnu-emacs@gnu.org \
    --cc=maurizio.vitale@polymath-solutions.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.