| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
was C-a but a user suggested this was too easily confused with normal
usage of C-a.)
|
|
|
|
|
|
|
| |
(C-a). The author said it had been disabled much earlier due to a
possible incompatibility, but after many months of usage I have
encountered no problems (and it is a rather useful option, especially
for switching to " *temp*").
|
|
|
|
|
| |
(iswitchb-ignore-buffername-p): Use `functionp'
instead of `fboundp' in order to allow for anonymous functions.
|
| |
|
| |
|
| |
|
|
|
|
| |
(iswitchb-get-matched-buffers): Likewise. Simplify.
|
|
|
|
| |
* iswitchb.el: Rename faces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(iswitchb-current-match-face, iswitchb-virtual-matches-face)
(iswitchb-invalid-regexp-face): New faces.
(iswitchb-completions): Use them.
(iswitchb-use-faces): Renamed from iswitchb-use-fonts, which is
now marked as an obsolete alias.
(iswitchb-read-buffer): Remove check for bound font variables.
(iswitchb-invalid-regexp): New free variable.
(iswitchb-get-matched-buffers): Catch invalid-regexp errors and
set iswitchb-invalid-regexp.
(iswitchb, iswitchb-complete, iswitchb-completions): Deal with invalid regexps.
(iswitchb-completions): Add check for complete match when entering a regexp.
(iswitchb-completions): Remove require-match argument.
(iswitchb-exhibit): Fix caller.
(iswitchb-common-match-inserted): New variable.
(iswitchb-complete, iswitchb-completion-help): Use it.
|
|
|
|
| |
post-command-hook.
|
| |
|
|
|
|
|
| |
* iswitchb.el (iswitchb-use-virtual-buffers): Only turn on
`recentf-mode' if this variable has been customized to t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
source file.
|
| |
|
| |
|
| |
|
|
|
|
| |
* iswitchb.el (iswitchb-completions): Removed dependency on cl.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
| |
to show how minibuffer height can be constrained.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
|
|
|
| |
string, before printing common completions.
|
| |
|
|
|
|
| |
It is needed when window manager uses "click to focus" policy.
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
control behaviour when no further completion is possible.
|
| |
|
|
|
|
|
| |
discard the result.
(iswitchb-to-end): Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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'.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
contains any upper-case characters, the search is made
case-sensitive.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
from the mini-buffer, without the prompt.
|