[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT - trivial programming language

Incoming from Steve Lamb:
> Faheem Mitha wrote:
> > Bob Proulx makes good points elsewhere in this thread. Whether you
> > like the indentation as syntax feature is really a matter of
> > taste. Personally, I am ambivalent about it. On the one hand it makes
>     So have EMACS treat the tab key as the equivolent number of spaces and
> write the file out using spaces instead of tabs.  I'd tell you how but I'm a
> vim user and that is how vim handles it.


  <CTRL>-x h                    # mark entire buffer

  <ESC>-x untabify              # convert tabs to equivalent no. of spaces

And you can stuff (setq-default indent-tabs-mode nil) into your
startup file so the TAB key inserts the equivalent number of spaces
instead of TAB characters.

Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -

Reply to: