From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Wirzenius Newsgroups: gmane.emacs.help Subject: Re: Weird Tabbing Effects Date: Wed, 02 Apr 2008 09:13:12 GMT Organization: Sonera Customer Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207146299 21224 80.91.229.12 (2 Apr 2008 14:24:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 14:24:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 02 16:25:22 2008 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 1Jh3tx-0001Z3-Fy for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2008 16:25:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh3tL-0005N0-5A for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2008 10:24:43 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 194.251.142.2 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1207127592 194.251.142.2 (Wed, 02 Apr 2008 12:13:12 EEST) Original-NNTP-Posting-Date: Wed, 02 Apr 2008 12:13:12 EEST Original-Xref: shelby.stanford.edu gnu.emacs.help:157597 X-Mailman-Approved-At: Wed, 02 Apr 2008 10:22:47 -0400 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:52976 Archived-At: Roman E 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