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

1864 Commits

Author SHA1 Message Date
Juri Linkov
eb53358796 (edebug-all-defs, edebug-all-forms): Add autoload cookies.
(edebug-outside-d-c-i-n-s-w): New variable.
(edebug-display, edebug-outside-excursion): Use it to save the
original value of default-cursor-in-non-selected-windows.
Set default-cursor-in-non-selected-windows to t while Edebug is active.
(edebug-mode, edebug-eval-mode): Doc fix.
2005-12-23 21:57:08 +00:00
Romain Francoise
5e6882903d (lisp-complete-symbol): Don't print progress messages if in the
minibuffer.
2005-12-22 07:41:04 +00:00
Stefan Monnier
c1b5a260d6 (lisp-complete-symbol): Mostly undo the change by Kevin Rodgers.
Instead, just hide the completions buffer if we don't need to show it.
2005-12-22 01:48:20 +00:00
Stefan Monnier
398de7181d (lisp-complete-symbol): Don't call delete-windows-on with an inexistent buffer. 2005-12-21 20:02:20 +00:00
Stefan Monnier
61f03d6f8f (cl-macroexpand-all): Fix code-walk for
lexical-let when encountering ((lambda (...) ...) ...).
2005-12-19 02:17:38 +00:00
Chong Yidong
14e7cb9400 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Capture
error from printing circular structures.
2005-12-17 15:45:55 +00:00
Juri Linkov
7fbaa67c62 (crm-minibuffer-completion-help):
Use `crm-current-element' for second arg of `display-completion-list'.
2005-12-16 19:09:43 +00:00
Eli Zaretskii
6d93e4aa38 (lisp-complete-symbol): Regenerate the completion list, even after a partial
completion has been inserted in the current buffer.  If there are more than 1
completion, redisplay the *Completions* buffer; if the completion is unique,
delete the *Completions* window.
2005-12-10 11:40:04 +00:00
Stefan Monnier
6a6e859a93 (edebug-skip-whitespace): read1:lread.c says
that comments end at \n, regardless of selective-display.
2005-12-06 22:10:07 +00:00
Juri Linkov
3cbdd0c19d Put `doc-string-elt' property on
easy-mmode-define-global-mode and define-global-minor-mode.
(lisp-imenu-generic-expression): Add define-global-minor-mode.
2005-12-04 02:36:13 +00:00
Juri Linkov
aa4a1bf805 (find-function-regexp):
Add define-global-minor-mode.  Replace `easy-mmode-define-global-mode'
with `easy-mmode-define-[a-z-]+'.  Add easy-menu-define.
(find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax
and easy-menu-define.
2005-12-04 02:35:20 +00:00
Juri Linkov
d5ba8197bb (easy-mmode-define-navigation): Put `definition-name' properties on the
constructed function names next-sym and prev-sym.
2005-12-04 02:34:33 +00:00
Juri Linkov
cc793355dc (define-derived-mode): Put `definition-name'
properties on the constructed variable names.
2005-12-04 02:33:41 +00:00
Juri Linkov
c6a3142d9e (make-autoload): Add define-global-minor-mode. 2005-12-04 02:32:35 +00:00
Eli Zaretskii
d20a1ebb17 (lisp-imenu-generic-expression): Fix bug whereby names of length one
or names starting with a symbol-constituent character would not be returned.
2005-12-03 09:48:08 +00:00
Stefan Monnier
1bddeeed51 (make-autoload): Handle defgroup specially. 2005-11-30 16:04:40 +00:00
Stefan Monnier
d95324034b (elp-not-profilable): Replace interactive-p with called-interactively-p.
(elp-profilable-p): Rename from elp-not-profilable-p.
Invert result and take into account macros and autoloaded functions.
(elp-instrument-function): Update call.
(elp-instrument-package): Update call.  Add completion.
(elp-pack-number): Use match-string.
(elp-results-jump-to-definition-by-mouse): Merge into
elp-results-jump-to-definition and then remove.
(elp-output-insert-symname): Make help echo text single-line.
2005-11-28 21:55:15 +00:00
Stefan Monnier
40e8a6c318 (defstruct): Don't define the default constructor if it is overridden. 2005-11-27 20:59:10 +00:00
Andreas Schwab
da49096f06 Handle compressed files. 2005-11-19 16:53:48 +00:00
Richard M. Stallman
9d8684ddf3 (byte-optimize-form-code-walker): Improve warning message text. 2005-11-16 22:20:03 +00:00
Luc Teirlinck
156680e2df (define-derived-mode): Remove defvar for mode hook. (It conflicted
with defcustoms for some mode hooks.)  Use the `variable-documentation'
property to give the mode hook a docstring and expand that docstring.
2005-11-14 23:05:53 +00:00
Lars Hansen
1e0888f5a6 (update-directory-autoloads): Add obsolete function alias. 2005-11-08 20:24:19 +00:00
Stefan Monnier
5a3859e611 (lisp-mode-variables): Don't set comment-indent-function.
(lisp-comment-indent): Replace by an alias for comment-indent-default.
2005-11-08 01:46:37 +00:00
Luc Teirlinck
0ceed14b2e (define-global-minor-mode): Pass all specified keyword args on to
`define-minor-mode'.  Update docstring.
2005-11-05 23:03:57 +00:00
Andreas Schwab
c80eca7195 (byte-optimize-pure-func): Quote the
folded value.
2005-11-02 22:18:56 +00:00
Stefan Monnier
4cd305ac33 (byte-optimize-pure-func): Quote the eval'd value so it's not re-eval'd. 2005-11-02 21:56:15 +00:00
Stefan Monnier
cfa1d4c6d1 (string-to-syntax): Mark it as pure. 2005-11-02 19:03:17 +00:00
Dan Nicolaescu
c94f08ff7a * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so
that global-font-lock-mode can be enabled by default.

* font-lock.el (font-lock-keywords, font-lock-mode-internal)
(font-lock-add-keywords, font-lock-remove-keywords)
(font-lock-fontify-buffer): Remove autoload cookies.

* jit-lock.el (jit-lock-register): Likewise.

* emacs-lisp/syntax.el (syntax-ppss): Likewise.

* puresize.h (BASE_PURESIZE): Increment to 1170000.
2005-10-31 16:41:15 +00:00
Richard M. Stallman
dbbee52991 (timer-activate, timer-activate-when-idle): New arg REUSE-CELL.
(cancel-timer-internal): New function.
(timer-event-handler): Use cancel-timer-internal,
and pass the cell it returns to timer-activate...
2005-10-29 19:47:23 +00:00
Richard M. Stallman
81013a6cde (easy-menu-change): Doc fix. 2005-10-28 16:22:47 +00:00
Romain Francoise
53aaf457fe (find-library-name): Also strip extension if library name ends in .el,
to take advantage of `find-library-suffixes'.
2005-10-25 19:25:23 +00:00
Stefan Monnier
8c6fac61df (easy-mmode-define-global-mode): Don't add a dummy doc-string-elt property.
(defalias, defvaralias, define-category): Add a docstring property.
2005-10-24 16:47:53 +00:00
Stefan Monnier
79e74246bc (define-obsolete-function-alias, define-obsolete-variable-alias):
Add `doc-string' declaration.
2005-10-24 16:44:55 +00:00
Stefan Monnier
18880c272f (ad-make-advised-definition): Fix arg-order.
(defadvice): Add `doc-string' declaration.
2005-10-24 16:14:34 +00:00
Stefan Monnier
38729cfb2a (macro-declaration-function): Add a `doc-string' declaration. 2005-10-24 16:10:42 +00:00
Stefan Monnier
1fe3c8f535 (debugger-make-xrefs): Don't assume case-fold-search is nil.
(debug-help-follow): Use help-xref-interned directly.
2005-10-24 03:52:35 +00:00
Lars Hansen
4ec5239cc9 (byte-compile-lambda): Add parameter add-lambda.
(byte-compile-file-form-defmumble, byte-compile-defun, byte-compile-defmacro): Use it.
(byte-compile-form): Don't call byte-compile-set-symbol-position when a byte-compile
handler is called.
2005-10-23 07:33:45 +00:00
Richard M. Stallman
b44da9f16b (find-library-name): Doc fix. 2005-10-21 17:22:25 +00:00
Stefan Monnier
8debde6e20 (syntax-ppss-flush-cache): Fix typo.
Suggested by Martin Rudalics <rudalics@gmx.at>.
2005-10-21 06:05:09 +00:00
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