summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug#6265: * eldoc.el: Add completions for new commands left-* and right-*.Juanma Barranquero2010-06-011-7/+7
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * widget.el (define-widget): Purecopy the docstring.Dan Nicolaescu2009-11-111-1/+1
| | | | | | | | | | | | | | | | | * international/mule-cmds.el (charset): Do not purecopy the docstring here, define-widget does it. * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote): * textmodes/bibtex-style.el (auto-mode-alist): * progmodes/inf-lisp.el (inferior-lisp-prompt): * progmodes/compile.el (compile-command): * language/korea-util.el (default-korean-keyboard): * international/mule-conf.el (file-coding-system-alist): * emacs-lisp/eldoc.el (eldoc-minor-mode-string): * tooltip.el (tooltip-frame-parameters): * newcomment.el (comment-end, comment-padding): * dired.el (dired-trivial-filenames): * comint.el (comint-file-name-prefix): Purecopy initial values.
* * help-fns.el (help-function-arglist): Don't check advertised-signature-table.Stefan Monnier2009-10-021-1/+4
| | | | | | (describe-function-1): Do it here instead so it also applies to subrs. * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Obey advertised-signature-table.
* * emacs-lisp/eldoc.el (eldoc-function-argstring-format):Juanma Barranquero2009-01-241-4/+4
| | | | | | Revert 2007-09-26 change; use `string-match-p' to check for &keywords. (eldoc-get-fnsym-args-string, eldoc-highlight-function-argument): Use `string-match-p'.
* (eldoc-minor-mode-string, eldoc-message-commands)Glenn Morris2009-01-171-4/+6
| | | | (eldoc-print-current-symbol-info): Doc fix (consistent case of "ElDoc").
* Remove leading `*' from defcustoms.Glenn Morris2009-01-161-11/+23
| | | | | | | | | (eldoc-argument-case, eldoc-echo-area-use-multiline-p) (eldoc-highlight-function-argument): Doc fix - mention effect of eldoc-documentation-function. (eldoc-message-commands-table-size, eldoc-message-commands) (eldoc-current-idle-delay, eldoc-get-fnsym-args-string): Doc fix. (eldoc-documentation-function): Mention effect on user options.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (eldoc-docstring-first-line): Don't matchMartin Rudalics2008-11-281-1/+3
| | | | any but the first "*" in a doc-string.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
| * (eldoc-message-commands-table-size, eldoc-message-commands,Juanma Barranquero2007-09-271-3/+3
| | | | | | | | eldoc-current-idle-delay): Fix typos in docstrings.
* | (eldoc-function-argstring-format): Deal with the case that specialJuanma Barranquero2007-09-261-1/+2
| | | | | | | | | | &keywords are at the beginning or end of the argument list. Also add some (incomplete) support for non-standard arglists.
* | (eldoc-message-commands-table-size, eldoc-message-commands,Juanma Barranquero2007-09-261-4/+4
| | | | | | | | | | eldoc-current-idle-delay, eldoc-function-argstring-format): Fix typos in docstrings.
* | Nikolaj Schumacher <n_schumacher at web.de> (tiny change)Glenn Morris2007-08-241-1/+6
| | | | | | | | | | (eldoc-highlight-function-argument): New face. (eldoc-highlight-function-argument): Use it.
* | (eldoc-get-fnsym-args-string): Doc fix.Glenn Morris2007-08-191-8/+11
| | | | | | | | | | (eldoc-highlight-function-argument): Add a doc string. Tweak previous change: no need for INDEX to be optional, just need to handle nil.
* | (eldoc-get-fnsym-args-string): ConvertGlenn Morris2007-08-181-41/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | comment to basic doc string. Also apply eldoc-argument-case in the help-split-fundoc case. Adapt for changed behavior of eldoc-function-argstring, eldoc-function-argstring-format, and eldoc-highlight-function-argument. (eldoc-highlight-function-argument): Make INDEX argument optional, just call eldoc-docstring-format-sym-doc if absent. (eldoc-function-argstring): Change the behavior. Now it converts an argument list to a string. (eldoc-function-argstring-format): Change the behavior. Now it applies `eldoc-argument-case' to a string.
* | (eldoc-get-fnsym-args-string): Make second argument optional, forGlenn Morris2007-08-081-4/+5
| | | | | | | | | | backwards compatibility, and only highlight args when present. Fix symbol name typo (doc/args).
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (eldoc-last-data): Revise documentation.Stefan Monnier2007-07-121-30/+90
|/ | | | | | | | | | | | | | (eldoc-print-current-symbol-info): Adjust for changed helper function signatures. (eldoc-get-fnsym-args-string): Add `args' argument. Use new `eldoc-highlight-function-argument'. (eldoc-highlight-function-argument): New function. (eldoc-get-var-docstring): Format documentation with `font-lock-variable-name-face'. (eldoc-docstring-format-sym-doc): Add `face' argument and apply it where suited. (eldoc-fnsym-in-current-sexp): Return a list with argument index. (eldoc-beginning-of-sexp): Return number of skipped sexps.
* (turn-on-eldoc-mode): Doc fix.Richard M. Stallman2007-05-061-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-071-1/+1
|
* * window.el (mouse-autoselect-window-timer)Chong Yidong2006-09-081-1/+1
| | | | | | | | | | | | | | | | | (mouse-autoselect-window-position) (mouse-autoselect-window-window) (mouse-autoselect-window-now): New vars. (mouse-autoselect-window-cancel) (mouse-autoselect-window-select) (mouse-autoselect-window-start): New functions. (handle-select-window): Call `mouse-autoselect-window-start' when delayed window autoselection is enabled. * cus-start.el (mouse-autoselect-window): Handle delayed window autoselection. * emacs-lisp/eldoc.el: Add `handle-select-window' to the set of commands after which it is allowed to print in the echo area.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Move comments into docstrings.Stefan Monnier2005-10-041-65/+44
| | | | | | | (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.
* Add move-beginning-of-line, move-end-of-line, end-of-line,Eli Zaretskii2005-08-121-4/+5
| | | | | and beginning-of-line to the list of commands after which the echo area is updated.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (eldoc-mode): Doc fix.Luc Teirlinck2005-05-181-3/+3
|
* (eldoc-documentation-function): Add autoload.Richard M. Stallman2005-05-141-0/+1
|
* Fix previous change.Richard M. Stallman2005-04-261-1/+1
|
* (eldoc-mode): Doc fix.Richard M. Stallman2005-04-261-14/+8
| | | | | (eldoc-documentation-function): Renamed from eldoc-print-current-symbol-info-function. Calls changed.
* (eldoc-mode): Specify :group.Lute Kamstra2005-04-041-2/+3
|
* Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196Miles Bader2004-04-101-2/+0
| | | | | | | | | | | | | | | | | | | Remove RCS keywords 2004-04-10 Miles Bader <miles@gnu.org> RCS keyword removal (only non-comment changes are enumerated here): * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed. (byte-compile-insert-header): Don't use `byte-compile-version'. * lisp/url/url-vars.el (url-version): Use the constant string "Emacs" instead of calculating something from the RCS `State' keyword [the latter is almost entirely useless anyway]. * lisp/forms.el (forms-version): Variable removed. (forms-mode): Don't use `forms-version'. * lisp/recentf.el (recentf-version): Variable removed. * lisp/progmodes/delphi.el (delphi-version): Variable removed. * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
* (eldoc-print-current-symbol-info-function):Dave Love2003-09-061-12/+28
| | | | | New. (eldoc-print-current-symbol-info): Use it.
* Add arch taglinesMiles Bader2003-09-011-1/+2
|
* (eldoc-echo-area-use-multiline-p): Don't quote nil and t in docstrings.Juanma Barranquero2003-05-061-4/+4
|
* (eldoc-echo-area-multiline-supported-p, eldoc-use-idle-timer-p): Remove.Stefan Monnier2003-02-111-93/+35
| | | | | | (timer): Never require. It only works in current Emacs anyway. (eldoc-mode, eldoc-message, eldoc-display-message-p) (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
* Update copyright.John Paul Wallington2003-01-031-2/+2
|
* (eldoc-get-var-docstring): Only return aJohn Paul Wallington2003-01-031-11/+12
| | | | documentation string when `sym' is non-nil.
* (eldoc-print-current-symbol-info):Stefan Monnier2002-11-191-163/+24
| | | | | | | | | | Turn errors into messages so they don't get ignored. (eldoc-get-fnsym-args-string): Use help-split-fundoc. (eldoc-beginning-of-sexp): Simplify. (eldoc-function-arglist): Remove. (eldoc-function-argstring): Use help-function-arglist instead. (eldoc-function-argstring-from-docstring-method-table) (eldoc-function-argstring-from-docstring): Remove.
* (eldoc-minor-mode-string): Fix custom type.Richard M. Stallman2002-01-081-3/+3
|
* (eldoc-mode): Use define-minor-mode.Stefan Monnier2001-11-161-47/+17
|
* (eldoc): Don't make parent of itself.Andreas Schwab2000-12-021-2/+1
|
* (eldoc-minor-mode-string): Add autoload cookie; otherwise autoloadedNoah Friedman2000-07-241-41/+87
| | | | | | | | | | | | | | | | | add-minor-mode call complains in Emacs 21. Use add-minor-mode to set minor-mode-alist, if available. (eldoc-echo-area-use-multiline-p): New user option. (eldoc-echo-area-multiline-supported-p): New variable. (eldoc-docstring-format-sym-doc): Use them. (eldoc-mode): If not using idle timers, append to local post and pre command hooks. Suggested by David Byers <davby@ida.liu.se>. (eldoc-display-message-no-interference-p): Don't interfere with edebug. Add autoload cookie for eldoc-mode minor-mode-alist initialization. (eldoc-function-arglist): New function. (eldoc-function-argstring): Use it.
* (eldoc-argument-case): Fix customize type.Andreas Schwab1998-10-301-2/+4
|
* (eldoc-message): Check for 1-arg case, and store string inNoah Friedman1998-09-191-104/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | eldoc-last-message without consing a new string. Rearrange logic from nested if's into cond's. (eldoc-print-fnsym-args): Renamed to eldoc-get-fnsym-args-string. Do not print message; just return string. (eldoc-get-var-docstring): Renamed from eldoc-print-var-docstring. Do not print message; just return string. Cache that string in eldoc-last-data. (eldoc-last-data): Make into a vector. (eldoc-get-fnsym-args-string): Use new data form of structure. (eldoc-get-var-docstring): Here also. (eldoc-last-data-store): New function. (eldoc-get-fnsym-args-string): Use it. (eldoc-get-var-docstring): Here also. (eldoc-docstring-first-line): Minimize interim string consing. Call substitute-command-keys on the result. (eldoc-print-var-docstrings, eldoc-print-docstring, eldoc-docstring-message): Functions removed. (eldoc-docstring-format-sym-doc): New function, functionality ripped out of eldoc-docstring-message. (eldoc-get-fnsym-args-string, eldoc-get-var-docstring): Use it.