1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
John Paul Wallington
a0370ba42e (eval, view-and-eval) <define-ibuffer-op>: Use the interactive spec of
`eval-expression'.  From Denis St�� <dstuenkel@googlemail.com>.
2006-10-02 23:26:42 +00:00
Romain Francoise
fde057aac8 (ibuffer-read-filter-group-name):
Use `ibuffer-generate-filter-groups' to make completion list match
the filter groups that are really displayed in the Ibuffer buffer.
(ibuffer-generate-filter-groups): Add new args noempty, nodefault.
2006-03-23 07:05:33 +00:00
John Paul Wallington
da63ece473 (ibuffer-never-show-predicates): Add `require' keyword; require
`ibuf-ext' feature.  Thanks to Zhang Wei.
2006-03-13 01:45:16 +00:00
John Paul Wallington
4b9ae390fa (ibuffer-mark-compressed-file-buffers): New command. 2006-02-02 21:57:09 +00:00
John Paul Wallington
1c258d8cf5 (define-ibuffer-filter filename): If `dired-directory' is a list then
really use its car.
2005-12-08 23:50:32 +00:00
John Paul Wallington
1617bc07f6 (ibuffer-interactive-filter-by-mode): Use `posn-set-point' instead of
`mouse-set-point' because the latter isn't fbound when configured without X.
2005-11-17 22:56:28 +00:00
Romain Francoise
4fe3f29711 * ibuf-ext.el (ibuffer-do-shell-command-pipe)
(ibuffer-do-shell-command-pipe-replace)
(ibuffer-do-shell-command-file, ibuffer-do-eval)
(ibuffer-do-view-and-eval, ibuffer-do-rename-uniquely)
(ibuffer-do-revert, ibuffer-do-replace-regexp)
(ibuffer-do-query-replace, ibuffer-do-query-replace-regexp)
(ibuffer-do-print, ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
(ibuffer-filter-by-name, ibuffer-filter-by-filename)
(ibuffer-filter-by-size-gt, ibuffer-filter-by-size-lt)
(ibuffer-filter-by-content, ibuffer-filter-by-predicate
(ibuffer-do-sort-by-major-mode, ibuffer-do-sort-by-mode-name)
(ibuffer-do-sort-by-alphabetic, ibuffer-do-sort-by-size):
Autoload file sans suffix.

* emulation/cua-base.el (cua-toggle-global-mark): Likewise.
2005-10-07 12:43:57 +00:00
John Paul Wallington
f215a1b4dd (ibuffer-auto-update-changed): Use `frame-or-buffer-changed-p' to
check whether we need to update.
(ibuffer-auto-mode): Don't advise `get-buffer-create' and
`kill-buffer'.  Initialise `ibuffer-auto-buffers-changed' as a
`frame-or-buffer-changed-p' state vector instead.
2005-08-28 06:52:18 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
John Paul Wallington
39c7eb8a6c (define-ibuffer-filter filename): If `dired-directory' is a list, use its car. 2005-05-14 12:56:18 +00:00
John Paul Wallington
b8210c6e5f (ibuffer-filter-disable): Move back to the current buffer after
removing limits.
(ibuffer-pop-filter): Ditto.
Update copyright.
From: Romain Francoise <romain@orebokech.com>
2005-03-02 21:28:57 +00:00
John Paul Wallington
818f3c458e (ibuffer-kill-line): Set arg `interactive-p' in interactive spec
rather than use function `interactive-p'.
2004-10-23 19:58:27 +00:00
John Paul Wallington
33a584e6d6 (ibuffer-jump-to-buffer): Read buffer name in interactive spec rather
than use `interactive-p' in body of function.
2004-10-23 10:11:17 +00:00
John Paul Wallington
dc711054e2 (define-ibuffer-filter filename): Expand dired-directory since
buffer-file-name is absolute.
From Romain Francoise <romain@orebokech.com>.
2004-09-18 08:14:36 +00:00
John Paul Wallington
a386a960b2 (define-ibuffer-filter filename): Consider `dired-directory' if buffer
has no file name.  From Sean O'Rourke <sorourke@cs.ucsd.edu>.
2004-09-14 20:07:07 +00:00
John Paul Wallington
0bdd7ae4f9 2004-06-02 Romain Francoise <romain@orebokech.com>
* ibuf-ext.el (ibuffer-jump-to-buffer): Add support for filter
	groups: if the user asks for a hidden buffer, open the
	corresponding filter group to expose it.

	* ibuffer.el (ibuffer-mode-map): Add key binding `M-g' to
	`ibuffer-jump-to-buffer'.
	(ibuffer-jump-offer-only-visible-buffers): New user option.
