help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: tab/csv spreadsheet-type tabbing mode?


From: Stefan Monnier
Subject: Re: tab/csv spreadsheet-type tabbing mode?
Date: Fri, 26 Jan 2007 00:11:18 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

> Can I safely assume that this does not exist yet?

I believe so, yes.  The only thing that comes to mind is csv-mode but it's
not doing what you ask for.

>> What I would love is a mode for a display that takes all the currently
>> visible on-screen data, and sets the tabs at the irregular places that
>> are warranted by the maximum length of each column on the screen (and
>> presumably sets truncate-lines).  oh, and tabs=field-delimiters could
>> be either real tabs, or commas (that are not inside quotations), as
>> they are in standard .csv files.

Using `display' text properties, you it's possible to write a package that
does that.

>> A second-best solution would be to set field widths not based on what
>> is currently visible, but based on the entire file's columns.

That would be fairly easy.


        Stefan


reply via email to

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