1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
John Paul Wallington
4e4a724c11 * ibuffer.el (ibuffer-window-list): Remove.
(ibuffer-confirm-operation-on): Use `window-list' instead.
(ibuffer-load-hook): New customizable variable.
(toplevel): Run it.
(ibuffer-customize): New command.
(ibuffer-mode-map): Bind it.
(ibuffer-mode-map): Add menu seperator in View>Sort menu.
(ibuffer-mode): Tidy.
(ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
(ibuffer-default-directory, ibuffer-default-sorting-mode)
(ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
(ibuffer-map-lines): Doc fixes.
Update mail address.

* ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
filenames.  Use `kill-new'.
Update mail address.

* ibuf-macs.el
Update mail address.
2003-01-24 04:54:17 +00:00
John Paul Wallington
4ba1612761 * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
disable it buffer-locally.
(ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
`eventpt' and point.

* ibuf-ext.el (ibuffer-remove-duplicates): New function.
(ibuffer-set-filter-groups-by-mode): Use it instead of
`delete-duplicates' so we don't require cl library at runtime.
(ibuffer-insert-filter-group-before): Don't use `position' so we
don't require cl library at runtime.

* chistory.el (command-history-mode): Add interactive spec.
Improve doc string.
2002-12-09 23:46:12 +00:00
John Paul Wallington
1fb876f665 (ibuffer-formats): Change default value; bump width
of size column in first format to 7.
2002-11-21 05:36:06 +00:00
John Paul Wallington
7ad5b90257 (ibuffer-use-other-window, ibuffer-use-header-line)
(ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
(ibuffer-mode-hooks): Remove spurious defvar.
(ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
(ibuffer-mode): Run `ibuffer-mode-hook' instead of
`ibuffer-mode-hooks'.
2002-11-15 07:25:20 +00:00
John Paul Wallington
a1793b2dd2 (ibuffer-mouse-popup-menu): Set point before popping
up filter groups menu.  Preserve point unless a menu command has
moved it from point clicked.
2002-10-29 04:21:03 +00:00
Colin Walters
94ae29e4c2 John Paul Wallington now maintains ibuffer. 2002-10-03 04:21:12 +00:00
John Paul Wallington
8e7dbfdb27 (ibuffer-update): Call `minibufferp' with argument
instead of within `with-current-buffer'.
2002-09-26 17:54:00 +00:00
Richard M. Stallman
214fee7a84 (ibuffer-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-10 16:45:21 +00:00
John Paul Wallington
da337a287b (ibuffer-update): Revert expansion of `caddr'.
(ibuffer-fontification-alist): Check hidden buffer case isn't
visiting a file and change its face to italic.
2002-08-30 12:42:36 +00:00
John Paul Wallington
943949149f * ibuffer.el (ibuffer-update): Use minibufferp'. Expand caddr'.
* mwheel.el (mouse-wheel-up-button): Doc fix.
2002-08-29 22:06:26 +00:00
Colin Walters
5bc06df9fe (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
(ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
(ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
2002-08-06 06:04:22 +00:00
Colin Walters
e9e96ba0b7 (ibuffer-hooks): Rename to `ibuffer-hook'; Add defvaralias for
compatibility.
(ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add defvaralias
for compatibility.
2002-08-01 01:24:10 +00:00
Colin Walters
40c104655c (ibuffer-fontification-alist): Use `font-lock-constant-face' instead
of `font-lock-reference-face'.
2002-08-01 01:21:18 +00:00
Colin Walters
51922c041c (ibuffer-mouse-popup-menu): Allow point to be moved by menu functions. 2002-07-25 06:25:51 +00:00
Colin Walters
0ce780e196 (ibuffer-movement-cycle): New variable.
(ibuffer-backward-line, ibuffer-forward-line): Use it.
2002-06-15 18:59:03 +00:00
Colin Walters
50d7dfd52f (ibuffer-mode): Don't set `font-lock-defaults'. 2002-06-12 04:55:05 +00:00
Colin Walters
63e0bf5e28 (ibuffer-mode): Do set `font-lock-defaults', and be sure to set
`font-lock-core-only'.
(ibuffer-compile-format): Don't pass third argument to column functions.
(filename-and-process): Ditto.
2002-06-09 00:16:29 +00:00
Colin Walters
545aad2f09 (ibuffer-category-alist): Delete.
(ibuffer-get-category): Delete.
(ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
of categories.
(ibuffer-compile-format): Don't treat `name' category specially.
(ibuffer-column name): Use `font-lock-face'.
(filename-and-process): Ditto.
(ibuffer-buffer-name-category): Renamed to
`ibuffer-buffer-name-face'.  Don't use categories.
(ibuffer-update-title-and-summary): Use `font-lock-face'.
(ibuffer-insert-filter-group): Ditto.
(ibuffer-mode): Don't set up categories.
2002-06-08 20:42:26 +00:00
Colin Walters
fd225d802e (toplevel): Require font-lock, to get the face definitions.
(ibuffer-use-fontification): Deleted.
(column filename-and-process): New column.
(ibuffer-formats): Use it by default.
(ibuffer-name-map, ibuffer-mode-name-map)
(ibuffer-filter-group-map): Don't set parent to
`ibuffer-mode-map'.
(ibuffer-do-save, ibuffer-do-toggle-modified)
(ibuffer-do-toggle-read-only, ibuffer-do-delete)
(ibuffer-do-kill-on-deletion-marks): Include name in definition.
(ibuffer): New optional argument `formats'.
2002-05-21 20:59:28 +00:00
Colin Walters
7fbac64580 (ibuffer-insert-filter-group): New argument filter-string.
(ibuffer-redisplay-engine): Handle it.
2002-05-13 06:00:06 +00:00
Colin Walters
717339e5a4 Refine previous change. 2002-05-10 03:35:35 +00:00
Colin Walters
05cc03afe4 (ibuffer-mode-map): Add :enable guards for `ibuffer-filter-disable',
`ibuffer-pop-filter', `ibuffer-or-filter', `ibuffer-negate-filter',
`ibuffer-decompose-filter', `ibuffer-save-filters',
`ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
`ibuffer-save-filter-groups', `ibuffer-switch-to-saved-filter-groups',
`ibuffer-delete-saved-filter-groups'.
2002-05-09 21:30:21 +00:00
Colin Walters
2bd26a6f10 (ibuffer-mode-map): Bind it. Add :enable guard around
`ibuffer-filters-to-filter-group' menu item.  Fix :enable guards for
`ibuffer-pop-filter-group' and `ibuffer-clear-filter-groups'.

(toplevel): Specialize `ibuffer-mode-groups-popup' menu items.
2002-05-07 08:11:41 +00:00
Colin Walters
b5e80d1acd (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
(ibuffer-mode-view-menu): Unused variables; deleted.
(ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
(ibuffer-mode-groups-popup): New variable.
(toplevel): Bind filter group menu entries in it.  Add :enable
forms for some menu items.
(toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
to `ibuffer-mouse-popup-menu'.
(ibuffer-mouse-popup-menu): Test whether or not we're on a filter
group name, and if so, pop up a filter group menu.
2002-05-05 00:12:54 +00:00
Colin Walters
b098e75323 (ibuffer-mode): Additional documentation on filter groups. 2002-04-28 21:42:07 +00:00
Colin Walters
96777edb82 (define column process): Use `ibuffer-aif'. 2002-04-26 03:59:18 +00:00
Colin Walters
cba63a2dda (ibuffer-formats): Doc fix.
(ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.  Bind
new functions from ibuf-ext.el.  Add menu entries for them.
Remove superfluous tooltips.
(ibuffer-toggle-marks): If on a group name, then toggle marks just
in that group.
(ibuffer-mark-interactive): Handle filter groups.
(ibuffer-mark-forward, ibuffer-unmark-forward)
(ibuffer-mark-for-delete, ibuffer-unmark-backward)
(ibuffer-mark-for-delete-backwards): Update docs.
(ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
to `ibuffer-current-filter-groups-with-position'.
(ibuffer-redisplay-engine): Handle
`ibuffer-show-empty-filter-groups'.
(ibuffer-mode): Add some documentation about filter groups.
2002-04-25 19:03:12 +00:00
Colin Walters
b5cd37ea48 (ibuffer-filter-group-name-face): New.
(ibuffer-mode-map): Bind and add menu entries for most new
functions; also, bind the arrow keys to the movement functions.
(ibuffer-mode-filter-group-map): New.
(ibuffer-mouse-toggle-mark): Handle group names.
(ibuffer-mouse-visit-buffer): Error if the current buffer is
killed.
(ibuffer-skip-properties): New function.
(ibuffer-backward-line, ibuffer-forward-line): Optionally skip
group names.  Also, handle new properties.
(ibuffer-visit-buffer, ibuffer-visit-buffer-other-window): Move
error handling to `ibuffer-current-buffer'.
(ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
(ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
(ibuffer-toggle-marks): Add optional group argument.
(ibuffer-mark-interactive): Skip group names.
(ibuffer-current-buffer): Clean up error handling.
(ibuffer-fontify-region-function): Fontify group names.
(ibuffer-map-lines): Add extra group argument.  Handle it.
(ibuffer-current-filter-groups): New function.
(ibuffer-redisplay): Handle hidden filtering groups.
(ibuffer-sort-bufferlist): New function, taken from
`ibuffer-insert-buffers-and-marks'.
(ibuffer-insert-filter-group): New function.
(ibuffer-redisplay-engine): Renamed from
`ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
(ibuffer): Add filter-groups argument.  Handle it.  Use
`save-selected-window'.
(ibuffer-mode): Make `ibuffer-filtering-groups' and
`ibuffer-hidden-filtering-groups' buffer-local.
2002-04-24 23:27:28 +00:00
Colin Walters
e69738c939 (ibuffer-accumulate-lines): Moved to replace.el. 2002-04-23 20:36:01 +00:00
Colin Walters
d246cabf2d (ibuffer-visit-buffer): Optionally allow reducing to one window.
(ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
(ibuffer-current-state-list): Reinstate optional argument; now just
call `point' inside the mapping function.
2002-04-17 22:38:10 +00:00
Colin Walters
57c9cc3ee1 (ibuffer-forward-line): Just skip header if we're
only moving one line forward.
(ibuffer-map-lines): Preserve point position even if we delete
lines.  Only call mapping functions with buffer and mark
arguments; the other two were unused.
(ibuffer-redisplay, ibuffer-update): Always skip special areas.
2002-04-14 01:50:57 +00:00
Colin Walters
851476d4ab Fix previous change. 2002-04-11 18:37:25 +00:00
Colin Walters
b23af46999 (ibuffer-canonicalize-state-list): Delete unused function.
(ibuffer-current-buffers-with-marks): Don't call `buffer-list'
ourselves; take it as an argument.  Caller updated.
(ibuffer-mode): Make mode-class special.
2002-04-10 19:11:45 +00:00
Colin Walters
214b39be9a (ibuffer-mark-interactive): Use `ibuffer-forward-line' instead of
`forward-line'.
(ibuffer-forward-line): Be sure to skip over special properties
before moving, too.
2002-03-29 22:54:49 +00:00
Colin Walters
60356fb51b (ibuffer-help-buffer-modes): New variable.
(ibuffer-fontification-alist): Use it.
(ibuffer-backward-line): Handle `ibuffer-summary' area.
(ibuffer-forward-line): Ditto.
2002-03-27 22:19:24 +00:00
Colin Walters
34b8f593f3 (ibuffer): If the user has `ibuffer-use-other-window' non-nil, then
always use another window.
2002-03-24 21:33:26 +00:00
Colin Walters
559ac4c15d (ibuffer-set-mark): Go back to the beginning of the line after setting
the mark.
(ibuffer-insert-buffers-and-marks): Invert the test for
`ibuffer-sorting-reversep'.
2002-03-18 21:21:57 +00:00
Colin Walters
ed233dd8cb (ibuffer-redisplay-current): Don't move point when redisplaying a
line.
2002-03-13 02:31:26 +00:00
Colin Walters
cb05942644 (ibuffer-update-mode-name): Substitute "view time" instead of
"recency" for clarity.
(ibuffer-compile-format): Document more.  Handle new "summarizer"
columns.
(ibuffer-fontify-region-function): Ditto.
(ibuffer-insert-buffer-line): Ditto.
(ibuffer-map-lines): Ditto.
(ibuffer-insert-buffers-and-marks): Ditto.
(ibuffer-update-title-and-summary): Renamed from
`ibuffer-update-title'.  Handle "summarizer" columns.
(ibuffer-clear-summary-columns): New function.
2002-03-08 04:04:22 +00:00
Colin Walters
d99b259bdb (ibuffer-compile-format): Don't uselessly bind `pt' in generated
function.
2002-02-23 21:33:33 +00:00
Colin Walters
3eda3649db (ibuffer-truncate-lines): New option.
(ibuffer-mode):  Use it.
2002-02-17 10:29:13 +00:00
Colin Walters
80a06d647f (ibuffer-switch-format): Supply required argument for
`ibuffer-current-formats'.
2002-02-12 04:50:04 +00:00
Colin Walters
523304ed51 (ibuffer): Remove link; the "home page" for ibuffer is now the Emacs
CVS tree.
(ibuffer-formats): Doc fix.
(ibuffer-active-formats-name, ibuffer-current-formats): New functions.
(ibuffer-current-format): Use them.
(ibuffer-recompile-formats): Add support for
ibuffer-filter-format-alist.
(ibuffer-check-formats): Ditto.
(ibuffer-switch-format): Ditto.
(ibuffer-update-title): Ditto.
(define-ibuffer-column process): Remove unncessary consing.
2002-02-04 03:59:20 +00:00
Richard M. Stallman
5b2977e461 Don't require ibuf-ext at load time.
(ibuffer): Require ibuf-ext here.
2002-01-21 21:33:33 +00:00
Colin Walters
2e4fae7d6c (toplevel, ibuffer-default-directory): Doc fixes. 2002-01-21 03:17:02 +00:00
Colin Walters
362b0a5997 (toplevel) Require `ibuf-ext', which is now compiled with
`byte-compile-dynamic'.
2002-01-21 03:16:33 +00:00
Colin Walters
30c93a6196 (toplevel): Remove X-RCS, URL, Compatibility headers. Update
copyright notice.
2002-01-16 06:35:51 +00:00
Colin Walters
25d2f683b3 Initial revision. 2002-01-13 05:55:24 +00:00