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
Dave Love
3476e15955 (describe-variable): Hyperlink the definition. 1998-10-30 19:07:09 +00:00
Richard M. Stallman
3120a677e9 (help-quit): Add doc. 1998-09-27 21:20:42 +00:00
Richard M. Stallman
a82e9c0177 (help-for-help): Use %THIS-KEY%. 1998-09-27 21:17:26 +00:00
Dave Love
91fd6b858c (help-make-xrefs): Fix typo affecting Info references. 1998-09-21 17:39:54 +00:00
Dave Love
b484eecc3f (help-xref-interned): Bind inhibit-read-only when
inserting.
1998-09-09 19:55:29 +00:00
Richard M. Stallman
3f8309db3c (describe-function-1): Handle macros properly.
Handle multiple levels of aliases.
1998-08-10 02:02:56 +00:00
Richard M. Stallman
582b6241ef (describe-function-1): Fix the code that uses find-function-noselect. 1998-07-29 23:04:03 +00:00
Richard M. Stallman
4b08b7ed05 (help-map): C-h 4 i runs info-other-window.
(describe-key, describe-key-briefly):
Don't discard up event after down event.
1998-06-13 05:59:46 +00:00
Richard M. Stallman
9b49f910ae (help-make-xrefs): When scanning keymap binding listings,
scan from the very beginning.
(help-follow-mouse): Avoid save-excursion, so can set point properly.
1998-06-10 00:27:04 +00:00
Richard M. Stallman
4f103eaae6 Comment change. 1998-06-09 03:47:04 +00:00
Karl Heuer
4c45295b18 (help-setup-xref): Change all callers to
use (function args...) instead of (function . arg).  Doc fix.
(help-follow): Put (point) at front of elts of help-xref-stack.
(help-xref-stack): Elt format now (POSITION FUNCTION ARGS).
(help-xref-stack-item): Doc fix.
(help-xref-go-back): Assume new format for help-xref-stack.
(help-follow): Look for prop on previous char if next char has none.
Avoid error at beginning or end of buffer.
(describe-bindings): New optional arg BUFFER.
Use help-setup-xref.
1998-06-01 21:11:47 +00:00
Richard M. Stallman
7e824765ca (describe-variable): Add a button to call
customize-variable if the variable can be customized.
1998-05-25 18:39:16 +00:00
Richard M. Stallman
0f2aa0e118 (describe-key-briefly): When INSERT, put cmd name in `...'. 1998-05-14 05:23:24 +00:00
Richard M. Stallman
613a39b91b (view-lossage): Set help-xref-stack* in the help buffer.
(describe-bindings): Likewise.
(help-xref-go-back): New arg BUFFER.
(help-make-xrefs): Specify the help buffer as arg for
help-xref-go-back.
1998-05-07 05:37:59 +00:00
Richard M. Stallman
7dcf11272e (describe-function-1): Use find-function-noselect instead of find-function. 1998-05-07 05:30:07 +00:00
Dave Love
306a5e68ac (help-mode-map): Add S-tab, like backtab. 1998-04-22 11:40:18 +00:00
Richard M. Stallman
7f082394b4 (help-highlight-face): Use `face' as custom type. 1998-04-22 02:08:02 +00:00
Dave Love
2676e09953 (describe-function): Make hyperlink to library file
name, if available.
1998-04-21 13:08:47 +00:00
Richard M. Stallman
ad21fa0789 (help-with-tutorial): Locally bind file and filename. 1998-04-17 01:17:39 +00:00
Karl Heuer
05f6170c27 (describe-function-1): New function.
(describe-function): Use describe-function-1.
(describe-key): Likewise.
1998-04-13 06:56:24 +00:00
Kenichi Handa
3060bf835d (help-with-tutorial-alist): This variable deleted.
(help-with-tutorial): Get a tutorial file name by
get-language-info instead of help-with-tutorial-alist.
1998-04-09 05:39:11 +00:00
Dave Love
ff3453e4d1 (help-make-xrefs): Grok commands in keymap table
expansions.
(help-xref-button): Simplify.
(help-make-xrefs): Set overriding keymap properly.
1998-04-06 09:56:55 +00:00
Richard M. Stallman
400a1b1f84 (help-highlight-face): Use underline.
(help-mode-maybe): Ensure read-only.
(help-xref-button): Obey help-highlight-p.
(help-follow): Remove check for args being a list.
(help-mode): Doc fix.
(help-highlight-p): Put in help group.

