1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

224 Commits

Author SHA1 Message Date
Stefan Monnier
7fdbcd8387 * x-dnd.el (x-dnd-maybe-call-test-function):
* window.el (split-window-vertically):
* whitespace.el (whitespace-help-on):
* vc-rcs.el (vc-rcs-consult-headers):
* userlock.el (ask-user-about-lock-help)
(ask-user-about-supersession-help):
* type-break.el (type-break-force-mode-line-update):
* time-stamp.el (time-stamp-conv-warn):
* terminal.el (te-set-output-log, te-more-break, te-filter)
(te-sentinel,terminal-emulator):
* term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
(term-write-input-ring, term-check-source, term-start-output-log):
(term-display-buffer-line, term-dynamic-list-completions):
(term-ansi-make-term, serial-term):
* subr.el (selective-display):
* strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string):
* speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
(speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
(speedbar-remove-localized-speedbar-support)
(speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
(speedbar-update-special-contents, speedbar-buffer-buttons-engine)
(speedbar-buffers-line-directory):
* simple.el (shell-command-on-region, append-to-buffer)
(prepend-to-buffer):
* shadowfile.el (shadow-save-todo-file):
* scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
(scroll-bar-maybe-set-window-start):
* sb-image.el (speedbar-image-dump):
* saveplace.el (save-place-alist-to-file, save-places-to-alist)
(load-save-place-alist-from-file):
* ps-samp.el (ps-print-message-from-summary):
* ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
(ps-background-image, ps-begin-job, ps-do-despool):
* ps-bdf.el (bdf-find-file, bdf-read-font-info):
* printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
(pr-ps-message-from-summary, pr-lpr-message-from-summary):
(pr-call-process, pr-file-list, pr-interface-save):
* novice.el (disabled-command-function)
(enable-command, disable-command):
* mouse.el (mouse-buffer-menu-alist):
* mouse-copy.el (mouse-kill-preserving-secondary):
* macros.el (kbd-macro-query):
* ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
* informat.el (batch-info-validate):
* ido.el (ido-copy-current-word, ido-initiate-auto-merge):
* hippie-exp.el (try-expand-dabbrev-visible):
* help-mode.el (help-make-xrefs):
* help-fns.el (describe-variable):
* generic-x.el (bat-generic-mode-run-as-comint):
* finder.el (finder-mouse-select):
* find-dired.el (find-dired-sentinel):
* filesets.el (filesets-file-close):
* files.el (list-directory):
* faces.el (list-faces-display, describe-face):
* facemenu.el (list-colors-display):
* ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
* epg.el (epg--process-filter, epg-cancel):
* epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
(epa--read-signature-type):
* emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
(emerge-file-names):
* ehelp.el (electric-helpify):
* ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
* ediff-vers.el (rcs-ediff-view-revision):
* ediff-util.el (ediff-setup):
* ediff-mult.el (ediff-append-custom-diff):
* ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
(ediff-wordify):
* echistory.el (Electric-command-history-redo-expression):
* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
* disp-table.el (describe-display-table):
* dired.el (dired-find-buffer-nocreate):
* dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
* dabbrev.el (dabbrev--same-major-mode-p):
* chistory.el (list-command-history):
* apropos.el (apropos-documentation):
* allout.el (allout-obtain-passphrase):
(allout-copy-exposed-to-buffer):
(allout-verify-passphrase): Use with-current-buffer.
2009-11-13 22:19:45 +00:00
Glenn Morris
57c8e7b456 (help-function-cmacro): New button. 2009-09-11 03:39:48 +00:00
Chong Yidong
f422799841 Fix last change. 2009-03-30 01:15:08 +00:00
Chong Yidong
f1389359d0 (help-buffer): Add docstring. 2009-03-30 01:06:27 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
da2cfeef7a (help-xref-forward-stack): Doc fix. 2008-09-06 02:59:40 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Robert J. Chassell
7f9629ce03 (describe-variable): Add phrases about initialization file with and
without customization; use new button type help-info-variable.
2008-02-25 16:31:25 +00:00
Juanma Barranquero
6f3003230d Require easymenu when compiling. 2008-02-20 11:27:28 +00:00
Dan Nicolaescu
58245a5832 (help-mode-menu): New menu. 2008-02-20 06:37:53 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Martin Rudalics
91dc07f365 (help-mode): Set view-exit-action to bury the
buffer instead of fiddling with windows.  Simplify code.
(help-mode-finish): When help-window eqs t set it to the selected
window and have with-help-window set up view-return-to-alist.
(help-buffer): Add autoload cookie.
2007-11-10 09:54:07 +00:00
Glenn Morris
6e4a68d2b8 (help-make-xrefs): Fix previous change. 2007-08-09 02:49:10 +00:00
Glenn Morris
22ce475b42 (help-make-xrefs): Fix previous change. 2007-08-09 02:48:42 +00:00
Glenn Morris
42be947978 (help-make-xrefs): Search for symbol constituents, rather than just `-'. 2007-08-08 08:03:53 +00:00
Glenn Morris
123437b4c1 (help-make-xrefs): Search for symbol constituents, rather than just `-'. 2007-08-08 08:00:43 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Martin Rudalics
e8749da6d0 (help-make-xrefs): Skip spaces too when skipping tabs. 2007-07-02 05:55:28 +00:00
Martin Rudalics
f204ca2feb (help-make-xrefs): Skip spaces too when skipping tabs. 2007-07-02 05:46:19 +00:00
Martin Rudalics
ea3da5b9e6 (help-make-xrefs): Adjust position of new forward
button.
2007-06-20 07:59:07 +00:00
Nick Roberts
95f731dbb5 (help-xref-forward-stack)
(help-xref-stack-forward-item, help-forward-label): New variables.
(help-forward): New button type.
(help-setup-xref): Initialise help-xref-forward-stack.
(help-make-xrefs): Add forward button, if appropriate.
(help-xref-go-back): Push item on forward stack.
(help-xref-go-forward, help-go-forward): New functions.
2007-06-08 10:09:24 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
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