1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
David Kastrup
90a02640b4 Update AUCTeX information. 2004-08-22 10:58:41 +00:00
John Wiegley
533b22e2e2 2004-05-13 John Wiegley <johnw@newartisans.com>
* iswitchb.el (iswitchb-use-virtual-buffers): Only turn on
	`recentf-mode' if this variable has been customized to t.
2004-05-14 01:02:10 +00:00
John Wiegley
c4ae2d518c 2004-05-08 John Wiegley <johnw@newartisans.com>
* iswitchb.el (iswitchb-use-virtual-buffers): Added support for
	"virtual buffers" (off by default), which makes it possible to
	switch to the buffers of recently files.  When a buffer name
	search fails, and this option is on, iswitchb will look at the
	list of recently visited files, and permit matching against those
	names.  When the user hits RET on a match, it will revisit that
	file.
	(iswitchb-read-buffer): Added two optional arguments, which makes
	isearchb.el possible.
	(iswitchb-completions, iswitchb-set-matches, iswitchb-prev-match,
	iswitchb-next-match): Added support for virtual buffers.
2004-05-08 13:04:29 +00:00
Stephen Eglen
971cb8347a (iswitchb-global-map): Fix typo. Removed unwanted ###autoloads from
source file.
2004-05-05 12:14:39 +00:00
Stephen Eglen
79e1c9d488 Update iswitchb-max-to-show. 2004-04-21 09:47:11 +00:00
Stephen Eglen
06f4589ab8 (iswitchb-max-to-show): Update :type. 2004-04-20 10:01:29 +00:00
Stephen Eglen
f329780b74 (iswitchb-max-to-show): Update documentation and :type information. 2004-04-19 11:42:38 +00:00
John Wiegley
5f5d410aa1 2004-04-18 John Wiegley <johnw@newartisans.com>
* iswitchb.el (iswitchb-completions): Removed dependency on cl.
2004-04-18 10:31:29 +00:00
John Wiegley
c80d953400 2004-04-17 John Wiegley <johnw@newartisans.com>
* iswitchb.el (iswitchb-max-to-show): Added a new config variable
	which optionally limits the number of names shown in the
	minibuffer.  Off by default.
	(iswitchb-completions): Use `iswitchb-max-to-show'.  This speeds
	up iswitchb for users with a multitude of open buffers, by showing
	only the first and last N/2 buffers in the completion list (which
	is enough for C-s/C-r, and to know that more characters need to be
	typed to refine the completion list).
2004-04-17 22:04:04 +00:00
Stephen Eglen
33a316bae0 (iswitchb-minibuffer-setup-hook): Update doc string
to show how minibuffer height can be constrained.
2004-02-04 13:40:10 +00:00
Stephen Eglen
4dddd07f26 iswitchb-read-buffer: check that iswitchb-exit is not 'usefirst (set
when user presses RETURN to select buffer) before running:

	;; This happens for example if the buffer was chosen with the mouse.
	(setq iswitchb-matches (list iswitchb-final-text)))


iswitchb-exit-minibuffer: set iswitchb-exit to 'usefirst.

These changes were made to fix the following bug reported by Markus
Rost and John Wiegley:

Evaluate:
(progn
   (iswitchb-mode 1)
   (get-buffer-create "12")
   (get-buffer-create "1")
   (iswitchb-buffer))

You get prompted in the minibuffer.  Type "1".  The minibuffer shows

 iswitch 1{12,1}

Hit RET.  You find yourself in buffer "1" instead of "12", as you
would expect from the documentation.

