aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2012-05-06 16:32:37 +0800
committerChong Yidong2012-05-06 16:32:37 +0800
commit6632d361114f2d104b689e2213dce1eb3474de0a (patch)
treef632b6c5ac65baebc931028cc33d28597573b5aa /etc
parent52b61776c594e1e4f30f8e281e7ead79d56383d5 (diff)
downloademacs-6632d361114f2d104b689e2213dce1eb3474de0a.tar.gz
emacs-6632d361114f2d104b689e2213dce1eb3474de0a.zip
Improvements for Tabulated List mode.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format): Accept additional plist in column descriptors. (tabulated-list-init-header): Obey it. (tabulated-list-get-entry): New function. (tabulated-list-put-tag): Use it. Use string-width instead of length. (tabulated-list--column-number): New function. (tabulated-list-print): Use it. (tabulated-list-print-col): New function. Set `tabulated-list-column-name' property on each column's text. (tabulated-list-print-entry): Use it. (tabulated-list-delete-entry, tabulated-list-set-col): New functions. (tabulated-list-sort-column): New command. Fixes: debbugs:11337
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 57c492ffa4c..df386fa7e4f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -161,6 +161,11 @@ details.
161The function `notifications-get-capabilities' returns the supported 161The function `notifications-get-capabilities' returns the supported
162server properties. 162server properties.
163 163
164** Tabulated List and packages derived from it
165
166*** New command `tabulated-list-sort-column' bound to `S' sorts column
167at point, or the Nth column if a numeric prefix argument is given.
168
164** Obsolete packages: 169** Obsolete packages:
165 170
166*** assoc.el 171*** assoc.el