delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/09/17:03:00

From: Paul Shirley <Paul AT no DOT spam DOT please>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Missing seperators using MAKE
Date: Tue, 9 Dec 1997 03:44:59 +0000
Organization: wot? me?
Distribution: world
Message-ID: <19m3+CA76Lj0EwEr@foobar.co.uk>
References: <01bd0440$27b60420$ecdcc7c7 AT suzie>
Reply-To: Paul Shirley <Paul AT chocolat DOT obvious DOT fake DOT foobar DOT co DOT uk>
NNTP-Posting-Host: chocolat.foobar.co.uk
Mime-Version: 1.0
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <01bd0440$27b60420$ecdcc7c7 AT suzie>, mephisto
<mephisto AT cloudnet DOT com> writes
>I use JED(an emacs clone) and I have the same problem. It seems that not
>many text editor designors deined it neccesary to use read tabs. Notepad
>for windows is what I use to insert real tabs. Sad but true.

load up your jed.rc file (its in jed/lib/jed.rc) and search for this
section:
%----------------------------------------------------------------------
%
%   TAB key setting  -- by default, the tab key is bound to
'indent_line_cmd'.
%                       If you want a real tab inserted, uncomment next
line.
%
   setkey("self_insert_cmd", "^I");

... and uncomment it.
Simple.

If you feel like a bit of scripting it should be possible to modify this
in the mode system to be selectable for various file types. I also have
indent_line_cmd bound to shift-TAB. Jed conveniently tries to retain
hard tabs even during autoindenting.
---
Paul Shirley: my email address is 'obvious'ly anti-spammed

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019