all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anders Wirzenius <anders@no.email.thanks.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: Weird Tabbing Effects
Date: Wed, 02 Apr 2008 09:13:12 GMT	[thread overview]
Message-ID: <usky4pql3.fsf@no.email.thanks.invalid> (raw)
In-Reply-To: fsu38r$sgq$1@tabloid.srv.ualberta.ca

Roman E <re@just.ask.me.com> writes:

> Hi all,
> 
> I'm a bit of an emacs novice, but I was recently converted to
> textmate. However, when I look at my code (that was written using
> emacs) with textmate (or any other editing program for that matter)
> the tabbing shows up funky. Sometimes there are less tabs then show up
> in emacs.
> 
> Is there any way I can fix these files so that they're viewable in
> other editors? Also, what caused this problem?
> 
> Thanks!
> 
> -Roman

Maybe there is a mix of tabs and spaces?
Tabs are displayed according to terminal settings and if they are
different in the editors, tabs are displayed differently.
Have a look at variable indent-tabs-mode in Emacs (c-h v
indent-tabs-mode).
Look for tabs in the file and see if some of the tabs have been
replaved by spaces (c-s c-q c-i c-s c-s).

-- 
Anders


      parent reply	other threads:[~2008-04-02  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 19:43 Weird Tabbing Effects Roman E
2008-04-02  9:06 ` Peter Dyballa
2008-04-02  9:49   ` Tassilo Horn
2008-04-02  9:13 ` Anders Wirzenius [this message]

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=usky4pql3.fsf@no.email.thanks.invalid \
    --to=anders@no.email.thanks.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /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.