comparison lisp/bs.el @ 90223:edf295560b5a

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-77 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 504-513) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: .cvsignore: Add `lock'. * gnus--rel--5.10 (patch 99-103) - Update from CVS
author Miles Bader <miles@gnu.org>
date Fri, 05 Aug 2005 10:57:36 +0000
parents f9a65d7ebd29 98420b62843f
children 2d92f5c9d6ae
comparison
equal deleted inserted replaced
90222:709f27353024 90223:edf295560b5a
23 ;; Boston, MA 02110-1301, USA. 23 ;; Boston, MA 02110-1301, USA.
24 24
25 ;;; Commentary: 25 ;;; Commentary:
26 26
27 ;; Version: 1.17 27 ;; Version: 1.17
28 ;; X-URL: http://home.netsurf.de/olaf.sylvester/emacs 28 ;; X-URL: http://www.geekware.de/software/emacs
29 ;; 29 ;;
30 ;; The bs-package contains a main function bs-show for poping up a 30 ;; The bs-package contains a main function bs-show for poping up a
31 ;; buffer in a way similar to `list-buffers' and `electric-buffer-list': 31 ;; buffer in a way similar to `list-buffers' and `electric-buffer-list':
32 ;; The new buffer offers a Buffer Selection Menu for manipulating 32 ;; The new buffer offers a Buffer Selection Menu for manipulating
33 ;; the buffer list and buffers. 33 ;; the buffer list and buffers.
136 136
137 (defgroup bs nil 137 (defgroup bs nil
138 "Buffer Selection: Maintaining buffers by buffer menu." 138 "Buffer Selection: Maintaining buffers by buffer menu."
139 :version "21.1" 139 :version "21.1"
140 :link '(emacs-commentary-link "bs") 140 :link '(emacs-commentary-link "bs")
141 :link '(url-link "http://home.netsurf.de/olaf.sylvester/emacs") 141 :link '(url-link "http://www.geekware.de/software/emacs")
142 :group 'convenience) 142 :group 'convenience)
143 143
144 (defgroup bs-appearance nil 144 (defgroup bs-appearance nil
145 "Buffer Selection appearance: Appearance of bs buffer menu." 145 "Buffer Selection appearance: Appearance of bs buffer menu."
146 :group 'bs) 146 :group 'bs)
158 ("File" 12 12 left bs--get-file-name) 158 ("File" 12 12 left bs--get-file-name)
159 ("" 2 2 left " ")) 159 ("" 2 2 left " "))
160 "*List specifying the layout of a Buffer Selection Menu buffer. 160 "*List specifying the layout of a Buffer Selection Menu buffer.
161 Each entry specifies a column and is a list of the form of: 161 Each entry specifies a column and is a list of the form of:
162 \(HEADER MINIMUM-LENGTH MAXIMUM-LENGTH ALIGNMENT FUN-OR-STRING) 162 \(HEADER MINIMUM-LENGTH MAXIMUM-LENGTH ALIGNMENT FUN-OR-STRING)
163 HEADER : string for header for first line or a function 163
164 which calculates column title. 164 HEADER : String for header for first line or a function
165 MINIMUM-LENGTH : minimum width of column (number or name of function). 165 which calculates column title.
166 The function must return a positive integer. 166 MINIMUM-LENGTH : Minimum width of column (number or name of function).
167 MAXIMUM-LENGTH : maximum width of column (number or name of function) 167 The function must return a positive integer.
168 (currently ignored) 168 MAXIMUM-LENGTH : Maximum width of column (number or name of function)
169 ALIGNMENT : alignment of column: (`left' `right' `middle') 169 (currently ignored).
170 FUN-OR-STRING : Name of a function for calculating the value or 170 ALIGNMENT : Alignment of column (`left', `right', `middle').
171 a string for a constant value. 171 FUN-OR-STRING : Name of a function for calculating the value or a
172 string for a constant value.
173
172 The function gets as parameter the buffer where we have started 174 The function gets as parameter the buffer where we have started
173 buffer selection and the list of all buffers to show. The function must 175 buffer selection and the list of all buffers to show. The function must
174 return a string representing the column's value." 176 return a string representing the column's value."
175 :group 'bs-appearance 177 :group 'bs-appearance
176 :type '(repeat sexp)) 178 :type '(repeat sexp))