all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tab/csv spreadsheet-type tabbing mode?
@ 2007-01-22 15:37 ivowel
  2007-01-24 19:52 ` ivowel
  0 siblings, 1 reply; 4+ messages in thread
From: ivowel @ 2007-01-22 15:37 UTC (permalink / raw)



dear emacs experts:  I often have to look at files that come from
spreadsheets.  (No, I do not need emacs to become a spreadsheet; I did
look at these solutions.)

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.

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.

Having such a mode would make editing such data a lot simpler for me.
Does it exist somewhere?

pointers appreciated.

/iaw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tab/csv spreadsheet-type tabbing mode?
  2007-01-22 15:37 tab/csv spreadsheet-type tabbing mode? ivowel
@ 2007-01-24 19:52 ` ivowel
  2007-01-26  5:11   ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: ivowel @ 2007-01-24 19:52 UTC (permalink / raw)
  To: help-gnu-emacs


Can I safely assume that this does not exist yet?

On Jan 22, 10:37 am, ivo...@gmail.com wrote:
> dear emacs experts:  I often have to look at files that come from
> spreadsheets.  (No, I do not need emacs to become a spreadsheet; I did
> look at these solutions.)
>
> 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.
>
> 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.
>
> Having such a mode would make editing such data a lot simpler for me.
> Does it exist somewhere?
> 
> pointers appreciated.
> 
> /iaw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tab/csv spreadsheet-type tabbing mode?
  2007-01-24 19:52 ` ivowel
@ 2007-01-26  5:11   ` Stefan Monnier
  2007-01-27  2:36     ` Tim X
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2007-01-26  5:11 UTC (permalink / raw)
  To: help-gnu-emacs

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tab/csv spreadsheet-type tabbing mode?
  2007-01-26  5:11   ` Stefan Monnier
@ 2007-01-27  2:36     ` Tim X
  0 siblings, 0 replies; 4+ messages in thread
From: Tim X @ 2007-01-27  2:36 UTC (permalink / raw)
  To: help-gnu-emacs

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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

Missed the beginning of this thread, so my apologies if I've got the wrong end
of the stick. However, it sounds like the OP may want to check out SES mode
(Simple Emacs Spreadsheet). This mode is being bundled with emacs 22. I used it
recently when having to work with rows and columns of data and found it quite
useful. In particular, I found the functionality of being able to hide
columns/rows and set column width formatting very useful.

regards,

Tim

-- 
tcross (at) rapttech dot com dot au

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-27  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 15:37 tab/csv spreadsheet-type tabbing mode? ivowel
2007-01-24 19:52 ` ivowel
2007-01-26  5:11   ` Stefan Monnier
2007-01-27  2:36     ` Tim X

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.