(help-make-xrefs): Insert button label in scope of
inhibit-read-only binding.
(help-mode-map, help-make-xrefs): Define TAB, RET correctly.

Make hyperlinks for cross-reference info intuited from *Help* buffer.
(help-font-lock-keywords): Removed.
(help-mode-map): Define keys for navigating hyperlinks.
(help-xref-stack, help-xref-stack-item): New permanent-local variables.
(help-mode): Set font-lock-defaults to nil.
(help-mode-maybe): Invoke help-make-xrefs in Help mode.
(help-setup-xref): New function.
(describe-key, describe-mode, describe-function,
describe-variable): Call it.
(view-lossage, describe-bindings): Nullify help-xref-stack,
help-xref-stack-item.
(help-highlight-p): New option.
(help-highlight-face): New variable.
(help-back-label, help-xref-symbol-regexp, help-xref-info-regexp):
New variables.
(help-setup-xref, help-make-xrefs, help-xref-button,
help-xref-interned, help-xref-mode, help-follow-mouse,
help-xref-go-back, help-go-back, help-follow, help-next-ref): New functions.
1998-04-05 19:10:02 +00:00
Richard M. Stallman
382d018aa5 (view-emacs-news): Handle prefix arg. 1998-03-18 01:59:58 +00:00
Richard M. Stallman
01364a75fb (help-mode-maybe): Set view-return-to-alist.
(help-return-method): New variable.
(print-help-return-message): Set help-return-method.
1998-03-16 04:10:19 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
a249d3a05a (describe-bindings): Fix interactive spec. 1998-02-11 00:29:47 +00:00
Richard M. Stallman
a8ad43aa29 (describe-bindings): New command (formerly in keymap.c). 1998-02-05 03:26:45 +00:00
Karl Heuer
d56458467b (describe-variable): Don't use symbol-name if v isn't symbol. 1997-11-20 21:59:02 +00:00
Karl Heuer
c822b44bed (help-with-tutorial-alist): New variable.
(help-with-tutorial): Use help-with-tutorial-alist to read a language
name, and also to find the tutorial file for a language.
1997-11-20 21:47:12 +00:00
Karl Heuer
ed13681ff1 (help-for-help): Update text for `m'. 1997-11-11 03:55:47 +00:00
Karl Heuer
0e3cb3ebc8 (describe-function): Handle the arglist of a macro. 1997-11-11 02:52:50 +00:00
Karl Heuer
dd557bb8a2 (locate-library): Comment out the code that searches
for compressed files.
1997-10-24 19:50:35 +00:00
Karl Heuer
cf4320b8bf (locate-library): Bind jka-compr-inhibit to t. 1997-10-23 07:01:19 +00:00
Karl Heuer
1126786767 (function-called-at-point): Always use Emacs Lisp syntax tab.
Reject any "function call" with whitespace after the open-paren.
1997-10-16 18:32:06 +00:00
Karl Heuer
1bacc93e70 (describe-variable): Pass default value to completing-read.
(describe-function): Likewise.
1997-10-16 18:12:06 +00:00
Karl Heuer
21de5941c9 (help-mode-maybe): New function, on temp-buffer-show-hook.
(describe-key, describe-mode): Don't call help-mode here.
(view-lossage, describe-function, describe-variable): Likewise.
1997-10-15 23:36:30 +00:00
Richard M. Stallman
71e9bd7171 (help-with-tutorial): Doc fix. 1997-08-27 17:26:03 +00:00
Richard M. Stallman
da4127720b (help-with-tutorial): Use current-language-environment. 1997-08-19 04:39:43 +00:00
Richard M. Stallman
4bbc4094c4 (describe-key): Don't put a colon after the command name. 1997-08-09 07:37:02 +00:00
Richard M. Stallman
f90b69224c (help-mode): Set view-no-disable-on-exit. 1997-08-08 22:25:31 +00:00
Richard M. Stallman
eea844b25e (describe-function): Use " is " instead of colon. 1997-08-04 03:57:04 +00:00
Richard M. Stallman
a30a106b8d (help-for-help): Update help text. 1997-07-05 18:07:30 +00:00
Richard M. Stallman
32884eab96 (help-map): Make C-i run info-lookup-symbol. 1997-06-18 06:50:55 +00:00
Richard M. Stallman
e88a2c5911 (describe-key-briefly, where-is): Prefix arg means
insert help text into current buffer.
1997-05-22 06:20:42 +00:00
Kenichi Handa
7c9b148e80 (help-with-tutorial): Fix a bug of handling non-English
tutorial file.
1997-05-12 06:56:21 +00:00
Richard M. Stallman
122955bfb4 (help-map): Use apropos-command, not command-apropos. 1997-03-21 07:45:24 +00:00
Karl Heuer
0634ea78a0 (help-with-tutorial): Prefix argument to specify a
language interactively.
1997-02-20 05:45:01 +00:00
Richard M. Stallman
f2102d2cd7 (help-map): Define C-h C-i to run word-help. 1996-12-28 20:29:42 +00:00
Richard M. Stallman
ddbe99e039 (describe-mode): Include minor modes that aren't buffer local. 1996-12-16 02:44:52 +00:00
Richard M. Stallman
9a656d196a (describe-variable): Pretty-print the values.
Put doc string first, if the value is long.
1996-11-10 18:52:18 +00:00
Richard M. Stallman
00d3de8eae (describe-function): If no fn specified, say so.
(variable-at-point): Return 0 if no variable there.
(describe-variable): If no variable specified, say so.
Don't use nil as the variable.
1996-10-13 13:59:51 +00:00
Erik Naggum
a1c9f2095f (print-help-return-message): Use new functions `special-display-p' and
`same-window-p' to determine which help message to print.
(Also unquote lambda forms.)
1996-10-06 16:27:39 +00:00
Richard M. Stallman
a130d829db (locate-library): Print no messages if called from Lisp. 1996-09-21 23:07:06 +00:00
Richard M. Stallman
9dc176a012 (locate-library): New arg PATH. Handle autocompression mode. 1996-09-02 01:16:42 +00:00
Richard M. Stallman
2747503c0a (locate-library): Doc fix. 1996-09-02 01:05:22 +00:00
Simon Marshall
b80778111e Fully reinstall July 26 change. 1996-08-05 07:18:48 +00:00
Richard M. Stallman
8743d4cb20 (help-font-lock-keywords): Undo July 26 change. 1996-07-31 18:17:16 +00:00
Richard M. Stallman
dd7d85bab7 (help-fontify-buffer-function): Function deleted.
(help-mode): Set font-lock-defaults in simple way again.
1996-07-29 23:39:34 +00:00
Richard M. Stallman
0e0ee79544 (help-font-lock-keywords): Use font-lock-function-name-face
for variables, too.

(help-mode): Set font-lock-defaults to provide bindings for
local fontification functions.
(help-fontify-buffer-function): New function.
1996-07-27 02:44:27 +00:00
Richard M. Stallman
83f8659432 (describe-mode): Put a formfeed between each two modes.
Print a message at the top explaining that minor modes come first
followed by the major mode.
1996-07-24 16:52:33 +00:00
Richard M. Stallman
2ef581f34c (describe-mode): Handle minor mode w/o mode line indicator. 1996-03-18 06:44:10 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
fb3fc9b819 (describe-function): Call documentation just once.
(describe-key): Likewise.
1995-10-31 00:43:22 +00:00
Richard M. Stallman
c8f98e6dac (describe-variable): Don't call substitute-command-keys. 1995-10-30 21:18:39 +00:00
Richard M. Stallman
fc558e4ded (describe-key, describe-key-briefly): For a mouse click,
go to its buffer and position before looking up the key.
1995-10-25 19:30:19 +00:00
Richard M. Stallman
914a48d0f0 (variable-at-point, function-called-at-point):
Switch temporarily to emacs-lisp-mode-syntax-table.
1995-10-14 00:39:58 +00:00
Richard M. Stallman
e91b8e7ef7 (variable-at-point, function-called-at-point): Fix revious changes. 1995-10-12 17:56:17 +00:00
Richard M. Stallman
da16d59923 (function-called-at-point, variable-at-point):
Don't back up if we start at the beginning of a symbol.
1995-10-10 20:03:31 +00:00
Richard M. Stallman
5cabce210e (print-help-return-message): Handle lists in
special-display-regexps and same-window-regexps.  Also in
special-display-buffer-names and same-window-buffer-names
1995-10-01 20:00:22 +00:00
Richard M. Stallman
42499979a3 (help-mode): Call view-mode. 1995-09-25 18:39:31 +00:00
Richard M. Stallman
ad3ec2527c (describe-function): Show file name for autoloaded fns. 1995-08-25 15:35:37 +00:00
Simon Marshall
3d42d54264 Insert missing quote in help-font-lock-keywords. 1995-08-11 08:52:42 +00:00
Simon Marshall
507fb916e9 Added Font Lock mode support. 1995-08-10 15:24:09 +00:00
Karl Heuer
95b7ed4801 (command-apropos): Deleted function. This is replaced by
apropos-command in apropos.el.
1995-07-07 18:54:22 +00:00
Richard M. Stallman
0af3df1cd6 Bind f1 and help like C-h. 1995-06-29 02:50:52 +00:00
Karl Heuer
ccc06dcce5 (describe-prefix-bindings): If key is a string,
make a substring; for a vector, make a vector.
1995-05-24 00:46:17 +00:00
Richard M. Stallman
125a8d7091 (print-help-return-message): Check same-window-buffer-names
and same-window-regexps.
1995-04-24 15:13:20 +00:00
Richard M. Stallman
6e7f5182c3 (print-help-return-message): Check same-window-buffer-names
and same-window-regexps.
1995-04-13 18:15:01 +00:00
Richard M. Stallman
7ee71cf1bc (view-emacs-FAQ): New function. Bind to C-h F.
(help-for-help): Doc fix.
1995-03-06 05:16:14 +00:00
Richard M. Stallman
3e483e0134 (describe-variable): If var is local, mention default. 1995-02-01 09:29:40 +00:00
Richard M. Stallman
b872e1da17 (describe-variable): Use local-variable-p. 1995-01-27 23:10:42 +00:00
Richard M. Stallman
efcce2d2d1 (help-for-help): Doc fix. 1995-01-19 18:50:26 +00:00
Richard M. Stallman
a5743acc05 (describe-function): Fix previous change. 1994-12-21 14:39:36 +00:00
Richard M. Stallman
159a489504 (describe-function): Don't add `.el' when printing file name. 1994-12-21 14:38:59 +00:00
Karl Heuer
c46bbd9262 (describe-key, describe-mode, view-lossage, describe-function, describe-variable): Set help-mode in *Help* buffer. 1994-11-09 05:50:09 +00:00
Karl Heuer
afaa65e4ea (help-mode): New function.
(help-mode-map): Local keymap for help-mode.  Empty for now.
(print-help-return-message): Fix misspelled var.
1994-11-08 05:09:01 +00:00
Richard M. Stallman
ca5ed19616 (describe-function-find-file): New function.
(describe-function): Use that.
1994-10-21 19:42:50 +00:00
Richard M. Stallman
6f6bfb8573 (describe-function): Mention the file it was loaded from. 1994-10-21 19:37:36 +00:00
Richard M. Stallman
cba9a9dcb1 (command-apropos): Pass t for no-header to apropos. 1994-09-27 21:43:37 +00:00
Richard M. Stallman
34b0ef48cb (print-help-return-message): Handle cons cells
in special-display-regexps and special-display-buffer-names.
1994-09-22 05:07:30 +00:00
Richard M. Stallman
7e76ae2395 (describe-variable): Report whether var is local in this buf. 1994-09-17 07:30:42 +00:00
Richard M. Stallman
298a7c8c1c (view-lossage): Handle buffers and frames in recent-keys. 1994-08-10 04:08:26 +00:00
Richard M. Stallman
d536293f4b (print-help-return-message): If help buffer is a
special display buffer, say nothing about how to switch back.
1994-07-16 17:58:12 +00:00
Richard M. Stallman
3e9c095dd4 (finder-by-keyword): Add doc string and t for interactive. 1994-06-20 20:34:22 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Richard M. Stallman
7192540ba3 (describe-mode): Fix previous change. 1994-04-15 23:50:31 +00:00
Richard M. Stallman
ad023904b2 (describe-mode): Always show minor modes, at front. 1994-04-15 23:47:08 +00:00
Richard M. Stallman
2fc9d9f462 (help): New alias.
(help-for-help): Mention help character.
(help-quit): New command.
(help-map): Bind `q'.
1994-03-30 01:43:37 +00:00
Richard M. Stallman
54c0b967c3 (where-is): New function. 1994-03-23 04:54:20 +00:00
Richard M. Stallman
d0da230194 (help-with-tutorial): Change previous change;
reduce threshold to 12 lines.
1994-03-20 02:37:51 +00:00
Karl Heuer
857a1de679 (help-with-tutorial): Avoid unexplained large blank area. 1994-03-19 04:03:24 +00:00
Karl Heuer
a9d3e9172f (help-for-help): Use help-map in the docstring. 1994-02-24 23:20:12 +00:00
Richard M. Stallman
224d56a3c5 (help-for-help): Doc fix. 1994-01-26 20:14:27 +00:00
Richard M. Stallman
0e55250875 (help-for-help): Mention the scroll commands. 1993-12-31 03:46:42 +00:00
Richard M. Stallman
76766f2d87 (describe-project): New function, on C-h C-p.
(help-for-help): Add C-p.  Refer to help-command, not
help-for-help, in the \\[...].
1993-11-15 09:23:34 +00:00
Roland McGrath
21ee8c42cf (help-for-help): Mention C-k and C-f. 1993-08-06 20:24:57 +00:00
Richard M. Stallman
fca4b77513 (describe-key-briefly): Don't set `foo'. 1993-07-04 21:30:15 +00:00
Richard M. Stallman
c7cba9cb35 (describe-prefix-bindings): Doc fix. 1993-07-04 18:55:54 +00:00
Richard M. Stallman
61c6b658a9 (describe-prefix-bindings): New command.
(prefix-help-command): Set it.
1993-07-04 18:53:24 +00:00
Richard M. Stallman
abe85b1b3a (finder-by-keyword): Autoload from finder', not finder.el'. 1993-05-26 22:19:06 +00:00
Richard M. Stallman
5f296b78d2 (describe-key, describe-key-briefly):
Discard the click or drag that follows a down event.
1993-05-22 18:23:31 +00:00
Richard M. Stallman
b1fe930449 Require help-macro, not help-screen. 1993-05-08 22:38:37 +00:00
Richard M. Stallman
af6a9de97d (help-for-help): Use lower case letters for help options. 1993-05-03 15:34:46 +00:00
Roland McGrath
7f26b1809d (describe-function): For Lisp functions, write a prototype call before
the docstring, instead of an argument description after it.
1993-03-31 21:11:33 +00:00
Richard M. Stallman
cdd672cc5a (describe-function): Add blank line above doc string. 1993-03-25 03:40:35 +00:00
Eric S. Raymond
d9ecc911ff Added or corrected Commentary headers 1993-03-22 16:53:22 +00:00
Richard M. Stallman
8aa3a18783 Don't load help-screen at run time if compiled. 1993-03-22 06:59:54 +00:00
Eric S. Raymond
41b8542b36 Teach this to use help-screen.el. 1993-03-17 22:20:57 +00:00
Eric S. Raymond
06b98c510c Added autoload, binding and menu line for new finder feature (P). 1993-03-11 07:55:27 +00:00
Richard M. Stallman
78e3ef3ce6 (command-apropos): Print echo area message iff found symbols. 1993-03-09 17:48:56 +00:00
Richard M. Stallman
4591cb9059 (describe-function): Print the arglist if the function is bytecode or a list. 1993-02-19 05:06:28 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Richard M. Stallman
762435dda4 (describe-function): Print an autoloaded', not a ...'. 1992-10-23 09:19:12 +00:00
Eric S. Raymond
e17d2fd179 entered into RCS 1992-08-03 22:07:34 +00:00
Eric S. Raymond
8892e83c7c *** empty log message *** 1992-08-03 22:05:14 +00:00
Eric S. Raymond
c3aef01995 *** empty log message *** 1992-08-03 21:49:55 +00:00
Richard M. Stallman
ab67260b08 *** empty log message *** 1992-07-27 02:56:28 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
fd7fa35a05 *** empty log message *** 1992-07-17 08:15:29 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Jim Blandy
79058860e1 *** empty log message *** 1992-07-10 01:16:40 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Eric S. Raymond
1a06eabd17 *** empty log message *** 1992-05-30 23:12:08 +00:00
Jim Blandy
1e6dacf62d *** empty log message *** 1991-12-05 18:54:06 +00:00
Richard M. Stallman
433ae6f6e1 Initial revision 1991-08-25 21:47:10 +00:00