1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
John Paul Wallington
2751961a40 (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename.
From Johan Euphrosine <proppy@aminche.com>.
2008-09-07 15:39:05 +00:00
John Paul Wallington
81f370da09 (ibuffer-define-filter filename): Use plain old `buffer-file-name'
instead of `ibuffer-buffer-file-name'.
2008-08-10 03:43:47 +00:00
Juri Linkov
4962c603d0 (ibuffer-do-isearch, ibuffer-do-isearch-regexp): New functions. 2008-07-23 23:53:03 +00:00
Juanma Barranquero
cdc5b68f33 * ibuf-ext.el (diff-sentinel): Declare. 2008-06-27 10:34:50 +00:00
John Paul Wallington
c93addf59e (ibuffer-diff-buffer-with-file-1): New function.
(ibuffer-diff-with-file): Use it.  Do diff on marked buffers
(ibuffer-mark-on-buffer): Don't display message when removing marks.
(ibuffer-mark-by-mode): Use `buffer-local-value'.
2008-06-26 15:26:58 +00:00
John Paul Wallington
95e8ab353b (ibuffer-interactive-filter-by-mode)
(ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes)
(define-ibuffer-filter mode, define-ibuffer-filter used-mode)
(define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers)
(ibuffer-mark-read-only-buffers)
(ibuffer-mark-dired-buffers): Use `buffer-local-value'.
2008-05-15 01:14:41 +00:00
John Paul Wallington
1eb4b4b95f (define-ibuffer-filter filename): Use `ibuffer-buffer-file-name'. 2008-05-13 21:09:20 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
John Paul Wallington
e9e198332b (define-ibuffer-filter filename): When the major mode is `vc-dir-mode'
use the buffer's default directory as filename.
2008-05-01 00:08:38 +00:00
Dan Nicolaescu
d579418003 * ibuffer.el (ibuffer-default-sorting-mode): Add option to sort by
file name.
(ibuffer-mode-map): Add binding to sort by file name.
(ibuffer-filename/process-header-map): New variable.
(filename-and-process): Add a header that sorts by file name.
(ibuffer-mode): Mention sorting by file name.

* ibuf-ext.el (filename/process): New sorter.
2008-01-25 05:38:31 +00:00
Glenn Morris
2f5ca70b21 (ibuffer-save-filter-groups, ibuffer-save-filters): Remove calls to
deleted ibuffer-update-mode-name.
2008-01-17 05:16:35 +00:00
Glenn Morris
b4e96cdbf9 (ibuffer-auto-mode): Remove call to deleted ibuffer-update-mode-name. 2008-01-17 04:09:20 +00:00
Stefan Monnier
b5c499629b (ibuffer-auto-update-changed, ibuffer-auto-mode): Use derived-mode-p.
(ibuffer-mark-by-mode-regexp): Pass the buffer to format-mode-line.
2008-01-16 15:57:42 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Stefan Monnier
9dfee9c271 * ibuf-ext.el (mode-name sorter, ibuffer-mark-by-mode-regexp):
* ibuffer.el (mode column): Use format-mode-line.
2008-01-03 22:01:45 +00:00
Juanma Barranquero
368851a5f4 (ibuffer-auto-update-changed): Use dolist' rather than mapcar';
return value is not used.
2007-10-23 15:57:57 +00:00
Juanma Barranquero
d8b73f9b40 (ibuffer-switch-to-saved-filters, ibuffer-switch-to-saved-filter-groups):
Doc fixes.
2007-10-23 14:49:21 +00:00
Juanma Barranquero
20e192c003 (ibuffer-switch-to-saved-filters, ibuffer-switch-to-saved-filter-groups):
Doc fixes.
2007-10-23 14:33:09 +00:00
Glenn Morris
ecacd8b472 (ibuffer-saved-filter-groups): Doc fix. 2007-10-18 04:43:08 +00:00
Glenn Morris
eca4dc4453 (ibuffer-saved-filter-groups): Doc fix. 2007-10-18 04:43:01 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Vinicius Jose Latorre
67de6223a9 Docstring fix 2007-08-01 17:36:31 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
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