This bug was introduced when iswitchb-read-buffer was updated to allow
user to select items from the *Completions* buffer with the mouse.
2003-11-25 14:45:32 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stephen Eglen
79f0a5ed66 Documentation update for installation. 2003-08-19 18:39:11 +00:00
Stephen Eglen
2d839509cd (iswitchb-read-buffer): Remove redudant variable
iswitchb-prepost-hooks. Remove iswitchb-xemacs variable and use
(featurep 'xemacs) and fboundp instead. (From Stefan Monnier).

(iswitchb-completions): Remove two redundant arguments and local
variables. (From Stefan Monnier).

Commentary fix (from Markus Rost).
2003-06-26 11:47:34 +00:00
Stephen Eglen
e47525c442 (iswitchb-buffer-ignore): Update custom type to allow functions. 2003-05-31 16:21:25 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Stephen Eglen
4e141ed744 (iswitchb-completions): Test that iswitchb-common-match-string is a
string, before printing common completions.
2002-09-26 15:52:31 +00:00
Pavel Janík
a2c060f6b4 Update commentary to include new function iswitchb-exclude-nonmatching. 2002-04-13 13:01:48 +00:00
Richard M. Stallman
4d8ae757b2 (iswitchb-visit-buffer): Use `select-frame-set-input-focus'.
It is needed when window manager uses "click to focus" policy.
2001-12-10 20:41:18 +00:00
Pavel Janík
34d16326e4 (iswitchb-exhibit): Use insert instead of insert-string. 2001-11-26 07:30:58 +00:00
Stefan Monnier
8ae3ef6ea3 (iswitchb-mode): Use define-minor-mode.
(iswitchb): Fix the case where the result was selected with the mouse.
(iswitchb-completion-help): Use the normal *Completions* now that
mouse selection works.
(iswitchb-minibuffer-setup): Simplify.
2001-11-19 21:06:17 +00:00
Richard M. Stallman
c940380872 (iswitchb-cannot-complete-hook): New variable to
control behaviour when no further completion is possible.
2001-11-19 14:08:59 +00:00
Richard M. Stallman
b2537dfac3 Change maintainer email address. 2001-11-16 21:10:58 +00:00
Gerd Moellmann
ceba0dac02 (iswitchb-make-buflist): When nconc'ing lists, don't
discard the result.
(iswitchb-to-end): Likewise.
2001-01-25 17:13:08 +00:00
Gerd Moellmann
f05b502e8b Update customization commentary. 2000-12-05 14:01:58 +00:00
Eli Zaretskii
c7b8986123 (iswitchb-minibuf-depth): New variable.
(iswitchb-read-buffer): Record in iswitchb-minibuf-depth the value
we expect to be returned by minibuffer-depth once we prompt the
user in the minibuffer.
(iswitchb-entryfn-p): If minibuffer-depth returns the same value
as recorded in iswitchb-minibuf-depth, return non-nil.
2000-11-23 16:23:42 +00:00
Dave Love
660e161fd9 (iswitchb-mode): Add :require. 2000-10-08 16:19:28 +00:00
Dave Love
19db4308b6 Some doc fixes.
(iswitchb-mode-map): Define completely initially.  Inherit
minibuffer-local-map.
(iswitchb-completion-help) <!iswitchb-xemacs>: Use
fundamental-mode.
(iswitchb-global-map): New variable.
(iswitchb-summaries-to-end): Amalgamate regexps.
(iswitchb-mode): New.
(iswitchb-mode-hook): New variable.
(iswitchb) <defgroup>: Add URL link.  Use group `completion', not
`extensions'.
2000-09-20 22:47:50 +00:00
Gerd Moellmann
261196242e (iswitchb-entryfn-p): Test this-command instead
of testing if iswitchb-prepost-hooks is bound, because the
latter will always be true when invoking a recursive minibuffer
from an active Iswitchb buffer.
2000-07-30 14:03:38 +00:00
Stefan Monnier
334bff783d (iswitchb-completion-help): Unquote lambda. 2000-05-10 22:13:41 +00:00
Gerd Moellmann
8097dd15c2 (iswitchb-case): New function. If the user input
contains any upper-case characters, the search is made
case-sensitive.
2000-04-17 12:31:49 +00:00
Gerd Moellmann
f5bd1691b7 (iswitchb-use-frame-buffer-list): New configuration
variable. If non-nil, order the buffer list according to the
currently selected frame.
(iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
non-nil, pass the selected frame to function buffer-list.
2000-01-29 12:14:55 +00:00
Gerd Moellmann
b787fc059e Use new backquote syntax. 1999-11-15 14:26:07 +00:00
Stephen Eglen
322524b204 iswitchb-default-keybindings: no-need for read-kbd-macro. 1999-10-24 17:00:47 +00:00
Gerd Moellmann
600f9d0390 (iswitchb-exhibit): Extract user-input only
from the mini-buffer, without the prompt.
1999-10-17 16:48:22 +00:00
Stephen Eglen
d7f3b2023f Update installation notes. 1999-10-03 15:37:50 +00:00
Gerd Moellmann
53811b4239 (iswitchb-complete): Use minibuffer-prompt-end
instead of point-min in call to delete-region.
1999-09-23 11:58:34 +00:00
Gerd Moellmann
c1ea301b75 (iswitchb-exhibit): Use buffer-string instead
of buffer-substring because buffer-string doesn't copy the
prompt.
1999-09-12 20:21:47 +00:00
Stephen Eglen
ee5897a42c Add iswitchb-minibuffer-setup to minibuffer-setup-hook in
iswitchb-default-keybindings.
1999-06-05 11:48:02 +00:00
Stephen Eglen
183040ff19 Update author email and web page. 1998-11-30 23:29:13 +00:00
Stephen Eglen
02e526add7 (iswitchb-require-match, iswitchb-temp-buflist, iswitchb-bufs-in-frame):
Variables declared with defvar to quieten the byte compiler.
1998-06-07 17:46:15 +00:00
Dan Nicolaescu
abc8b97459 *** empty log message *** 1998-06-04 16:00:44 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Stephen Eglen
181688f29c Only require cl if cadr and last are not defined (thanks to Dave Love.)
Merged brackets split over several lines onto one line.
1998-04-22 08:32:02 +00:00
Stephen Eglen
6b0cc1b561 Many doc fixes.
(iswitchb-method): No longer a user variable.
(iswitchb-minibuffer-setup-hook): Customized.
(iswitchb-default): New variable.
(iswitchb-complete): Use iswitchb-common-match-string rather than recomputing
the value.
(iswitchb-toggle-ignore): Recompute list of buffers.
(iswitchb-init-XEmacs-trick): Renamed from iswitchb-init-Xemacs-trick.
1998-03-31 20:14:55 +00:00
Richard M. Stallman
25c80f5c14 (iswitchb-ignore-buffername-p): store-match-data => set-match-data. 1998-03-14 04:44:58 +00:00
Stephen Eglen
c6e5b93f3c (iswitchb-default-method): Remove :tag entries.
Doc fixes.
1998-03-03 18:29:55 +00:00
Karl Heuer
ccd2f9976a (iswitchb-completion-help): Multiple TAB presses
scroll the completion window.
(iswitchb-read-buffer): New function to act as drop-in replacement
for read-buffer.
1997-12-19 14:58:42 +00:00
Richard M. Stallman
835b892a39 Comment change. 1997-07-24 04:01:12 +00:00
Richard M. Stallman
ae5ac7d044 (iswitchb-get-bufname): Only add buffer of current
window if it is not already in list.
1997-07-24 03:36:42 +00:00