unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Dziulko <weaselboy1976@yahoo.com>
Subject: Re: Displaying TABS vs SPACES
Date: Thu, 3 Jun 2004 05:10:37 -0700 (PDT)	[thread overview]
Message-ID: <20040603121037.72580.qmail@web41806.mail.yahoo.com> (raw)
In-Reply-To: <20040603030800.85371.qmail@web40501.mail.yahoo.com>


[-- Attachment #1.1: Type: text/plain, Size: 1175 bytes --]

I'm not sure if there's a mode, but if your looking to convert tabs to spaces or vice versa, there are a number of methods and tools to help you.  Regular expressions will help, for example to replace tabs with spaces:
M-x replace-regexp <RET>
press TAB key <RET>
press SPACE BAR desired number of times <RET>
 
Also, C-x, h to mark buffer, then M-C-\ to indent all lines according to your style might help.

exits funnel <exitsfunnel@yahoo.com> wrote:
Hello,

I'm trying to find a way to distinguish tabs from
consecutive spaces in some source code I've inherited
so I can get the formatting straightened out, but I
can't figure out how. I'm sure there must be a mode
which allows me to distinguish the two. If anyone
could point me in the right direction I'd really
appreciate it.

-exits




__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

[-- Attachment #1.2: Type: text/html, Size: 1530 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  parent reply	other threads:[~2004-06-03 12:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  3:08 Displaying TABS vs SPACES exits funnel
2004-06-03 11:22 ` Micha Feigin
2004-06-03 11:25 ` Micha Feigin
2004-06-10  0:11   ` exits funnel
2004-06-10  0:50     ` Jim Marshall
2004-06-10  7:09     ` Micha Feigin
2004-06-03 12:10 ` Kevin Dziulko [this message]
2004-06-03 16:03 ` Kai Grossjohann
2004-06-10  0:14   ` exits funnel
2004-06-10 16:44     ` Drew Adams
2004-06-10 17:01       ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20040603121037.72580.qmail@web41806.mail.yahoo.com \
    --to=weaselboy1976@yahoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).