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

50 Commits

Author SHA1 Message Date
Juanma Barranquero
7d94fb17ea (icomplete-completions): While collecting the list of prospective candidates,
don't overshoot `icomplete-prospects-length'.
2008-03-20 10:28:55 +00:00
Juanma Barranquero
077aec2788 (icomplete-prospects-length, icomplete-max-delay-chars,
icomplete-show-key-bindings, icomplete-minibuffer-setup-hook):
Remove spurious * from defcustom docstrings.
(icomplete-compute-delay): Fix docstring and remove spurious *.
(icomplete-delay-completions-threshold): Fix typo in docstring
and remove spurious *.
2008-03-20 09:17:22 +00:00
Juanma Barranquero
3bb1c62756 (icomplete-completions): Remove obsolete code. 2008-03-11 16:27:52 +00:00
Richard M. Stallman
4afd234b27 (icomplete-get-keys): Look up KEYS using all maps in proper buffer. 2008-01-18 03:19:07 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Eli Zaretskii
7a78ffeca9 (icomplete-tidy, icomplete-exhibit): Bind deactivate-mark to nil. 2007-03-10 19:23:29 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Kim F. Storm
fe689fb661 (icomplete-tidy, icomplete-exhibit): Check that
icomplete-mode is enabled.
2006-11-28 09:22:13 +00:00
Chong Yidong
3f56acf967 * icomplete.el (icomplete-simple-completing-p): Use the correct
name for the new variable, `icomplete-with-completion-tables'.
	(file local variables): Remove superfluous setting.
2006-09-24 13:48:59 +00:00
Chong Yidong
397e713bc5 2006-09-23 Ken Manheimer <ken.manheimer@gmail.com>
* icomplete.el (icomplete-with-completion-tables): List of
	specialized completion tables with which icomplete should
	operate.  Include the new `internal-complete-buffer', so icomplete
	works with interactive buffer-selection.
	(icomplete-simple-completing-p): Add acceptance of specialized
	completion tables listed in icomplete-with-completion-tables.
2006-09-23 18:39:22 +00:00
Juri Linkov
78421c5885 (icomplete-get-keys): Use t' for the second arg visible-ok'
of `other-buffer' to find the right original buffer.
2006-02-17 21:54:35 +00:00
Chong Yidong
5a6c1d871e * files.el (safe-local-variable-values): New option.
(hack-local-variables-prop-line): Return a list of variable-value
	pairs if MODE-ONLY is non-nil.
	(hack-local-variables): Construct list of variable-value pairs,
	and apply or reject them in one go.  Ask for confirmation if
	variables are not known safe.
	(hack-local-variables-confirm): Complete rewrite.  Support
	`safe-local-variable-values'.
	(enable-local-variables): Update docstring to reflect new
	behavior.
	(ignored-local-variables): Ignore ignored-local-variables and
	safe-local-variable-values.
	(safe-local-variable-p): New function.
	(risky-local-variable-p): `safe-local-variable' property check
	moved to safe-local-variable-p.
	(hack-one-local-variable): Checks moved to hack-local-variables.

	(byte-compile-dynamic, c-basic-offset, c-file-style,
	c-indent-level, comment-column, fill-column, fill-prefix,
	indent-tabs-mode, kept-new-versions, no-byte-compile,
	no-update-autoloads, outline-regexp, page-delimiter,
	paragraph-start, paragraph-separate, sentence-end,
	sentence-end-double-space tab-width, version-control): Add
	`safe-local-variable' property.

	* find-lisp.el: Delete nonexistent `autocompile' file variable.

	* icomplete.el, play/landmark.el: Change nonexistent
	`outline-layout' file variable to `allout-layout'.