2004-06-02 22:07:42 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
2bf1ab7496 Don't require `derived' at compile-time. 2003-07-05 11:20:30 +00:00
John Paul Wallington
0aa1b02e81 (ibuffer-format-filter-group-data): Don't append "\n". 2003-04-04 21:50:21 +00:00
John Paul Wallington
36a579c1a5 (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
(ibuffer-add-to-tmp-show): Doc fixes.
2003-02-11 14:59:54 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
John Paul Wallington
36df86d83d (ibuffer-yank-filter-group): Move check for empty
filter group kill-ring out of `interactive' declaration.
2003-01-28 08:50:17 +00:00
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
Colin Walters
94ae29e4c2 John Paul Wallington now maintains ibuffer. 2002-10-03 04:21:12 +00:00
Colin Walters
125c108147 (ibuffer-diff-with-file): Just call `diff-buffer-with-file'. 2002-09-07 21:31:03 +00:00
Andreas Schwab
76f0377865 (ibuffer-list-buffer-modes): Doc fix. 2002-08-18 21:17:54 +00:00
Colin Walters
0e1701c45f (ibuffer-list-buffer-modes): New.
(ibuffer-filter-by-used-mode): New.
2002-08-06 06:04:44 +00:00
Colin Walters
c12447455e (ibuffer-format-filter-group-data): New function. 2002-05-13 05:59:48 +00:00
Colin Walters
c33cdcc5ef (ibuffer-do-occur): Default to 0 context lines. 2002-05-09 21:29:20 +00:00
Colin Walters
f189891bd4 (ibuffer-pop-filter-group): Doc fix.
(ibuffer-clear-filter-groups): Likewise.
(ibuffer-kill-filter-group): Likewise.
(ibuffer-kill-line): Likewise.
(ibuffer-read-filter-group-name): New function.
(ibuffer-jump-to-filter-group): Use it.
(ibuffer-kill-filter-group): Likewise.
(ibuffer-yank-filter-group): Likewise.
(ibuffer-decompose-filter-group): New function.
2002-05-07 08:13:13 +00:00
Colin Walters
c56a4f1f0a (ibuffer-kill-filter-group): Test for killing "Default" group earlier.
Push killed group on `ibuffer-filter-group-kill-ring'.
(ibuffer-kill-line): Document.  Don't push killed group ourselves.
(ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
(ibuffer-insert-filter-group-before): New function, broken out from
`ibuffer-yank'.
(ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
2002-05-05 00:12:17 +00:00
Colin Walters
b6cee49460 (ibuffer-kill-filter-group): Call `delete' function.
(ibuffer-kill-line): Copy the filter group data structure when killing.
(ibuffer-yank): Handle case where we're yanking on the default group
correctly.
(ibuffer-delete-saved-filter-groups): Doc fix.
2002-04-29 23:12:29 +00:00
Colin Walters
b7f6c47665 (ibuffer-set-filter-groups-by-mode): Don't make an ibuffer-mode filter
group if `ibuffer-view-ibuffer' is nil.
2002-04-28 21:40:57 +00:00
Colin Walters
fece59b88c (ibuffer-saved-filter-groups): Don't include broken defaults.
(ibuffer-yank): Be sure to `setq' after we use `nconc'.
(ibuffer-save-filter-groups): Correctly structure filter groups.
(ibuffer-switch-to-saved-filter-groups): Correctly extract filter
groups.
2002-04-26 03:59:35 +00:00
Colin Walters
052762262a (ibuffer-filtering-groups): Renamed to
`ibuffer-filter-groups'.  All users updated.
(ibuffer-show-empty-filter-groups): New variable.
(ibuffer-saved-filter-groups): New variable.
(ibuffer-maybe-save-stuff): Renamed from
`ibuffer-maybe-save-saved-filters'.  Callers updated.  Handle
`ibuffer-saved-filter-groups'.
(ibuffer-hidden-filtering-groups): Renamed to
`ibuffer-hidden-filter-groups'.
(ibuffer-filter-group-kill-ring): New variable.
(ibuffer-save-with-custom): Doc fix.
(ibuffer-set-filter-groups-by-mode): New function.
(ibuffer-clear-filter-groups): New function.
(ibuffer-current-filter-groups-with-position): Renamed from
`ibuffer-current-filter-groups'.  Callers updated.
(ibuffer-kill-filter-group): New function.
(ibuffer-kill-line): New function.
(ibuffer-yank): New function.
(ibuffer-save-filter-groups): New function.
(ibuffer-delete-saved-filter-groups): New function.
(ibuffer-switch-to-saved-filter-groups): New function.
(ibuffer-mark-on-buffer): Add optional arguments for adding a
specific mark, and marking on a specific group.
2002-04-25 19:03:55 +00:00
Colin Walters
365e1cfbc7 (toplevel): Remove byte-compile-dynamic. Try to set up autoloads manually.
(ibuffer-split-list): New function.
(ibuffer-filtering-groups): New variable.
(ibuffer-hidden-filtering-groups): New variable.
(ibuffer-mouse-toggle-filter-group): New function.
(ibuffer-toggle-filter-group): New function.
(ibuffer-toggle-filter-group-1): New function.
(ibuffer-forward-filter-group): New function.
(ibuffer-backward-filter-group): New funtion.
(ibuffer-generate-filter-groups): New function.
(ibuffer-filters-to-filter-group): New function.
(ibuffer-pop-filter-group): New function.
(ibuffer-jump-to-filter-group): New function.
(ibuffer-do-occur): Just use `occur-read-primary-args'
2002-04-24 23:27:02 +00:00
Colin Walters
c06bd65eac (ibuffer-depropertize-string): Delete.
(ibuffer-occur-match-face): Delete.
(ibuffer-occur-props, ibuffer-occur-mode): Delete.
(ibuffer-occur-mouse-display-occurence): Delete.
(ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence):
Delete.
(ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function):
Delete.
(ibuffer-occur-engine): Moved to replace.el.
(ibuffer-do-occur): Simply call `occur-1'.
2002-04-23 20:35:37 +00:00
Colin Walters
bde5791106 Update callers of `ibuffer-map-lines'. 2002-04-14 05:48:09 +00:00
Colin Walters
193f8525da (operation query-replace): Use new `noerror' arg for
`query-replace-read-args'.
(operation query-replace-regexp): Ditto
2002-03-27 22:38:04 +00:00
Colin Walters
0fcbf8d601 (sorter mode-name): Doc fix.
(ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
2002-03-27 22:19:40 +00:00
Colin Walters
1915493bda (ibuffer-toggle-sorting-mode): Remove `find-if' so we don't require
`cl' at runtime.
(sorting mode mode-name): Don't take the symbol-name of a string.
2002-03-18 21:21:31 +00:00
Colin Walters
6d63dcf565 (ibuffer-filter-format-alist): Add type and group. 2002-03-08 04:06:18 +00:00
Colin Walters
10cf9a4305 (sorter mode-name): New.
(ibuffer-do-occur): Don't quote ibuffer-marked-char.
2002-02-26 19:53:56 +00:00
Colin Walters
2c1bb3d338 (ibuffer-old-time): Change to hours.
(ibuffer-mark-old-buffers): Handle it.
2002-02-23 21:33:49 +00:00
Colin Walters
13e14c5148 (ibuffer-toggle-sorting-mode): Make it work. Patch from John Paul
Wallington <jpw@shootybangbang.com>.
2002-02-17 08:57:24 +00:00
Colin Walters
d98be487f7 (ibuffer-filter-format-alist, ibuffer-cached-filter-formats,
ibuffer-compiled-filter-formats): New variables.
2002-02-04 03:57:19 +00:00
Richard M. Stallman
cea3be93a4 Enable byte-compile-dynamic. 2002-01-17 20:15:52 +00:00