1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

1825 Commits

Author SHA1 Message Date
Stefan Monnier
889c5dad20 (syntax-ppss-flush-cache): Fix corner boundary case.
Suggested by Martin Rudalics <rudalics@gmx.at>.
2005-10-21 06:01:22 +00:00
Masatake YAMATO
f5fab556d4 * message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.

* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.

* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.

* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.

* tempo.el (tempo-display-completions): Ditto.

* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.

* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.

* eshell/em-hist.el (eshell-list-history): Ditto.

* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.

* progmodes/etags.el (complete-tag): Ditto.

* progmodes/make-mode.el (makefile-complete): Ditto.

* progmodes/meta-mode.el (meta-complete-symbol): Ditto.

* progmodes/octave-mod.el (octave-complete-symbol): Ditto.

* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.

* textmodes/bibtex.el (bibtex-complete-internal): Ditto.

* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.

* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
Juanma Barranquero
ac644d50c0 (update-directory-autoloads): Doc fix.
(autoload-print-form-outbuf): Add docstring.
2005-10-11 10:45:59 +00:00
Stefan Monnier
d95af087de (lisp-mode-syntax-table): Move the nesting bit from # to |.
(lisp-font-lock-syntactic-face-function): Distinguish |...| symbols.
2005-10-05 15:19:38 +00:00
Stefan Monnier
f8ab194748 (lambda): Add its doc-string-elt property.
(lisp-doc-string-elt-property): New var.
(lisp-font-lock-syntactic-face-function): Use it.
Rewrite to recognize docstrings even for forms not at toplevel.
2005-10-05 15:03:09 +00:00
Stefan Monnier
efbbcafbbe (lisp-font-lock-syntactic-face-function):
Don't mark as docstring the 3rd elem of an unknown toplevel form.
2005-10-05 14:07:18 +00:00
Stefan Monnier
c0752bdcf7 Move comments into docstrings.
(eldoc-message-commands): Initialize in its declaration.
Add move-beginning-of-line and move-end-of-line.
(eldoc-add-command, eldoc-add-command-completions)
(eldoc-remove-command, eldoc-remove-command-completions): Simplify.
2005-10-04 21:49:09 +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
Deepak Goel
55aed1209c message format spec fixes, commit # 9 2005-09-18 12:40:26 +00:00
Kim F. Storm
56c3f16ce3 (authors-aliases): Update list.
(authors-fixed-entries): Update mldrag.el entry.
2005-09-10 22:43:12 +00:00
Juanma Barranquero
e0f589807f (font-lock-comment-face, font-lock-doc-face, font-lock-string-face,
font-lock-keywords-case-fold-search): Add defvars.
(emacs-lisp-mode-syntax-table): "?\ " -> "?\s".
2005-08-29 13:40:39 +00:00
Juanma Barranquero
dfc9a07892 (safe-functions): Add defvar. 2005-08-29 10:46:28 +00:00
Juanma Barranquero
436b938fb4 (ses-initial-global-parameters, ses-mode-map): Add defvars. 2005-08-29 10:46:03 +00:00
Juanma Barranquero
746dca0081 (font-lock-beginning-of-syntax-function): Add defvar. 2005-08-29 10:45:18 +00:00
Juanma Barranquero
f96b52a36b (font-lock-verbose): Add defvar. 2005-08-29 10:44:49 +00:00
Juanma Barranquero
a1f008c22f (mouse-highlight-priority, x-lost-selection-functions, zmacs-regions):
Add defvars.
2005-08-29 10:44:18 +00:00
Juanma Barranquero
6d74f7822d (compilation-error-regexp-alist, compilation-mode-font-lock-keywords):
Add defvars.
(checkdoc-interactive-loop): "?\ " -> "?\s".
2005-08-29 10:41:37 +00:00
Stefan Monnier
94dfee0bfe (define-minor-mode): Simplify. 2005-08-24 11:54:25 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Eli Zaretskii
156fbeb72c Add move-beginning-of-line, move-end-of-line, end-of-line,
and beginning-of-line to the list of commands after which the echo area
is updated.
2005-08-12 11:21:54 +00:00
Lute Kamstra
bda2c1ffa1 (generic-font-lock-defaults): Declare with define-obsolete-variable-alias. 2005-08-11 13:31:36 +00:00
Richard M. Stallman
369a47a4fc (map-y-or-n-p): Reorder the options
and rename some of them to be more self-explanatory.
2005-08-09 11:36:58 +00:00
Richard M. Stallman
67d28657d0 (lucid-menubar-map, lucid-failing-menubar)
(recompute-lucid-menubar): Add defvars.
2005-08-09 02:57:57 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Stefan Monnier
25978cf566 Require CL also when compiling. 2005-07-29 20:51:34 +00:00
Stefan Monnier
01e4a4fa03 (byte-compile-make-variable-buffer-local)
(byte-compile-form-make-variable-buffer-local): New functions to warn about
misuses of make-variable-buffer-local where make-local-variable was meant.
2005-07-29 19:54:18 +00:00
Juanma Barranquero
78690f09b1 (reb-with-current-window): Delete.
(reb-next-match, reb-show-subexp): Use `with-selected-window' instead of
`reb-with-current-window'.
(reb-prev-match): Likewise.  Also, don't move left if the search was
unsuccessful.
(reb-initialize-buffer): New function.
(re-builder, reb-change-syntax): Use it.
2005-07-24 02:29:14 +00:00
Luc Teirlinck
f4cb1d8cae (define-minor-mode): Never call the mode function using `eval-after-load'. 2005-07-22 01:26:03 +00:00
Juanma Barranquero
bbb319fb99 (regexp-builder): Use `defalias' instead of faking it. 2005-07-21 09:10:49 +00:00
Juri Linkov
09ca832919 (find-function-regexp): Add `define-compilation-mode'. 2005-07-19 14:23:02 +00:00
Juanma Barranquero
e41acc77b8 (def-edebug-form-spec): Add obsolescence info and delete redundant message. Doc
fix.
(edebug-install-custom-print-funcs, edebug-reset-print-funcs,
edebug-uninstall-custom-print-funcs): Define as obsolete aliases.
2005-07-16 21:20:32 +00:00
Juanma Barranquero
b2e948ee15 (byte-compile-maybe-guarded): Fix typo in docstring.
(byte-compile-interactive-only-functions): Add `insert-buffer' and
`insert-file-literally'.
2005-07-16 21:17:10 +00:00
Richard M. Stallman
dc9c856d4f (find-gc-subrs-callers): Renamed from find-gc-subrs-used.
(find-gc-subrs-called): Renamed from subrs-called, and defvar'd.
2005-07-16 19:21:10 +00:00
Richard M. Stallman
ad50a502a1 (byte-compile-maybe-guarded): Doc fix. 2005-07-16 19:04:57 +00:00
Richard M. Stallman
300f994a93 (byte-compile-if): Guard the else-clause too. 2005-07-16 18:39:14 +00:00
Richard M. Stallman
83b0af6e4f (byte-compile-or-recursion): New function.
(byte-compile-or): Use that.
(byte-compile-maybe-guarded): Handle (not (featurep 'emacs)).
2005-07-16 18:27:25 +00:00
Richard M. Stallman
8877fa6fb3 (byte-compile-and-recursion): New function.
(byte-compile-and): Use byte-compile-and-recursion.
2005-07-16 18:02:07 +00:00
Richard M. Stallman
5834812aad (reb-cook-regexp): Avoid warning calling lre-compile-string.
(reb-color-display-p): Avoid warning.
2005-07-16 17:35:09 +00:00
Richard M. Stallman
b63ecadb4c (find-gc-unsafe-list, find-gc-source-directory, find-gc-subrs-used)
(find-gc-noreturn-list, find-gc-source-files):
Vars renamed and defvar'd.
2005-07-16 17:24:40 +00:00
Richard M. Stallman
b372cfa997 (checkdoc-make-overlay, checkdoc-overlay-put, checkdoc-delete-overlay)
(checkdoc-overlay-start, checkdoc-overlay-end)
(checkdoc-mode-line-update, checkdoc-char=):
Define such that compiler knows they are defined.

(checkdoc-call-eval-buffer): Deleted.  Use eval-buffer directly.
(checkdoc-read-event): Deleted.  Use read-event directly.
2005-07-16 17:16:57 +00:00
Eli Zaretskii
cb35e5595f (cl-make-type-test): Defer evaluation of cl-make-type-test to execution time. 2005-07-16 11:53:25 +00:00
Eli Zaretskii
578f810645 (cl-make-type-test): Add `atom' type. 2005-07-16 11:35:33 +00:00
Luc Teirlinck
fceb44d286 (define-minor-mode): Avoid constructing a defcustom with two :set or
:type keywords.
2005-07-16 02:25:48 +00:00
Richard M. Stallman
1f7a271b20 (emacs-lisp-mode-syntax-table): Don't give ^M comment-end syntax. 2005-07-15 17:37:27 +00:00
Juanma Barranquero
3c8dd9b993 (derived-mode-run-hooks): Reinstalled, as it is needed for pre-21 compatibility.
Thanks to Stefan Monnier for pointing this out.
2005-07-15 08:39:57 +00:00
Juanma Barranquero
fea34e9fc2 (derived-mode-run-hooks): Remove.
(derived-mode-hook-name): Doc fix.
2005-07-15 01:23:01 +00:00
Luc Teirlinck
c736d6cff6 (define-minor-mode): Do not override explicitly specified :initialize keyword. 2005-07-14 00:56:13 +00:00
Richard M. Stallman
3cc9e6d817 (edebug-slow-after, edebug-slow-before): Do nothing if edebug-active.
(edebug-enter): Don't do with-timeout-suspend here.
(edebug-display): Do it here instead.
2005-07-11 04:05:39 +00:00
Richard M. Stallman
e2dacaacaf (edebug-enter): Call with-timeout-suspend and with-timeout-unsuspend. 2005-07-10 17:23:54 +00:00
Richard M. Stallman
385480e59a (debug): Call with-timeout-suspend and with-timeout-unsuspend. 2005-07-10 17:19:07 +00:00