From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: tab/csv spreadsheet-type tabbing mode? Date: Sat, 27 Jan 2007 13:36:42 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87d5515h6t.fsf@lion.rapttech.com.au> References: <1169480223.427010.304410@38g2000cwa.googlegroups.com> <1169668372.719868.171250@j27g2000cwj.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169865698 17896 80.91.229.12 (27 Jan 2007 02:41:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2007 02:41:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 27 03:41:30 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HAdVR-0006uD-0k for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jan 2007 03:41:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAdVQ-0003QT-Gc for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jan 2007 21:41:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-07!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:ZMQdbVUJnkkoYD5IHvpj1QBwPss= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 38 Original-Xref: shelby.stanford.edu gnu.emacs.help:145095 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40699 Archived-At: Stefan Monnier 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