1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00
Commit Graph

271 Commits

Author SHA1 Message Date
Juri Linkov
d6288299d3 (function-called-at-point): read -> intern. 2004-10-30 01:08:00 +00:00
Kim F. Storm
4cf9f027a1 (describe-key): Describe both down-event and up-event
for a mouse click.
2004-10-26 12:59:44 +00:00
Kim F. Storm
b0915a3104 Clean whitespace. 2004-10-24 21:07:38 +00:00
Kim F. Storm
d1eb6c47fa (describe-mode): Fix 2004-10-13 change.
Copy pure "Auto Fill" string so it can be propertized later
without causing a read-only error.
2004-10-24 20:35:12 +00:00
Daniel Pfeiffer
e25e90b4b1 (describe-mode): Use marker buttons to make minor mode list into hyperlinks. 2004-10-13 19:01:01 +00:00
Juri Linkov
542e904c45 (function-called-at-point): Try `find-tag-default' when other methods failed. 2004-09-02 16:37:01 +00:00
Luc Teirlinck
abca4ad75a (describe-bindings): Doc fix. 2004-08-09 18:50:28 +00:00
Juri Linkov
598ea453d3 (view-emacs-news): With argument, display info for the
selected version by finding it among different NEWS files, and
narrowing the buffer to the selected version.
2004-04-27 06:35:25 +00:00
John Paul Wallington
efde809a83 (describe-mode): Doc fix. 2004-04-12 10:25:33 +00:00
Luc Teirlinck
7ada28ac7e (help-map): Bind display-local-help' to C-h .'.
(help-for-help): Add `C-h .' to the listed Help options.
Remove trailing whitespace.
2003-11-30 17:50:54 +00:00
Richard M. Stallman
f6c57ef690 (describe-mode): Start with a brief list of minor modes.
Find them thru minor-mode-list so as to find them all.
Show them in alphabetical order.
2003-09-30 12:50:44 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Masatake YAMATO
335028c3be * help.el (describe-minor-mode): New function implementation.
Accept both minor mode string and minor mode indicator.
(describe-minor-mode-completion-table-for-indicator)
(describe-minor-mode-completion-table-for-symbol): New functions.
minor-mode-list is used here.
(describe-minor-mode-from-symbol): renamed
from (old) describe-minor-mode. Use
describe-minor-mode-completion-table-for-symbol.
Don't use eval. Just use symbol-name.
(describe-minor-mode-from-indicator): Document is updated.
Use `format-mode-line'. Use
describe-minor-mode-from-symbol instead of
describe-minor-mode.
Use describe-minor-mode-completion-table-for-indicator.
(expand-minor-mode-indicator-object): removed.
(lookup-minor-mode-from-indicator): remove the fist white
space from both indicator and anindicator before comparing them.

* bindings.el (mode-line-major-mode-keymap)
(mode-line-minor-mode-keymap): defined keys for the maps
here in `defvar'.
2003-04-12 17:28:24 +00:00
Juanma Barranquero
8e86406878 (describe-minor-mode, describe-minor-mode-from-indicator,
lookup-minor-mode-from-indicator): New functions.
2003-03-31 20:22:58 +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
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Richard M. Stallman
d92c27571f (where-is): Catch errors in indirect-function. 2003-01-13 08:04:46 +00:00
Stefan Monnier
3829bcc589 (where-is): Rename map to defs (a list of syms is not a map).
Test fboundp first, to speed things up.  Use push.
2002-11-07 18:28:09 +00:00
Juanma Barranquero
7a698dc1c5 (where-is): Repport also aliases of the passed command. 2002-11-07 16:46:11 +00:00
Stefan Monnier
ae1bb8acec (help-key-description): Show the untranslated keys
when they start with ESC and the ESC was not translated.
2002-07-16 16:08:44 +00:00
Richard M. Stallman
d009b6e905 (help-map): Add binding for info-emacs-manual.
(print-help-return-message): Doc fix.
2002-07-12 22:57:11 +00:00
Richard M. Stallman
1ebc1f01bf (view-todo): New function.
(help-map): Bind C-h C-t to view-todo.
(help-for-help): Change the text.
2002-05-01 16:41:52 +00:00
Gerd Moellmann
f03b7c7d8a (string-key-binding): Deal with margin events. 2002-04-12 09:40:56 +00:00
Stefan Monnier
02dfca16b1 (help-key-description): New fun.
(describe-key-briefly, describe-key): Use it and
this-single-command-raw-keys plus new arg `untranslated'.
2002-04-02 03:23:26 +00:00
Pavel Janík
d61ac4a653 (describe-key-briefly, describe-key): Interpret `undefined' like not
defined at all.
2002-03-04 09:24:40 +00:00
Kim F. Storm
962ffad8d7 (where-is): Use remap-command. 2002-02-23 22:31:02 +00:00
Richard M. Stallman
80d553d4cd (describe-key-briefly): Make output in INSERT case
look just like what is displayed in the normal case.
2002-02-15 19:59:25 +00:00
Kim F. Storm
290bfb6617 (where-is): Report remapped commands. 2002-02-06 23:03:56 +00:00
Richard M. Stallman
9e0e631c12 (describe-distribution): Really call view-file. 2002-01-17 01:40:47 +00:00
Richard M. Stallman
5439199019 Fix previous change. 2002-01-14 01:40:29 +00:00
Richard M. Stallman
ad394bee47 Fix previous change. 2002-01-14 01:36:56 +00:00
Richard M. Stallman
4f16ea852d (view-echo-area-messages): New function.
(help-map): Add `e' binding.  Delete obsolete `d' binding.
Change old Info bindings C-f, C-k and C-i to F, K, S.
Move view-emacs-FAQ from F to C-f.
Move view-emacs-problems from P to C-e.
Bindings moved here from mule-cmds.el.
C-l binding for describe-language-environment deleted.
Bind C-h like h, to view-hello-file.
(help-for-help): Update for all these changes.
2002-01-14 01:36:33 +00:00
Richard M. Stallman
9639be74eb (describe-mode): Call help-setup-xref in the help buffer.
Switch buffers only after calling `help-buffer'.
2002-01-12 20:53:27 +00:00
Richard M. Stallman
a0d32c10a6 (describe-key): Doc fix. 2001-12-28 02:11:59 +00:00
Richard M. Stallman
64f3b7d38f (view-order-manuals, view-emacs-news, describe-copying)
(describe-distribution, describe-project): Use view-file.
2001-12-22 01:27:34 +00:00
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