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

236 Commits

Author SHA1 Message Date
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
Stefan Monnier
4e1ede6c01 (help-xref-on-pp): Use match-string.
(describe-variable): New arg BUFFER.
Store the current buffer in the help-xref-stack.
(temp-buffer-resize-mode): Use define-minor-mode.
2000-10-05 22:27:38 +00:00
Eli Zaretskii
bb934822bb Fix typo in a doc string of help-insert-xref-button. 2000-09-08 09:39:05 +00:00
Kenichi Handa
96ede6b2d5 (help-make-xrefs): Adjusted for the change of
help-xref-mule-regexp.
(help-insert-xref-button): New function.
2000-09-07 02:37:37 +00:00
Dave Love
3b4429b490 (help-manyarg-func-alist): Add ml-prefix-argument-loop,
insert-before-markers-and-inherit.  Now checked systematically!
2000-09-05 15:16:23 +00:00
Dave Love
caf047eca9 (help-manyarg-func-alist): Add
find-operation-coding-system.
2000-09-04 21:18:49 +00:00
Kenichi Handa
880c345e7d (help-make-xrefs): Don't make hyperlinks for incorrect coding systems. 2000-08-31 07:03:28 +00:00
Eli Zaretskii
5b7a8c4622 (help-make-xrefs, help-xref-mule-regexp): Doc fix. 2000-08-29 17:23:43 +00:00
Kenichi Handa
cba62b78c3 (help-xref-mule-regexp): New variable
(help-make-xrefs): Handle help-xref-mule-regexp.
2000-08-29 05:37:05 +00:00
Gerd Moellmann
f0753a5f45 (view-emacs-news): Rewritten for new naming scheme
for old NEWS files.
2000-08-17 15:36:54 +00:00
Dave Love
9a200f6832 (function-called-at-point, variable-at-point): Use
with-syntax-table.
(help-manyarg-func-alist): Add insert-and-inherit.
2000-08-15 14:25:50 +00:00
Gerd Moellmann
f3ad2fc8d0 (print-help-return-message): When
display-buffer-reuse-frames is set, let the help window been quit,
instead of deleting it, which might delete a reused frame.
2000-08-08 12:18:17 +00:00
Gerd Moellmann
4675e266da (describe-mode): Test mini-mode symbol for being
bound before testing its value for being nil.
2000-08-06 12:09:31 +00:00
Gerd Moellmann
d365421f85 (describe-variable): Don't insert a second `'s' in front
of the string `value is shown below'.  Since the syntax-table to
emacs-lisp-mode-syntax-table makes forward-sexp skip over an
existing `'s', so that this won't be deleted.
2000-06-27 10:54:26 +00:00
Dave Love
9c50afce62 (describe-function-1): Kluge around cases of functions fset to subrs
whose doc doesn't match their symbol-name.
2000-06-13 21:06:37 +00:00
Dave Love
d16296bbaa (describe-function-1): Distinguish special form from
builtin function.  Sanity-check presence of arglist for builtins.
2000-06-01 18:27:31 +00:00
Stefan Monnier
194959c700 (help-manyarg-func-alist): Typo. 2000-05-22 04:31:04 +00:00
Gerd Moellmann
279b772d9b (view-emacs-FAQ): Change emacs-faq' to efaq'. 2000-05-16 14:31:26 +00:00
Dave Love
376b2a24f9 (help-xref-stack): Doc fix.
(help-xref-following): New variable.
(help-make-xrefs): Use it.
(help-xref-go-back): Use position information from stack element.
(help-follow): Make position in stack element a pair.  Use
help-xref-following.
2000-05-14 15:48:45 +00:00
Dave Love
950cf06f8f (describe-variable): Have customize button pop the
help-xref stack when invoked.
(help-xref-symbol-regexp): Add `face'.
(help-make-xrefs): Check for quoted face names and adapt regexp
submatch numbers to cope.
(help-xref-interned): Maybe insert face doc too.  Separate
sections with a line of hyphens.
2000-05-09 15:51:57 +00:00