1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
Nick Roberts
46ab76918c (help-function-def, help-variable-def)
(help-face-def): Print a message in the minibuffer.
2006-07-21 22:54:40 +00:00
Richard M. Stallman
84333e068e (help-variable-def): Handle find-variable-noselect returning no position.
(help-function-def): Likewise for find-function-search-for-symbol.
(help-face-def): Likewise.
2006-07-12 16:00:45 +00:00
Kim F. Storm
27313250fb Add space for clarity. 2006-07-11 20:12:40 +00:00
Nick Roberts
a79d347419 (help-xref-symbol-regexp): Add property as a keyword for ignoring links. 2006-06-28 23:29:54 +00:00
Richard M. Stallman
4bc1b83644 (help-mode): view-exit-action calls delete-window
only when it is safe and possible.
2006-05-01 20:18:47 +00:00
Richard M. Stallman
7561ff7493 (help-mode): Set view-exit-action to delete window. 2006-04-18 21:18:27 +00:00
Luc Teirlinck
8a31f81302 (help-follow-symbol): New function. Essentially identical to the old
`help-follow', but do not let `push-button' do the work when on an xref.
(help-mode-map): Bind `help-follow-symbol' to "C-c C-c".
(help-xref-symbol-regexp): Make no xref for symbol preceded by the
word `program'.  (From Richard M. Stallman.)
(help-follow-mouse, help-follow): Throw error if not on xref.
Delete no longer used args.  (From Richard M. Stallman.)
2006-03-20 00:42:21 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Nick Roberts
ee90fe9213 (help-insert-string): New function. Save buffer
contents in cases where it is impossible to recompute the old
contents.
2005-12-27 21:11:50 +00:00
Nick Roberts
d74f241f38 (help-customize-variable, help-customize-face):
Don't pop help-xref-stack as help-follow no longer pushes
anything on to it.
2005-12-20 09:02:23 +00:00
Luc Teirlinck
e715d9b46f (help-make-xrefs, help-xref-on-pp, help-xref-interned, help-follow):
Make hyperlinks for variables that are unbound, but have a non-nil
variable-documentation property.
2005-11-14 23:19:42 +00:00
Bill Wohler
5c825567d0 (help-url): New button type. Calls browse-url.
(help-xref-url-regexp): New regexp to recognize URLs in docstring.
Similar to Info nodes: URL `url'.
(help-make-xrefs): Create help-url buttons for help-xref-url-regexp
matches.
2005-10-28 21:27:13 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Stefan Monnier
774784f6be (help-xref-interned): Undo last mistaken change. 2005-07-14 02:10:34 +00:00
Stefan Monnier
65dd627536 (help-xref-interned): Properly setup xref info. 2005-07-14 02:07:08 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
a1ef2eabbf (help-make-xrefs): If a symbol representing a face name is not followed by the
word "face", it could still be a function or variable name, so don't bypass
other checks.
2005-06-22 13:55:32 +00:00
Lute Kamstra
40bd2cfb43 (help-mode): Use run-mode-hooks. 2005-05-26 12:51:09 +00:00
Richard M. Stallman
12b42b71d4 (help-face-def): New button type. 2005-05-16 03:31:32 +00:00
Richard M. Stallman
eac88b3bfb (help-mode-finish): Don't alter the element
in view-return-to-alist if there already is one.
2005-03-06 18:32:32 +00:00
Kim F. Storm
54d761b35a (help-xref): Add follow-link property. 2004-12-17 15:17:12 +00:00
John Paul Wallington
fdeadcd1f6 (help-go-back): Delete period from end of error message. 2004-08-01 05:54:54 +00:00
Stefan Monnier
933cd61ed4 (help-go-back): Don't depend on position of back button. 2004-05-19 00:56:46 +00:00
Stefan Monnier
2ea0f8fde5 (help-function-def, help-variable-def):
Use the new find-function-search-for-symbol functionality.
Allow FILE to be `C-source'.
2004-04-29 18:43:32 +00:00
Richard M. Stallman
69e73dd3d3 (help-mode-finish): Set help-return-alist first
thing, setting only the entry for the selected window.
2004-04-20 20:53:01 +00:00
Juri Linkov
478eb46b58 (help-make-xrefs): Add a final newline to the *Help* buffer. 2004-04-11 09:52:09 +00:00
Stefan Monnier
0728ab1196 (help-function-def, help-variable-def): Handle hyperrefs
to C source files specially.
2004-04-07 19:35:05 +00:00
Jesper Harder
1d0a6ebb50 (help-make-xrefs): Recognize aliased variable with
inherited docstring.
2004-04-05 12:09:53 +00:00
Luc Teirlinck
2e10efebcf (help-xref-info-regexp): Make hyperlinks to Info documentation if the
anchor (or node) name is preceded by `info anchor' or `Info anchor' in
addition to earlier `info node' and `Info node'.
(help-make-xrefs): Adapt to new value of `help-xref-info-regexp'.
2003-12-30 23:34:08 +00:00
Luc Teirlinck
b1664339f4 (help-make-xrefs): Make sure that if a symbol is followed by the word
`face', it gets treated as a face, even if it is also defined as a
variable or a function.
2003-10-20 21:33:34 +00:00
Luc Teirlinck
9315fc345e (help-make-xrefs): Slight correction to previous change. 2003-10-19 04:10:34 +00:00
Luc Teirlinck
040b2fa358 (help-xref-symbol-regexp): Treat newlines as whitespace.
(help-make-xrefs): Only make cross-references for faces if preceded or
followed by the word `face'.  Do not make a cross-reference for
variables without variable documentation, unless preceded by the word
`variable'.  Update doc string accordingly.
2003-10-19 03:58:43 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
John Paul Wallington
043dcdee03 (help-make-xrefs): Remove extra paren. 2003-04-24 08:37:02 +00:00
Richard M. Stallman
ad4888e42d (help-make-xrefs): Clean up the loop that scans
over a keymap inserted by \\{...}; it now stops at end of buffer.
2003-04-24 01:56:55 +00:00
Stefan Monnier
22f5d49208 (help-xref-on-pp): Only add xref if the text is less than 5K. 2003-02-10 21:52:30 +00:00
Stefan Monnier
410e58b5af (view): Always require.
(help-xref-mule-regexp): Don't use defconst for variables.
(help-setup-xref): Keep the last 10 elements of the stack.
(help-xref-override-view-map): New var.
(help-make-xrefs): Use it instead of building a new map each time.
(help-function-def): Allow help-fun to take a buffer as arg.
2002-07-16 16:02:35 +00:00
Colin Walters
5186b4bdfd Update copyright date. 2002-06-12 04:56:05 +00:00
Colin Walters
d1282401ce (help-mode): Don't set `font-lock-defaults'. 2002-06-12 04:54:54 +00:00
Richard M. Stallman
77144ebceb (help-xref-go-back): Restore POSITION in proper buffer and proper window. 2002-01-12 21:00:17 +00:00
Richard M. Stallman
ea127bf417 Fix indentation. 2002-01-07 05:20:57 +00:00
Richard M. Stallman
5a97a3c2db (help-xref-on-pp): Catch and ignore errors in scanning the buffer. 2001-12-25 22:02:33 +00:00
Pavel Janík
639898757d Remove empty lines at the end of file. 2001-12-25 11:02:43 +00:00
Richard M. Stallman
7e2a83df67 (help-function, help-variable, help-face)
(help-coding-system, help-input-method, help-character-set):
Define each button type with its own explicit define-button-type.
2001-11-25 18:49:03 +00:00
Richard M. Stallman
1700f41d20 (help-mode): Undo 2001-10-07 change. 2001-11-20 23:36:37 +00:00
Miles Bader
6e88156740 (help-xref): New button type.
(help-function, help-variable, help-face, help-coding-system)
(help-input-method, help-character-set, help-type, help-symbol)
(help-back, help-info, help-customize-variable, help-customize-face)
(help-function-def, help-variable-def): Use it as a supertype.
Remove `action' property.
2001-11-02 05:49:48 +00:00
Pavel Janík
784b89375e Remove debugging code. From Stefan Monnier <monnier@cs.yale.edu>. 2001-10-22 17:24:42 +00:00
Miles Bader
07f904a3f2 (help-customize-face): New button-type. 2001-10-12 01:58:02 +00:00
Stefan Monnier
89f5b33fc7 (help-buffer): New function.
Returns the buffer-name to use for help output.
Change all the code to use it instead of hard-coding *Help*.
(help-mode-map): Put back the mouse-2 binding.
(help-xref-stack): Change the format and make buffer-local.
(help-xref-stack-item): Make buffer-local.
(help-setup-xref): Do the `push' here rather than in help-do-xref.
(help-xref-interned): Display the face doc as well.
(help-follow-mouse): Re-introduce.
(help-xref-go-back): Adapt to the new use of help-xref-stack.
(help-do-xref): Don't `push' any more.
(help-follow): Also follow face names.
2001-10-11 23:33:52 +00:00
Miles Bader
f4ed5b197e New file, contents mostly from `help.el'. 2001-10-09 11:16:25 +00:00