Remove unneeded directional marks from etc/HELLO.
[emacs.git] / lisp / emacs-lisp / eldoc.el
blob0b8304af29f857ac306b27d64a7641c0ebd688a5
1 ;;; eldoc.el --- show function arglist or variable docstring in echo area -*- lexical-binding: t; -*-
3 ;; Copyright (C) 1996-2014 Free Software Foundation, Inc.
5 ;; Author: Noah Friedman <friedman@splode.com>
6 ;; Maintainer: friedman@splode.com
7 ;; Keywords: extensions
8 ;; Created: 1995-10-06
10 ;; This file is part of GNU Emacs.
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
25 ;;; Commentary:
27 ;; This program was inspired by the behavior of the "mouse documentation
28 ;; window" on many Lisp Machine systems; as you type a function's symbol
29 ;; name as part of a sexp, it will print the argument list for that
30 ;; function. Behavior is not identical; for example, you need not actually
31 ;; type the function name, you need only move point around in a sexp that
32 ;; calls it. Also, if point is over a documented variable, it will print
33 ;; the one-line documentation for that variable instead, to remind you of
34 ;; that variable's meaning.
36 ;; One useful way to enable this minor mode is to put the following in your
37 ;; .emacs:
39 ;; (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
40 ;; (add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
41 ;; (add-hook 'ielm-mode-hook 'eldoc-mode)
42 ;; (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-mode)
44 ;; Major modes for other languages may use ElDoc by defining an
45 ;; appropriate function as the buffer-local value of
46 ;; `eldoc-documentation-function'.
48 ;;; Code:
50 (require 'help-fns) ;For fundoc-usage handling functions.
51 (require 'cl-lib)
53 (defgroup eldoc nil
54 "Show function arglist or variable docstring in echo area."
55 :group 'lisp
56 :group 'extensions)
58 (defcustom eldoc-idle-delay 0.50
59 "Number of seconds of idle time to wait before printing.
60 If user input arrives before this interval of time has elapsed after the
61 last input, no documentation will be printed.
63 If this variable is set to 0, no idle time is required."
64 :type 'number
65 :group 'eldoc)
67 (defcustom eldoc-print-after-edit nil
68 "If non-nil eldoc info is only shown when editing.
69 Changing the value requires toggling `eldoc-mode'."
70 :type 'boolean
71 :group 'eldoc)
73 ;;;###autoload
74 (defcustom eldoc-minor-mode-string (purecopy " ElDoc")
75 "String to display in mode line when ElDoc Mode is enabled; nil for none."
76 :type '(choice string (const :tag "None" nil))
77 :group 'eldoc)
79 (defcustom eldoc-argument-case #'identity
80 "Case to display argument names of functions, as a symbol.
81 This has two preferred values: `upcase' or `downcase'.
82 Actually, any name of a function which takes a string as an argument and
83 returns another string is acceptable.
85 Note that if `eldoc-documentation-function' is non-nil, this variable
86 has no effect, unless the function handles it explicitly."
87 :type '(radio (function-item upcase)
88 (function-item downcase)
89 function)
90 :group 'eldoc)
91 (make-obsolete-variable 'eldoc-argument-case nil "24.5")
93 (defcustom eldoc-echo-area-use-multiline-p 'truncate-sym-name-if-fit
94 "Allow long ElDoc messages to resize echo area display.
95 If value is t, never attempt to truncate messages; complete symbol name
96 and function arglist or 1-line variable documentation will be displayed
97 even if echo area must be resized to fit.
99 If value is any non-nil value other than t, symbol name may be truncated
100 if it will enable the function arglist or documentation string to fit on a
101 single line without resizing window. Otherwise, behavior is just like
102 former case.
104 If value is nil, messages are always truncated to fit in a single line of
105 display in the echo area. Function or variable symbol name may be
106 truncated to make more of the arglist or documentation string visible.
108 Note that if `eldoc-documentation-function' is non-nil, this variable
109 has no effect, unless the function handles it explicitly."
110 :type '(radio (const :tag "Always" t)
111 (const :tag "Never" nil)
112 (const :tag "Yes, but truncate symbol names if it will\
113 enable argument list to fit on one line" truncate-sym-name-if-fit))
114 :group 'eldoc)
116 (defface eldoc-highlight-function-argument
117 '((t (:inherit bold)))
118 "Face used for the argument at point in a function's argument list.
119 Note that if `eldoc-documentation-function' is non-nil, this face
120 has no effect, unless the function handles it explicitly."
121 :group 'eldoc)
123 ;;; No user options below here.
125 (defvar eldoc-message-commands-table-size 31
126 "Used by `eldoc-add-command' to initialize `eldoc-message-commands' obarray.
127 It should probably never be necessary to do so, but if you
128 choose to increase the number of buckets, you must do so before loading
129 this file since the obarray is initialized at load time.
130 Remember to keep it a prime number to improve hash performance.")
132 (defconst eldoc-message-commands
133 (make-vector eldoc-message-commands-table-size 0)
134 "Commands after which it is appropriate to print in the echo area.
135 ElDoc does not try to print function arglists, etc., after just any command,
136 because some commands print their own messages in the echo area and these
137 functions would instantly overwrite them. But `self-insert-command' as well
138 as most motion commands are good candidates.
139 This variable contains an obarray of symbols; do not manipulate it
140 directly. Instead, use `eldoc-add-command' and `eldoc-remove-command'.")
142 ;; Not a constant.
143 (defconst eldoc-last-data (make-vector 3 nil)
144 "Bookkeeping; elements are as follows:
145 0 - contains the last symbol read from the buffer.
146 1 - contains the string last displayed in the echo area for variables,
147 or argument string for functions.
148 2 - 'function if function args, 'variable if variable documentation.")
150 (defvar eldoc-last-message nil)
152 (defvar eldoc-timer nil "ElDoc's timer object.")
154 (defvar eldoc-current-idle-delay eldoc-idle-delay
155 "Idle time delay currently in use by timer.
156 This is used to determine if `eldoc-idle-delay' is changed by the user.")
158 (defvar eldoc-message-function #'eldoc-minibuffer-message
159 "The function used by `eldoc-message' to display messages.
160 It should receive the same arguments as `message'.")
162 (defun eldoc-edit-message-commands ()
163 (let ((cmds (make-vector 31 0))
164 (re (regexp-opt '("delete" "insert" "edit" "electric" "newline"))))
165 (mapatoms (lambda (s)
166 (and (commandp s)
167 (string-match-p re (symbol-name s))
168 (intern (symbol-name s) cmds)))
169 obarray)
170 cmds))
173 ;;;###autoload
174 (define-minor-mode eldoc-mode
175 "Toggle echo area display of Lisp objects at point (ElDoc mode).
176 With a prefix argument ARG, enable ElDoc mode if ARG is positive,
177 and disable it otherwise. If called from Lisp, enable ElDoc mode
178 if ARG is omitted or nil.
180 ElDoc mode is a buffer-local minor mode. When enabled, the echo
181 area displays information about a function or variable in the
182 text where point is. If point is on a documented variable, it
183 displays the first line of that variable's doc string. Otherwise
184 it displays the argument list of the function called in the
185 expression point is on."
186 :group 'eldoc :lighter eldoc-minor-mode-string
187 (setq eldoc-last-message nil)
188 (if eldoc-mode
189 (progn
190 (when eldoc-print-after-edit
191 (setq-local eldoc-message-commands (eldoc-edit-message-commands)))
192 (add-hook 'post-command-hook 'eldoc-schedule-timer nil t)
193 (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area nil t))
194 (kill-local-variable 'eldoc-message-commands)
195 (remove-hook 'post-command-hook 'eldoc-schedule-timer t)
196 (remove-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t)))
198 ;;;###autoload
199 (define-obsolete-function-alias 'turn-on-eldoc-mode 'eldoc-mode "24.4")
202 (defun eldoc-schedule-timer ()
203 (or (and eldoc-timer
204 (memq eldoc-timer timer-idle-list))
205 (setq eldoc-timer
206 (run-with-idle-timer
207 eldoc-idle-delay t
208 (lambda () (and eldoc-mode (eldoc-print-current-symbol-info))))))
210 ;; If user has changed the idle delay, update the timer.
211 (cond ((not (= eldoc-idle-delay eldoc-current-idle-delay))
212 (setq eldoc-current-idle-delay eldoc-idle-delay)
213 (timer-set-idle-time eldoc-timer eldoc-idle-delay t))))
215 (defvar eldoc-mode-line-string nil)
216 (put 'eldoc-mode-line-string 'risky-local-variable t)
218 (defun eldoc-minibuffer-message (format-string &rest args)
219 "Display messages in the mode-line when in the minibuffer.
220 Otherwise work like `message'."
221 (if (minibufferp)
222 (progn
223 (add-hook 'minibuffer-exit-hook
224 (lambda () (setq eldoc-mode-line-string nil
225 ;; http://debbugs.gnu.org/16920
226 eldoc-last-message nil))
227 nil t)
228 (with-current-buffer
229 (window-buffer
230 (or (window-in-direction 'above (minibuffer-window))
231 (minibuffer-selected-window)
232 (get-largest-window)))
233 (unless (and (listp mode-line-format)
234 (assq 'eldoc-mode-line-string mode-line-format))
235 (setq mode-line-format
236 (list "" '(eldoc-mode-line-string
237 (" " eldoc-mode-line-string " "))
238 mode-line-format)))
239 (setq eldoc-mode-line-string
240 (when (stringp format-string)
241 (apply 'format format-string args)))
242 (force-mode-line-update)))
243 (apply 'message format-string args)))
245 (defun eldoc-message (&rest args)
246 (let ((omessage eldoc-last-message))
247 (setq eldoc-last-message
248 (cond ((eq (car args) eldoc-last-message) eldoc-last-message)
249 ((null (car args)) nil)
250 ;; If only one arg, no formatting to do, so put it in
251 ;; eldoc-last-message so eq test above might succeed on
252 ;; subsequent calls.
253 ((null (cdr args)) (car args))
254 (t (apply 'format args))))
255 ;; In emacs 19.29 and later, and XEmacs 19.13 and later, all messages
256 ;; are recorded in a log. Do not put eldoc messages in that log since
257 ;; they are Legion.
258 ;; Emacs way of preventing log messages.
259 (let ((message-log-max nil))
260 (cond (eldoc-last-message
261 (funcall eldoc-message-function "%s" eldoc-last-message))
262 (omessage (funcall eldoc-message-function nil)))))
263 eldoc-last-message)
265 (defun eldoc--message-command-p (command)
266 (and (symbolp command)
267 (intern-soft (symbol-name command) eldoc-message-commands)))
269 ;; This function goes on pre-command-hook for XEmacs or when using idle
270 ;; timers in Emacs. Motion commands clear the echo area for some reason,
271 ;; which make eldoc messages flicker or disappear just before motion
272 ;; begins. This function reprints the last eldoc message immediately
273 ;; before the next command executes, which does away with the flicker.
274 ;; This doesn't seem to be required for Emacs 19.28 and earlier.
275 (defun eldoc-pre-command-refresh-echo-area ()
276 (and eldoc-last-message
277 (not (minibufferp)) ;We don't use the echo area when in minibuffer.
278 (if (and (eldoc-display-message-no-interference-p)
279 (eldoc--message-command-p this-command))
280 (eldoc-message eldoc-last-message)
281 ;; No need to call eldoc-message since the echo area will be cleared
282 ;; for us, but do note that the last-message will be gone.
283 (setq eldoc-last-message nil))))
285 ;; Decide whether now is a good time to display a message.
286 (defun eldoc-display-message-p ()
287 (and (eldoc-display-message-no-interference-p)
288 ;; If this-command is non-nil while running via an idle
289 ;; timer, we're still in the middle of executing a command,
290 ;; e.g. a query-replace where it would be annoying to
291 ;; overwrite the echo area.
292 (not this-command)
293 (eldoc--message-command-p last-command)))
296 ;; Check various conditions about the current environment that might make
297 ;; it undesirable to print eldoc messages right this instant.
298 (defun eldoc-display-message-no-interference-p ()
299 (not (or executing-kbd-macro (bound-and-true-p edebug-active))))
302 ;;;###autoload
303 (defvar eldoc-documentation-function #'eldoc-documentation-function-default
304 "Function to call to return doc string.
305 The function of no args should return a one-line string for displaying
306 doc about a function etc. appropriate to the context around point.
307 It should return nil if there's no doc appropriate for the context.
308 Typically doc is returned if point is on a function-like name or in its
309 arg list.
311 The result is used as is, so the function must explicitly handle
312 the variables `eldoc-argument-case' and `eldoc-echo-area-use-multiline-p',
313 and the face `eldoc-highlight-function-argument', if they are to have any
314 effect.
316 This variable is expected to be made buffer-local by modes (other than
317 Emacs Lisp mode) that support ElDoc.")
319 (defun eldoc-print-current-symbol-info ()
320 ;; This is run from post-command-hook or some idle timer thing,
321 ;; so we need to be careful that errors aren't ignored.
322 (with-demoted-errors "eldoc error: %s"
323 (and (or (eldoc-display-message-p)
324 ;; Erase the last message if we won't display a new one.
325 (when eldoc-last-message
326 (eldoc-message nil)
327 nil))
328 (eldoc-message (funcall eldoc-documentation-function)))))
330 (defun eldoc-documentation-function-default ()
331 "Default value for `eldoc-documentation-function' (which see)."
332 (let ((current-symbol (eldoc-current-symbol))
333 (current-fnsym (eldoc-fnsym-in-current-sexp)))
334 (cond ((null current-fnsym)
335 nil)
336 ((eq current-symbol (car current-fnsym))
337 (or (apply #'eldoc-get-fnsym-args-string current-fnsym)
338 (eldoc-get-var-docstring current-symbol)))
340 (or (eldoc-get-var-docstring current-symbol)
341 (apply #'eldoc-get-fnsym-args-string current-fnsym))))))
343 (defun eldoc-get-fnsym-args-string (sym &optional index)
344 "Return a string containing the parameter list of the function SYM.
345 If SYM is a subr and no arglist is obtainable from the docstring
346 or elsewhere, return a 1-line docstring."
347 (let (args doc advertised)
348 (cond ((not (and sym (symbolp sym) (fboundp sym))))
349 ((and (eq sym (aref eldoc-last-data 0))
350 (eq 'function (aref eldoc-last-data 2)))
351 (setq doc (aref eldoc-last-data 1)))
352 ((listp (setq advertised (gethash (indirect-function sym)
353 advertised-signature-table t)))
354 (setq args advertised))
355 ((setq doc (help-split-fundoc (documentation sym t) sym))
356 (setq args (car doc)))
358 (setq args (help-function-arglist sym))))
359 (if args
360 ;; Stringify, and store before highlighting, downcasing, etc.
361 ;; FIXME should truncate before storing.
362 (eldoc-last-data-store sym (setq args (eldoc-function-argstring args))
363 'function)
364 (setq args doc)) ; use stored value
365 ;; Change case, highlight, truncate.
366 (if args
367 (eldoc-highlight-function-argument sym args index))))
369 (defun eldoc-highlight-function-argument (sym args index)
370 "Highlight argument INDEX in ARGS list for function SYM.
371 In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
372 (let ((start nil)
373 (end 0)
374 (argument-face 'eldoc-highlight-function-argument))
375 ;; Find the current argument in the argument string. We need to
376 ;; handle `&rest' and informal `...' properly.
378 ;; FIXME: What to do with optional arguments, like in
379 ;; (defun NAME ARGLIST [DOCSTRING] BODY...) case?
380 ;; The problem is there is no robust way to determine if
381 ;; the current argument is indeed a docstring.
383 ;; When `&key' is used finding position based on `index'
384 ;; would be wrong, so find the arg at point and determine
385 ;; position in ARGS based on this current arg.
386 (when (string-match "&key" args)
387 (let* (case-fold-search
388 (cur-w (current-word))
389 (limit (save-excursion
390 (when (re-search-backward (symbol-name sym) nil t)
391 (match-end 0))))
392 (cur-a (if (string-match ":\\([^ ()]*\\)" cur-w)
393 (substring cur-w 1)
394 (save-excursion
395 (when (re-search-backward ":\\([^ ()\n]*\\)" limit t)
396 (match-string 1))))))
397 ;; If `cur-a' is nil probably cursor is on a positional arg
398 ;; before `&key', in this case, exit this block and determine
399 ;; position with `index'.
400 (when (and cur-a
401 (string-match (concat "\\_<" (upcase cur-a) "\\_>") args))
402 (setq index nil ; Skip next block based on positional args.
403 start (match-beginning 0)
404 end (match-end 0)))))
405 ;; Handle now positional arguments.
406 (while (and index (>= index 1))
407 (if (string-match "[^ ()]+" args end)
408 (progn
409 (setq start (match-beginning 0)
410 end (match-end 0))
411 (let ((argument (match-string 0 args)))
412 (cond ((string= argument "&rest")
413 ;; All the rest arguments are the same.
414 (setq index 1))
415 ((string= argument "&optional")) ; Skip.
416 ((string= argument "&allow-other-keys")) ; Skip.
417 ;; Back to index 0 in ARG1 ARG2 ARG2 ARG3 etc...
418 ;; like in `setq'.
419 ((or (string-match-p "\\.\\.\\.$" argument)
420 (and (string-match-p "\\.\\.\\.)?$" args)
421 (> index 1) (cl-oddp index)))
422 (setq index 0))
424 (setq index (1- index))))))
425 (setq end (length args)
426 start (1- end)
427 argument-face 'font-lock-warning-face
428 index 0)))
429 (let ((doc args))
430 (when start
431 (setq doc (copy-sequence args))
432 (add-text-properties start end (list 'face argument-face) doc))
433 (setq doc (eldoc-docstring-format-sym-doc
434 sym doc (if (functionp sym) 'font-lock-function-name-face
435 'font-lock-keyword-face)))
436 doc)))
438 ;; Return a string containing a brief (one-line) documentation string for
439 ;; the variable.
440 (defun eldoc-get-var-docstring (sym)
441 (when sym
442 (cond ((and (eq sym (aref eldoc-last-data 0))
443 (eq 'variable (aref eldoc-last-data 2)))
444 (aref eldoc-last-data 1))
446 (let ((doc (documentation-property sym 'variable-documentation t)))
447 (cond (doc
448 (setq doc (eldoc-docstring-format-sym-doc
449 sym (eldoc-docstring-first-line doc)
450 'font-lock-variable-name-face))
451 (eldoc-last-data-store sym doc 'variable)))
452 doc)))))
454 (defun eldoc-last-data-store (symbol doc type)
455 (aset eldoc-last-data 0 symbol)
456 (aset eldoc-last-data 1 doc)
457 (aset eldoc-last-data 2 type))
459 ;; Note that any leading `*' in the docstring (which indicates the variable
460 ;; is a user option) is removed.
461 (defun eldoc-docstring-first-line (doc)
462 (and (stringp doc)
463 (substitute-command-keys
464 (save-match-data
465 ;; Don't use "^" in the regexp below since it may match
466 ;; anywhere in the doc-string.
467 (let ((start (if (string-match "\\`\\*" doc) (match-end 0) 0)))
468 (cond ((string-match "\n" doc)
469 (substring doc start (match-beginning 0)))
470 ((zerop start) doc)
471 (t (substring doc start))))))))
473 ;; If the entire line cannot fit in the echo area, the symbol name may be
474 ;; truncated or eliminated entirely from the output to make room for the
475 ;; description.
476 (defun eldoc-docstring-format-sym-doc (sym doc face)
477 (save-match-data
478 (let* ((name (symbol-name sym))
479 (ea-multi eldoc-echo-area-use-multiline-p)
480 ;; Subtract 1 from window width since emacs will not write
481 ;; any chars to the last column, or in later versions, will
482 ;; cause a wraparound and resize of the echo area.
483 (ea-width (1- (window-width (minibuffer-window))))
484 (strip (- (+ (length name) (length ": ") (length doc)) ea-width)))
485 (cond ((or (<= strip 0)
486 (eq ea-multi t)
487 (and ea-multi (> (length doc) ea-width)))
488 (format "%s: %s" (propertize name 'face face) doc))
489 ((> (length doc) ea-width)
490 (substring (format "%s" doc) 0 ea-width))
491 ((>= strip (length name))
492 (format "%s" doc))
494 ;; Show the end of the partial symbol name, rather
495 ;; than the beginning, since the former is more likely
496 ;; to be unique given package namespace conventions.
497 (setq name (substring name strip))
498 (format "%s: %s" (propertize name 'face face) doc))))))
501 ;; Return a list of current function name and argument index.
502 (defun eldoc-fnsym-in-current-sexp ()
503 (save-excursion
504 (let ((argument-index (1- (eldoc-beginning-of-sexp))))
505 ;; If we are at the beginning of function name, this will be -1.
506 (when (< argument-index 0)
507 (setq argument-index 0))
508 ;; Don't do anything if current word is inside a string.
509 (if (= (or (char-after (1- (point))) 0) ?\")
511 (list (eldoc-current-symbol) argument-index)))))
513 ;; Move to the beginning of current sexp. Return the number of nested
514 ;; sexp the point was over or after.
515 (defun eldoc-beginning-of-sexp ()
516 (let ((parse-sexp-ignore-comments t)
517 (num-skipped-sexps 0))
518 (condition-case _
519 (progn
520 ;; First account for the case the point is directly over a
521 ;; beginning of a nested sexp.
522 (condition-case _
523 (let ((p (point)))
524 (forward-sexp -1)
525 (forward-sexp 1)
526 (when (< (point) p)
527 (setq num-skipped-sexps 1)))
528 (error))
529 (while
530 (let ((p (point)))
531 (forward-sexp -1)
532 (when (< (point) p)
533 (setq num-skipped-sexps (1+ num-skipped-sexps))))))
534 (error))
535 num-skipped-sexps))
537 ;; returns nil unless current word is an interned symbol.
538 (defun eldoc-current-symbol ()
539 (let ((c (char-after (point))))
540 (and c
541 (memq (char-syntax c) '(?w ?_))
542 (intern-soft (current-word)))))
544 ;; Do indirect function resolution if possible.
545 (defun eldoc-symbol-function (fsym)
546 (let ((defn (symbol-function fsym)))
547 (and (symbolp defn)
548 (condition-case _
549 (setq defn (indirect-function fsym))
550 (error (setq defn nil))))
551 defn))
553 (defun eldoc-function-argstring (arglist)
554 "Return ARGLIST as a string enclosed by ().
555 ARGLIST is either a string, or a list of strings or symbols."
556 (let ((str (cond ((stringp arglist) arglist)
557 ((not (listp arglist)) nil)
558 (t (format "%S" (help-make-usage 'toto arglist))))))
559 (if (and str (string-match "\\`([^ ]+ ?" str))
560 (replace-match "(" t t str)
561 str)))
564 ;; When point is in a sexp, the function args are not reprinted in the echo
565 ;; area after every possible interactive command because some of them print
566 ;; their own messages in the echo area; the eldoc functions would instantly
567 ;; overwrite them unless it is more restrained.
568 ;; These functions do display-command table management.
570 (defun eldoc-add-command (&rest cmds)
571 (dolist (name cmds)
572 (and (symbolp name)
573 (setq name (symbol-name name)))
574 (set (intern name eldoc-message-commands) t)))
576 (defun eldoc-add-command-completions (&rest names)
577 (dolist (name names)
578 (apply 'eldoc-add-command (all-completions name obarray 'commandp))))
580 (defun eldoc-remove-command (&rest cmds)
581 (dolist (name cmds)
582 (and (symbolp name)
583 (setq name (symbol-name name)))
584 (unintern name eldoc-message-commands)))
586 (defun eldoc-remove-command-completions (&rest names)
587 (dolist (name names)
588 (apply 'eldoc-remove-command
589 (all-completions name eldoc-message-commands))))
592 ;; Prime the command list.
593 (eldoc-add-command-completions
594 "backward-" "beginning-of-" "delete-other-windows" "delete-window"
595 "down-list" "end-of-" "exchange-point-and-mark" "forward-" "goto-"
596 "handle-select-window" "indent-for-tab-command" "left-" "mark-page"
597 "mark-paragraph" "mouse-set-point" "move-" "move-beginning-of-"
598 "move-end-of-" "next-" "other-window" "pop-global-mark" "previous-"
599 "recenter" "right-" "scroll-" "self-insert-command" "split-window-"
600 "up-list")
602 (provide 'eldoc)
604 ;;; eldoc.el ends here