1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Glenn Morris
e91081eb9e Update copyright years. 2006-12-05 06:15:26 +00:00
Stefan Monnier
612f91f027 (add-completions-from-c-buffer):
Don't presume an error's second element is a string.
Use looking-at rather than buffer-substring + member.
2006-10-07 15:57:36 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Luc Teirlinck
699ee5f57a Minor fixes in introductory comment.
(completion-def-wrapper): Fix alist.
2006-01-25 04:11:05 +00:00
Stefan Monnier
21b15ee87e (save-completions-file-name): Fix typo in last change. 2005-12-02 21:12:28 +00:00
Stefan Monnier
36cc948ee0 Remove useless leading * in defcustom docstrings.
(save-completions-file-name): Use ~/.emacs.d if available.
(completion-standard-syntax-table): Rename from
cmpl-standard-syntax-table and fold initialization into declaration,
thus removing cmpl-make-standard-completion-syntax-table.
(completion-lisp-syntax-table, completion-c-syntax-table)
(completion-fortran-syntax-table, completion-c-def-syntax-table): Idem.
(cmpl-saved-syntax, cmpl-saved-point): Remove.
(symbol-under-point, symbol-before-point)
(symbol-under-or-before-point, symbol-before-point-for-complete)
(add-completions-from-c-buffer): Use with-syntax-table.
(make-completion): Don't return a list of completion entries.
Update callers.
(cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias.
(completion-initialize): Rename from initialize-completions.
(completion-find-file-hook): Rename from cmpl-find-file-hook.
(kill-emacs-save-completions): Collect stats here.
(save-completions-to-file, load-completions-from-file):
Use with-current-buffer.
(completion-def-wrapper): Rename from def-completion-wrapper.  Make it
into a function.  Move all calls to toplevel.
(completion-lisp-mode-hook): New fun.
(completion-c-mode-hook, completion-setup-fortran-mode):
Set the syntax-table here.  Use local-set-key.
(completion-saved-bindings): New var.
(dynamic-completion-mode): Make it into a proper minor mode.
(load-completions-from-file): Remove unused var `num-uses'.
2005-11-28 01:43:28 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Richard M. Stallman
603715b061 (c-mode-map, fortran-mode-map): Add defvars. 2005-08-09 02:53:54 +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
Juanma Barranquero
0c53eb0351 (completion-kill-region): Doc fix. 2004-06-07 20:44:24 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
7975cb9fe0 (eval-when-compile-load-eval, completion-eval-when)
(cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
(completion-min-length, completion-max-length)
(completion-prefix-min-length): Don't hard-code the default value
when byte-compiling.
(complete): Inline minibuffer-window-selected-p.
2003-02-05 19:09:34 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Stefan Monnier
1a80bcd1d7 (dynamic-completion-mode): Use find-file-hook instead of find-file-hooks. 2002-08-15 00:37:57 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Stefan Monnier
99d0735f52 (dynamic-completion-mode, dynamic-completion-mode): Don't quote lambdas. 2000-05-23 20:04:36 +00:00
Dave Love
d2c49fd8d7 Doc fixes. Add to debug-ignored-errors. Don't quote keywords.
(cmpl-string-case-type): Use character classes.
2000-05-22 17:53:15 +00:00
Dave Love
3f42935193 Replace completion-dolist with dolist. 2000-02-03 15:45:10 +00:00
Richard M. Stallman
bb310d1ea9 (dynamic-completion-mode): New function to enable
the mode.  (Just loading the file now does not change anything.)
1998-11-01 08:45:25 +00:00
Karl Heuer
4e0c86509d Comment fix. 1998-10-06 23:22:48 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Richard M. Stallman
5c510e707f (save-completions-flag): Doc fix. 1997-09-12 22:34:14 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Richard M. Stallman
5a3d3a1674 (cmpl-hours-since-origin): Fix bug:
microseconds count was being used instead of seconds count.
1996-07-23 20:01:33 +00:00
Richard M. Stallman
1aa323ac15 Provide `completion'.
(cmpl-make-standard-completion-syntax-table): Initialize
all chars (to whitespace if nothing else).
(c-mode-map, fortran-mode-map): Add defvars to avoid warnings.
1996-04-16 16:04:01 +00:00
Erik Naggum
717e06e505 Fix Change Log comment line. 1996-01-20 02:50:09 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
16b95d04f2 (save-completions-file-name): Use convert-standard-filename. 1996-01-01 23:46:11 +00:00
Karl Heuer
6f71c5cd11 (symbol-under-point, symbol-before-point)
(symbol-under-or-before-point, symbol-before-point-for-complete):
Use unwind-protect to restore syntax table.
(symbol-before-point, symbol-before-point-for-complete):
Start the backward scan-sexps from point, not (1+ (point)).
1995-12-21 17:38:40 +00:00
Richard M. Stallman
32168d16ff (cmpl-make-standard-completion-syntax-table)
(cmpl-make-c-def-completion-syntax-table): Use make-syntax-table.
(completion-c-mode-hook): Encapsulate C-mode changes in new function.
Either call it now or put it on c-mode-hook.
1995-11-24 22:20:07 +00:00
Karl Heuer
5ff436fbc5 Update copyright. 1995-04-13 21:34:34 +00:00
Richard M. Stallman
9d0eba5717 Comment change. 1995-04-08 06:20:51 +00:00
Richard M. Stallman
438c6ef0ef (completion-string): Add defvar. 1995-02-02 23:07:44 +00:00
Richard M. Stallman
136f8f6700 Don't use cl. Eliminate use of when, unless,
dotimes, plusp, minusp, pusnhew, second.
(completion-dolist): New macro.  Use instead of dolist.
(completion-gensym-counter, completion-gensym): New variable and fn.
(locate-completion-entry-retry): Bind cmpl-entry, then use it.
(locate-completion-entry): Use completion-string, not string.
(add-completion-to-head, delete-completion):
Rename arg to completion-string.
(completions-list-return-value): Defvar'd and renamed
from return-completions.
(cmpl-preceding-syntax, cdabbrev-stop-point): Add defvars.
(delete-completion, check-completion-length): Fix message format.
(complete, add-completions-from-buffer, add-completions-from-c-buffer)
(save-completions-to-file): Likewise.
1995-02-02 23:04:54 +00:00
Richard M. Stallman
a72632181c (completion-separator-self-insert-autofilling):
Don't check fill-column; do-auto-fill will do that.
1995-01-19 04:02:50 +00:00
Richard M. Stallman
76e91049fa (completion-before-command): Don't call get on a non-symbol. 1994-09-01 06:12:38 +00:00
Richard M. Stallman
32cbe52813 (save-completions-to-file): Use delete-old-versions. 1994-07-06 21:33:56 +00:00
Karl Heuer
649ddbf59f Fix spelling of pre-command-hook. 1994-02-11 08:10:01 +00:00
Richard M. Stallman
46f950cab8 (cmpl-read-time-eval): Make it no-op.
(cmpl-hours-since-origin): Use truncate to make an integer.
(completion-search-reset): Use completion-prefix-min-length.
1993-08-03 05:46:33 +00:00
Richard M. Stallman
1add72b5df (completion-version): New variable.
(save-completions-to-file): Use completion-version.
1993-08-03 04:36:52 +00:00
Richard M. Stallman
23b97eb96a (complete): Use sit-for, not cmpl19-sit-for. 1993-07-22 05:49:37 +00:00
Richard M. Stallman
af4d5234ee Comment change. 1993-06-20 08:48:12 +00:00
Richard M. Stallman
0e52ea0303 Comment change. 1993-06-15 19:16:46 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
efdddf9ad3 Delete confusing comments. 1993-05-28 00:32:30 +00:00
Richard M. Stallman
27c26a085c Fix typo. 1993-05-27 12:48:55 +00:00
Richard M. Stallman
a7a2b1f66f Pervasive changes to use Emacs 19 features
and conform to Emacs conventions.
1993-05-27 12:44:54 +00:00