From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: use.address@my.homepage.invalid (Chris Gordon-Smith) Newsgroups: gmane.emacs.help Subject: Re: Tabs and Spaces Date: 26 May 2009 21:31:40 GMT Organization: SimSoup Message-ID: <7835dsF1kbm4vU1@mid.individual.net> References: <77vbbiF1jhhubU1@mid.individual.net> <780hs5F1jleh1U1@mid.individual.net> <87r5ycu0w6.fsf@galatea.local> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1243374052 20465 80.91.229.12 (26 May 2009 21:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 21:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 26 23:40:48 2009 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 1M94O5-0005si-JH for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 23:40:45 +0200 Original-Received: from localhost ([127.0.0.1]:50522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M94O4-0000Bd-VF for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 17:40:45 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net iiDKNjBTv/XVdiZfAdfUbQ4blwOiTy/moE2M9Bcf8F9CXRaOpw X-Orig-Path: not-for-mail Cancel-Lock: sha1:4E2FdVVYmVkbD6md62Yry8NjnnU= User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.26-2-686 (i686)) Original-Xref: news.stanford.edu gnu.emacs.help:169516 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:64749 Archived-At: Pascal J. Bourguignon wrote: > use.address@my.homepage.invalid (Chris Gordon-Smith) writes: >> I now have a solution. It turned out to be simpler than I thought: >> >> (global-set-key (kbd "TAB") 'tab-to-tab-stop) >> (setq-default indent-tabs-mode nil) > > But if you do that, you will have to indent by hand all your code!?! > Yes. This is certainly not ideal, but it is workable. Since it is unlikely that the built in emacs parsing / indentation will be able to handle my modified syntax, I think I have no choice for the short term. For the longer term, I definitely want to work out how to customise the indentation for my purposes. But I think for that I will need a lot more knowledge of Emacs and Lisp than I currently have. Chris Gordon-Smith www.simsoup.info