From 72ca698cb9543315c914f3548eea2512f8dffe7a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 9 Feb 2012 21:33:01 -0500 Subject: [PATCH] * doc/lispref/modes.texi (Basic Major Modes): Mention tabulated-list-mode. * etc/NEWS: Related markup. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/modes.texi | 14 ++++++++++++++ etc/NEWS | 1 + 3 files changed, 19 insertions(+) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 0546ec9e936..a823f4272fc 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2012-02-10 Glenn Morris + + * modes.texi (Basic Major Modes): Mention tabulated-list-mode. + 2012-02-08 Glenn Morris * loading.texi (Named Features): Update the require example. diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 052fd037167..0b020bee0b0 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -915,6 +915,20 @@ mode, which is used by the @samp{*Buffer List*} buffer. @xref{List Buffers,,Listing Existing Buffers, emacs, The GNU Emacs Manual}. @end deffn +@cindex tables of data +@deffn Command tabulated-list-mode +Tabulated List mode is another mode that derives from Special mode. It +displays tabulated data, i.e. a series of rows and columns, where each +row represents a particular entry, whose properties are displayed in the +various columns. It provides a general mechanism for sorting on +columns. You can use Tabulated List mode as the basis for other modes +that need to display lists. For example, the @samp{*Packages*} buffer +uses this (@pxref{Packages,,, emacs, The GNU Emacs Manual}). The +documentation of the @code{tabulated-list-mode} function explains what +you need to do to use it. At a minimum, specify the column format via +the @code{tabulated-list-format} variable. +@end deffn + @node Generic Modes @subsection Generic Modes @cindex generic mode diff --git a/etc/NEWS b/etc/NEWS index 95748d68d6e..d2139d3fc08 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -968,6 +968,7 @@ When enabled, typing certain characters triggers reindentation. ** New global minor mode electric-layout-mode. When enabled, typing certain characters automatically inserts newlines. ++++ ** tabulated-list.el provides a generic major mode for tabulated data, from which other modes can be derived. -- 2.39.2