1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

255 Commits

Author SHA1 Message Date
Richard M. Stallman
d92c27571f (where-is): Catch errors in indirect-function. 2003-01-13 08:04:46 +00:00
Stefan Monnier
3829bcc589 (where-is): Rename map to defs (a list of syms is not a map).
Test fboundp first, to speed things up.  Use push.
2002-11-07 18:28:09 +00:00
Juanma Barranquero
7a698dc1c5 (where-is): Repport also aliases of the passed command. 2002-11-07 16:46:11 +00:00
Stefan Monnier
ae1bb8acec (help-key-description): Show the untranslated keys
when they start with ESC and the ESC was not translated.
2002-07-16 16:08:44 +00:00
Richard M. Stallman
d009b6e905 (help-map): Add binding for info-emacs-manual.
(print-help-return-message): Doc fix.
2002-07-12 22:57:11 +00:00
Richard M. Stallman
1ebc1f01bf (view-todo): New function.
(help-map): Bind C-h C-t to view-todo.
(help-for-help): Change the text.
2002-05-01 16:41:52 +00:00
Gerd Moellmann
f03b7c7d8a (string-key-binding): Deal with margin events. 2002-04-12 09:40:56 +00:00
Stefan Monnier
02dfca16b1 (help-key-description): New fun.
(describe-key-briefly, describe-key): Use it and
this-single-command-raw-keys plus new arg `untranslated'.
2002-04-02 03:23:26 +00:00
Pavel Janík
d61ac4a653 (describe-key-briefly, describe-key): Interpret `undefined' like not
defined at all.
2002-03-04 09:24:40 +00:00
Kim F. Storm
962ffad8d7 (where-is): Use remap-command. 2002-02-23 22:31:02 +00:00
Richard M. Stallman
80d553d4cd (describe-key-briefly): Make output in INSERT case
look just like what is displayed in the normal case.
2002-02-15 19:59:25 +00:00
Kim F. Storm
290bfb6617 (where-is): Report remapped commands. 2002-02-06 23:03:56 +00:00
Richard M. Stallman
9e0e631c12 (describe-distribution): Really call view-file. 2002-01-17 01:40:47 +00:00
Richard M. Stallman
5439199019 Fix previous change. 2002-01-14 01:40:29 +00:00
Richard M. Stallman
ad394bee47 Fix previous change. 2002-01-14 01:36:56 +00:00
Richard M. Stallman
4f16ea852d (view-echo-area-messages): New function.
(help-map): Add `e' binding.  Delete obsolete `d' binding.
Change old Info bindings C-f, C-k and C-i to F, K, S.
Move view-emacs-FAQ from F to C-f.
Move view-emacs-problems from P to C-e.
Bindings moved here from mule-cmds.el.
C-l binding for describe-language-environment deleted.
Bind C-h like h, to view-hello-file.
(help-for-help): Update for all these changes.
2002-01-14 01:36:33 +00:00
Richard M. Stallman
9639be74eb (describe-mode): Call help-setup-xref in the help buffer.
Switch buffers only after calling `help-buffer'.
2002-01-12 20:53:27 +00:00
Richard M. Stallman
a0d32c10a6 (describe-key): Doc fix. 2001-12-28 02:11:59 +00:00
Richard M. Stallman
64f3b7d38f (view-order-manuals, view-emacs-news, describe-copying)
(describe-distribution, describe-project): Use view-file.
2001-12-22 01:27:34 +00:00
Stefan Monnier
3e5929af18 (view-lossage): Call help-setup-xref correctly and earlier.
(describe-bindings): Call help-setup-xref earlier.
(describe-key): Call help-setup-xref.  Fix call to describe-function-1.
(describe-mode): Don't autoload.  Call help-setup-xref earlier.
2001-10-11 23:34:17 +00:00
Stefan Monnier
94ea540bda (describe-bindings-internal): New fun moved from keymap.c. 2001-10-11 22:31:20 +00:00
Miles Bader
788d62cf43 Don't require `view' when compiling.
(help-with-tutorial, describe-function, describe-function-1)
(variable-at-point, describe-variable, locate-library):
Functions moved into `help-funs.el'.
(help-manyarg-func-alist): Variable moved into `help-funs.el'.
(help-mode, help-mode-setup, help-mode-finish, help-button-action)
(help-setup-xref, help-xref-following, help-make-xrefs)
(help-xref-button, help-insert-xref-button, help-xref-interned)
(help-xref-go-back, help-go-back, help-do-xref, help-follow)
(help-xref-on-pp): Functions moved into `help-mode.el'
(help-mode-map, help-xref-stack, help-xref-stack-item)
(help-highlight-p, help-highlight-face, help-back-label)
(help-xref-symbol-regexp, help-xref-mule-regexp)
(help-xref-info-regexp): Variables moved into `help-mode.el'.
(help-symbol, help-back, help-info, help-customize-variable)
(help-function-def, help-variable-def):
Button-types moved into `help-mode.el'.
(load-symbol-file-load-history, symbol-file):
Functions moved into `subr.el'.
(symbol-file-load-history-loaded): Variable moved into `subr.el'.
(view-lossage): Call `help-setup-xref' instead of doing it manually.
2001-10-09 11:17:39 +00:00
Stefan Monnier
b0fbf75422 (help-mode): Use define-derived-mode.
(describe-mode): Add optional `buffer' arg.
Use it instead of going through help-xref-mode.
Avoid doubling the word `minor' when prettifying.
(describe-function-1): List the corresponding key bindings.
(describe-variable): Say if the var is automatically buffer-local.
If the source is `loaddefs.el', look for the real source.
(help-xref-mode): Remove.
2001-10-08 00:19:58 +00:00
Miles Bader
0cf0d8284d (help-mode-map): Make button-buffer-map our parent.
Don't bind mouse events or tab/backtab.
(help-function, help-variable, help-face, help-coding-system)
(help-input-method, help-character-set, help-back, help-info)
(help-customize-variable,  help-function-def, help-variable-def):
New button types.
(help-button-action): New function.
(describe-function-1): Pass help button-types to `help-xref-button'
rather than help function and help-echo string.  Don't put multiple
help-function args in a list to pass them to help-xref-button, just pass
them as multiple arguments.  Use `help-insert-xref-button' to make
[back]-button, rather than `help-xref-button'.
(help-xref-button): Take a button-type TYPE as a parameter rather than a
function.  Remove HELP-ECHO parameter.  Remove DATA parameter and add a
&rest parameter ARGS to serve the same purpose.  Use `make-text-button'
to add the button.
(help-insert-xref-button): Use `insert-text-button' to add the button.
(help-follow-mouse, help-next-ref, help-previous-ref): Functions removed.
(help-do-xref): New function.
(help-follow): Use `push-button' and `help-do-xref' to do most of the work.
2001-10-07 12:05:22 +00:00
Eli Zaretskii
e0c2126682 (help-for-help): Doc fix. From Pavel@Janik.cz (Pavel Janik). 2001-10-01 07:03:13 +00:00
Stefan Monnier
e5c60e4692 (describe-function-1): Save precomputed `file-name' rather
than recomputing it (incorrectly) with `symbol-file'.
2001-09-04 01:06:43 +00:00
Gerd Moellmann
c106884743 (describe-function-1): Use
find-function-search-for-symbol instead of find-functin-noselect
because the latter follows aliases.
2001-08-06 14:28:36 +00:00
Gerd Moellmann
6ce5615d62 (describe-function-1): When printing FUNCTION's
documentation, don't assume FUNCTION is a symbol.
2001-07-10 14:09:30 +00:00
Eli Zaretskii
f1c53471a7 (locate-library): Enable code that looks for compressed
libraries if auto-compression-mode is on.
2001-07-03 12:39:17 +00:00
Richard M. Stallman
7727f3c0b8 (describe-variable): Put value on same line
with preceding text, if it is short enough to look good that way.
2001-06-01 18:02:04 +00:00
Richard M. Stallman
9bc4554a03 (help-xref-symbol-regexp): Recognize "source of"
and friends, meaning make a link to the source file.
(help-make-xrefs): Handle "source of" and friends
by constructing a link that visits the source file.
2001-05-05 22:31:41 +00:00
Eli Zaretskii
50b5719962 (view-lossage): Mention open-dribble-file in the doc
string.  Suggested by Riku Saikkonen <rjs@lloke.dna.fi>.
2001-03-25 14:02:09 +00:00
Gerd Moellmann
4b29c200c5 (string-key-binding): Don't call event-start on
a non-list.
2001-03-13 15:00:45 +00:00
Gerd Moellmann
c085b77c3f (string-key-binding): Renamed from
mode-line-key-binding.  Handle any event on a string.  Check for
`keymap' properties as well as `local-map' properties.
2001-03-09 16:24:53 +00:00
Gerd Moellmann
869e248da3 (describe-project): Display the file THE-GNU-PROJECT. 2001-02-26 16:40:08 +00:00
Gerd Moellmann
3879075511 (view-order-manuals): Use goto-address. 2001-02-26 14:13:35 +00:00
Gerd Moellmann
754084bb42 (view-order-manuals): New function.
(toplevel): Bind C-h C-m to this function.
2001-02-22 11:18:03 +00:00
Richard M. Stallman
57f43907dd Comment changes. 2001-02-21 02:37:01 +00:00
Gerd Moellmann
50ca4be0b9 (load-symbol-file-load-history): New function extracted
from function symbol-file.
(symbol-file): Use it.
2001-01-11 14:24:22 +00:00
Eli Zaretskii
5760471ff7 (help-for-help): Fix a typo in a doc string. From kwzh@gnu.org (Karl Heuer). 2001-01-04 08:51:36 +00:00
Gerd Moellmann
0383ed602c (describe-function-1): Regexp-quote function name
when used as part of a regexp.
2000-11-29 20:05:46 +00:00
Miles Bader
a2e6f42617 (help-make-xrefs): Delete extraneous newlines at the end of the docstring. 2000-11-27 02:31:34 +00:00
Miles Bader
46c569725e (help-manyarg-func-alist): Correct entry for `vconcat'. 2000-11-27 02:08:39 +00:00
Gerd Moellmann
975f82c969 (view-emacs-news): Use ONEWS.* instead of NEWS.* files. 2000-11-02 13:36:58 +00:00
Miles Bader
d9c30bdf7f (resize-temp-buffer-window): Use `fit-window-to-buffer'. 2000-10-21 05:40:19 +00:00
Miles Bader
b86c791c0f (resize-temp-buffer-window): Use `set-window-text-height'
instead of `enlarge-window' & `mode-line-window-height-fudge'.
2000-10-20 15:19:04 +00:00
Miles Bader
8c6e4a58a3 (resize-temp-buffer-window): Use `mode-line-window-height-fudge'. 2000-10-20 09:23:20 +00:00
Miles Bader
61dfccfd5d (resize-temp-buffer-window): Add hack to avoid last line
being obscured by whizzy mode-lines on graphical displays.
2000-10-17 11:08:03 +00:00
Gerd Moellmann
5fbeea7474 Provide `help' for the sake of define-minor-mode
which generates defcustoms with requires.
2000-10-16 15:56:32 +00:00
Stefan Monnier
8304a3bb77 Missing paren. 2000-10-05 22:28:23 +00:00