[Top][All Lists]

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

Re: Elastic tabstops?

From: Alan Mackenzie
Subject: Re: Elastic tabstops?
Date: Thu, 26 Feb 2009 15:41:46 +0000
User-agent: Mutt/1.5.9i


On Thu, Feb 26, 2009 at 03:21:55AM -0800, address@hidden wrote:
> Hello,

> is there an Emacs mode which implements elastic tabstops (tabstops
> that expand or shrink to fit their contents)? I've searched the
> Internet and it seems there isn't.

> Explanation of elastic tabstops with a Java applet demo:


I can't fully understand what you're saying in that webpage:

    we should say that a tab character is a delimiter between table
    cells in a manner more reminiscent of how they're used in tab
    separated value (TSV) files.

is rather abstract.  It says how we can think of a tab rather than its
effect on displaying the text on the screen.  What is meant, exactly, by
a "table cell"?  Is it a block of text 1cm wide, or something like that?

The picture on the webpage looks as though it's using tabs to do the
syntactical indentation from column 0, but spaces otherwise (e.g. for
the space between a statement and a line comment).  This isn't difficult
to achieve for CC Mode's languages (e.g. C), being a ~25 line hack.  If
that's what you want, say so, and I'll hunt out the hack.

> Thanks

Alan Mackenzie (Nuremberg, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]