1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
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