summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-02-09 21:33:01 -0500
committerGlenn Morris <rgm@gnu.org>2012-02-09 21:33:01 -0500
commit72ca698cb9543315c914f3548eea2512f8dffe7a (patch)
treed6dae0ef17dd0e74b38fdb15d42afccc03c295be
parentaf8556d26534d26cd809f1cf43b4f4ecfd9359d0 (diff)
downloademacs-72ca698cb9543315c914f3548eea2512f8dffe7a.tar.gz
* doc/lispref/modes.texi (Basic Major Modes): Mention tabulated-list-mode.
* etc/NEWS: Related markup.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/modes.texi14
-rw-r--r--etc/NEWS1
3 files changed, 19 insertions, 0 deletions
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 <rgm@gnu.org>
+
+ * modes.texi (Basic Major Modes): Mention tabulated-list-mode.
+
2012-02-08 Glenn Morris <rgm@gnu.org>
* 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.