2006-02-14 01:21:31 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
9a84ddd8b5 (icomplete-exhibit): Adapt to new while-no-input calling convention. 2005-08-09 02:51:55 +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
Stefan Monnier
c22e3cd407 (icomplete-simple-completing-p): Don't turn on icomplete
if there's no completion table.
2005-03-23 13:43:13 +00:00
Stefan Monnier
47fda8fcf6 Don't forcibly turn on the mode upon load.
(icomplete-mode): Use define-minor-mode.
(icomplete-eoinput): Default to nil.
(icomplete-minibuffer-setup): Remove autoload.
(icomplete-tidy): Simplify.
(icomplete-exhibit): Use buffer-undo-list to determine if we're still
in the initial state or if the user has modified the field.
Fix handling of icomplete-max-delay-chars.
Remove code that handles the oddball case where
minibuffer-completion-table is an integer.
Wrap icomplete-completions in while-no-input in case building
completions takes more time than expected.
(icomplete-completions): Simplify.
2005-03-21 19:19:26 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Richard M. Stallman
8caa4ef5bd (icomplete-exhibit): Use minibuffer-prompt-end. 2002-02-26 16:05:35 +00:00
Pavel Janík
006041e58e (icomplete-minibuffer-setup): Remove make-local-hook. 2001-11-26 16:27:15 +00:00
Pavel Janík
555185de14 (icomplete-exhibit): Likewise. 2001-11-26 07:33:15 +00:00
Gerd Moellmann
4b404c58a5 (icomplete-mode): Treat an argument like other
modes do.
2001-04-03 14:48:02 +00:00
Eli Zaretskii
9c8acefd2c (icomplete-minibuffer-setup-hook): Doc fix. 2001-01-22 16:03:42 +00:00
Dave Love
fa15719129 Fix header for Finder. 2000-05-24 15:12:19 +00:00
Gerd Moellmann
e83062243f (icomplete-exhibit): Adapt to prompt in buffer. 1999-12-28 18:14:44 +00:00
Gerd Moellmann
3672ef68e7 Update copyright. 1999-11-21 14:25:14 +00:00
Gerd Moellmann
1934dbf4c9 (icomplete-completions): Use an explicit variable
`icomplete-prospects-length', obviating the need to use an
apparently faulty throw/catch arrangement.
1999-11-21 13:44:26 +00:00
Dave Love
73a3ea5a14 (icomplete-mode): Doc fix. 1999-04-27 18:58:13 +00:00
Karl Heuer
25f67e4bc9 *** empty log message *** 1999-03-30 21:37:40 +00:00
Karl Heuer
b1c501a94e (icomplete-mode): Doc fix. 1999-03-30 21:29:19 +00:00
Dave Love
7922d62e80 Fix synopsis line. 1998-04-28 17:46:50 +00:00
Dave Love
3c14708ccf Fix header line. 1998-04-05 17:43:09 +00:00
Stephen Eglen
5e537651cb Customized. 1998-01-24 11:35:59 +00:00
Richard M. Stallman
1be5a2845e Don't call icomplete-mode; let the user do that.
(icomplete-show-key-bindings): Doc fix.
(icomplete-mode): Doc fix.
(icomplete-get-keys): Make it actually work.
(icomplete-mode): Doc fix.
(icomplete-completions): Doc fix.
1997-06-15 02:37:58 +00:00
Richard M. Stallman
f0009536f9 Comment changes. 1997-05-31 04:09:04 +00:00
Karl Heuer
92f7d0036f Integrated Emacs 19.34 and XEmacs 19.15
corrections (typos, style, command revisions, etc).
Integrated hacked up XEmacs immediate keybindings display.  See
`icomplete-show-key-bindings', `icomplete-get-keys', and
`icomplete-completions'.  Doesn't work with mainline GNU
Emacs 19.34 (because the cmdloop doesn't set owindow, and the
current-local-map doesn't take optional buffer arg), so feature
is, by default, inhibited unless we're running in XEmacs.
(icomplete-get-keys): Return keys bound to func name in buffer
"owindow" - since "owindow" is calling-buffer history present
only in XEmacs, this function is only useful in XEmacs.
(icomplete-max-delay-chars, icomplete-compute-delay): New vars.
(icomplete-delay-completions-threshold): New var.
These customize the delay behavior, so that completions don't
intrude as quickly for short input.
1997-05-29 18:18:23 +00:00
Karl Heuer
efcf38c7c2 Use executing-kbd-macro, not executing-macro. 1996-05-29 17:17:34 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
81276211e4 (icomplete-simple-completing-p, icomplete-completions):
Doc fix.
1996-01-04 23:41:53 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
d183f322f9 (icomplete-minibuffer-setup): Use make-local-hook
and add and remove hooks locally.
1995-08-22 20:30:57 +00:00
Richard M. Stallman
c0d7987107 Comment change. 1995-03-16 04:37:48 +00:00
Richard M. Stallman
239c87a199 Major rewrite to behave more like a minor mode.
Doc fixes.
(icomplete-mode): New function and var.
(icomplete-minibuffer-setup-hook): New hook.
(icomplete-inhibit): Defunct.  Using icomplete-pre-command-hook,
icomplete-post-command-hook as real hook functions.
(icomplete-simple-completing-p): Subsumes
icomplete-window-minibuffer-p plus other stuff, determines whether
simple completion is active.
(icomplete-window-minibuffer-p): Defunct, see above.
(icomplete-minibuffer-setup): Use icomplete-simple-completing-p,
copy-sequence hooks before adding to them, run hooks properly.
(icomplete-tidy): Changed from misnamed icomplete-pre-command-hook;
use icomplete-simple-completing-p.
(icomplete-exhibit): Changed from misnamed icomplete-post-command-hook;
use icomplete-simple-completing-p.
(icomplete-completions): Changed from old, misnamed icomplete-exhibit;
combined with old misnamed icomplete-prompt.
1994-09-18 08:27:12 +00:00
Richard M. Stallman
0e551775a0 (icomplete-prime-minibuffer): Copy the hook lists after making them local. 1994-08-03 21:23:30 +00:00
Richard M. Stallman
c89164c5e5 (icomplete-pre-command-hook): Reconciled with keyboard macro operation.
(icomplete-post-command-hook): Likewise.
(window-minibuffer-p): Cleaned up according to suggestion from
Richard Mlynarik.
General rectification of doc strings and comments.
1993-12-30 11:56:19 +00:00
Richard M. Stallman
d462ff97d5 Initial revision 1993-11-24 00:36:31 +00:00