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

282 Commits

Author SHA1 Message Date
Richard M. Stallman
1b12fa9dc4 (describe-key): Move print-help-return-message call out of conditional. 2005-05-22 15:52:51 +00:00
Richard M. Stallman
ab3fdfd634 (describe-key): No error when UNTRANSLATED is nil. 2005-05-04 14:31:45 +00:00
Lute Kamstra
59d922a4da (describe-key-briefly): UNTRANSLATED can be nil when called from lisp. 2005-04-13 09:16:02 +00:00
Richard M. Stallman
36178ae8fb (describe-key-briefly, describe-key): Replace
strings as event types with "(any string)".
2005-04-10 01:47:43 +00:00
Richard M. Stallman
740b479c63 (where-is): Don't mention aliases with no key bindings. 2005-03-21 17:41:41 +00:00
Stefan Monnier
af5f448385 (describe-mode): Allow minor mode toggles to use a different
symbol than the minor mode variable.
2005-03-16 13:08:15 +00:00
Stefan Monnier
dd39c336a9 (describe-mode): Properly handle non-trivial lighters.
Don't ignore minor modes that are not listed in minor-mode-list.
2005-03-10 21:43:16 +00:00
Richard M. Stallman
a4bdcdf378 (help-for-help-internal): Renamed from help-for-help.
(help-for-help): Define with defalias.
2005-02-10 06:46:42 +00:00
Eli Zaretskii
3ee341ecad (help-for-help): Doc fix. 2005-02-05 12:45:44 +00:00
Kim F. Storm
72b64ad5ba (describe-key): Report effective and original binding
for mouse-1 when clicked on a link.
(describe-mode): Add follow-link property to "minor-mode" button.
2004-12-17 15:16:46 +00:00
Juri Linkov
918f2e56d9 * help.el (function-called-at-point):
As a last resort try striping non-word prefixes and suffixes.
2004-12-16 13:05:37 +00:00
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