1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
Romain Francoise
1cf586a447 (describe-simplify-lib-file-name): Fix regexp. 2005-10-29 14:12:08 +00:00
Romain Francoise
059a552c5c * subr.el (locate-library): Move from help-fns.el.
* help-fns.el (locate-library): Move to subr.el.
2005-10-28 16:55:48 +00:00
Richard M. Stallman
9888177fec (describe-simplify-lib-file-name): New function.
(describe-function-1, describe-variable): Use it.
2005-10-23 19:12:10 +00:00
Juanma Barranquero
7a650da0af (describe-categories): "?\ " -> "?\s".
(help-do-arg-highlight): Recognize also ARG-n, as in `move-to-left-margin'
(ARG+n is already recognized).  Simplify.
2005-09-13 15:00:21 +00:00
Richard M. Stallman
136b8cbeaa (describe-variable): Rearrange to put source link in a predictable place. 2005-09-12 15:35:22 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Stefan Monnier
d4b4dfc6c2 Fix up commenting style. 2005-07-14 02:06:30 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
11bc6e51a0 (help-do-arg-highlight): Regexp-quote argument names. 2005-07-01 01:13:27 +00:00
Juanma Barranquero
27bbbadb3e (help-do-arg-highlight): Highlight also -ARG (for example, -NLINES on the
`occur' docstring).
2005-06-30 14:20:56 +00:00
Masatake YAMATO
6dfa731f20 * emacs-lisp/find-func.el (find-function-noselect): Handle
subroutines.
* help-fns.el (help-C-file-name): Added autoload mark for
`find-function-noselect'.
2005-05-30 18:06:02 +00:00
Nick Roberts
1bd5397742 (describe-variable): Remove hyperlinks in a
variable's value as these are quite frequently inappropriate.
2005-05-19 00:13:09 +00:00
Thien-Thi Nguyen
5ee2cf8a5a (help-with-tutorial): Revert last change. 2005-03-30 22:51:39 +00:00
Thien-Thi Nguyen
c48d7fa0ab (help-with-tutorial): Delete title line. 2005-03-30 15:44:40 +00:00
Lute Kamstra
02f244c8ed (help-with-tutorial): Make sure that users cannot remove the entire
text of the tutorial by means of `undo'.
2005-02-03 19:42:19 +00:00
Richard M. Stallman
1bc9c7ed8b Whitespace/comment change. 2005-01-07 16:12:34 +00:00
Richard M. Stallman
20a514ceed (variable-at-point): New arg ANY-SYMBOL. 2005-01-05 01:09:23 +00:00
Richard M. Stallman
38fb035434 (describe-function-1): Call symbol-file with `defun'.
(describe-variable): Call symbol-file with `defvar'.
2004-12-27 16:24:20 +00:00
Kim F. Storm
e9e50b12cd (describe-variable): Add follow-link property to "below" button. 2004-12-17 15:17:02 +00:00
Juri Linkov
f507d6a153 * help-fns.el (variable-at-point):
As a last resort try striping non-word prefixes and suffixes.
2004-12-16 13:06:05 +00:00
Jan Djärv
84c2fd9f35 * help-fns.el (help-C-file-name): File name must be in build-files
to be returned.
2004-11-09 08:20:44 +00:00
Juri Linkov
95da5522bb (variable-at-point): read -> intern. 2004-10-30 01:06:58 +00:00
Daniel Pfeiffer
cb32aefcd4 (describe-variable): Use it to make "below" a hyperlink. 2004-10-13 18:54:21 +00:00
Juri Linkov
cc3064a5e9 (variable-at-point): Try `find-tag-default' when other methods failed. 2004-09-02 16:37:22 +00:00
Juanma Barranquero
8c1138beaf (help-argument-name): Inherit from italic face only if the frame
supports it.
2004-06-06 21:44:22 +00:00
Juri Linkov
575f611801 (help-argument-name): Add :group 'help. 2004-06-06 02:49:56 +00:00
Juanma Barranquero
048fa48b8d (help-argument-name): Unconditionally inherit from 'italic (pending
investigation of problem with `supports' in `defface').
2004-06-05 01:49:53 +00:00
Juanma Barranquero
8be2a2dd85 (help-argument-name): Reintroduce face.
(help-default-arg-highlight): Use it, now that
`face-differs-from-default-p' can be trusted.
2004-06-04 23:26:14 +00:00
Juanma Barranquero
7d57db2916 (help-add-fundoc-usage): Use %S only for output of `help-make-usage'.
(help-highlight-arguments): Skip function name before searching for
arguments.
2004-05-22 01:58:25 +00:00
Juanma Barranquero
aae424b96f (help-arg-highlighting-function, help-argument-name): Delete.
(help-default-arg-highlight): New function.
(help-do-arg-highlighting): Use it.
2004-05-13 01:18:00 +00:00
Juanma Barranquero
00ed4f9098 (help-split-fundoc, help-add-fundoc-usage): Make arguments match their use in
docstring.
(help-arg-highlighting-function): New variable.
(help-argument-name): Mention it in the docstring.
(help-do-arg-highlight): Use it.  Expand regexp to accept also ARG-xxx and
xxx-ARG references.
2004-05-11 23:50:25 +00:00
Juanma Barranquero
55fdba3190 (help-argument-name): Default to italic.
(help-highlight-arguments): Always return (usage . doc).
2004-05-09 22:41:34 +00:00
Juanma Barranquero
60c249555a (help-highlight-arguments): Fix braino. 2004-05-09 01:28:34 +00:00
Juanma Barranquero
fef3a3ab7c (help-highlight-arguments): Don't try to highlight missing or autoloaded
arglists.  Accept structured arguments, like the first ones of `do' and
`flet'.
2004-05-09 00:45:49 +00:00
Juanma Barranquero
6aab5f13cd (help-do-arg-highlight): Temporarily set ?\- to be a word constituent so
FOO-ARG is not recognized as an arg.
(help-highlight-arguments): Don't skip lists in mandatory arguments.
2004-05-07 22:41:22 +00:00
Juanma Barranquero
1c34b5a97d (help-argument-name): Default to bold; don't inherit from
font-lock-variable-name-face.
(help-do-arg-highlight): Grok also ARGth occurrences in the docstring.
2004-05-06 01:12:06 +00:00
Juanma Barranquero
c57ada27c8 (help-argument-name): New face, inheriting from
font-lock-variable-name-face, to highlight function arguments in
`describe-function' and `describe-key'.
(help-do-arg-highlight): Auxiliary function to highlight a given list of
arguments in a string.
(help-highlight-arguments): Highlight the function arguments and all uses
of them in the docstring.
(describe-function-1): Use it. Do docstring output via `insert', not
'princ', so text attributes are preserved.
2004-05-04 00:22:29 +00:00
Juanma Barranquero
9242b3b792 (help-add-fundoc-usage): Use %S instead of %s to format arglist so default
values in CL-style argument lists are correctly shown.
2004-05-01 13:55:16 +00:00
Stefan Monnier
3ff0a7e940 (help-C-file-name): Use new subr-name.
Prepend `src/' to the file name.
(help-C-source-directory, help-subr-name, help-find-C-source): Remove.
(describe-function-1, describe-variable): Only find a C source file name
if DOC is already loaded.
2004-04-29 18:46:13 +00:00
Richard M. Stallman
19a151e59b (describe-function-1): If many non-control non-meta
keys run the command, don't list all of them.
2004-04-20 20:51:11 +00:00
Juri Linkov
7226605688 (help-with-tutorial): Call `hack-local-variables'
to put into effect local variables from TUTORIAL files.
2004-04-18 22:12:23 +00:00
Stefan Monnier
154ee9b737 (help-C-source-directory): New var.
(help-subr-name, help-C-file-name, help-find-C-source): New funs.
(describe-function-1, describe-variable): Use them.
2004-04-07 19:38:54 +00:00
Luc Teirlinck
47f8b8f126 (describe-categories): Doc fix. 2004-02-20 03:48:32 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
b0622c6d46 (describe-variable): Mention permanent local status. 2003-05-13 18:35:16 +00:00
Stefan Monnier
f8daddcffb (help-add-fundoc-usage): Use t for "no arglist". 2003-05-06 13:54:21 +00:00
Stefan Monnier
95734598cd (help-add-fundoc-usage): Allow arglist to be a string. 2003-05-04 00:30:34 +00:00
John Paul Wallington
88ff724bdf (help-add-fundoc-usage): Pass an empty string to `format' if
no newlines are necessary.
2003-04-12 04:28:43 +00:00
Kim F. Storm
023b93f6b0 Renamed remap-command to command-remapping. All uses changed. 2003-02-12 23:13:43 +00:00
Juanma Barranquero
a01ba4f1b1 (describe-function-1): Change output for keyboard macros. 2003-02-12 11:41:37 +00:00