diff options
author | Glenn Morris <rgm@gnu.org> | 2012-02-09 21:33:01 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-02-09 21:33:01 -0500 |
commit | 72ca698cb9543315c914f3548eea2512f8dffe7a (patch) | |
tree | d6dae0ef17dd0e74b38fdb15d42afccc03c295be | |
parent | af8556d26534d26cd809f1cf43b4f4ecfd9359d0 (diff) | |
download | emacs-72ca698cb9543315c914f3548eea2512f8dffe7a.tar.gz |
* doc/lispref/modes.texi (Basic Major Modes): Mention tabulated-list-mode.
* etc/NEWS: Related markup.
-rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
-rw-r--r-- | doc/lispref/modes.texi | 14 | ||||
-rw-r--r-- | etc/NEWS | 1 |
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 @@ -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. |