Commit graph

15 commits

Author SHA1 Message Date
Glenn Morris
f9b9b6b17b (tutorial--describe-nonstandard-key): Tweak text in the menus case. 2007-02-28 03:19:55 +00:00
Richard M. Stallman
5a192d7c8a (tutorial--detailed-help): Make the list of changed keys look nicer. 2007-01-30 23:47:57 +00:00
Richard M. Stallman
7378b2f995 (tutorial--default-keys): Check M-DEL, not `M-backspace'.
Don't check `backspace'.
(tutorial--find-changed-keys): Look up bindings in a temp buffer
in Fundamental mode.
2007-01-28 07:08:51 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Chong Yidong
cec8b27d06 (tutorial--display-changes): Show M-x sequence if no
keybinding is found.
(tutorial--find-changed-keys): Never treat null keybinding as a
remapping.
2007-01-09 13:09:44 +00:00
Juanma Barranquero
c3b1f01f5c (tutorial--describe-nonstandard-key): Fix typo. 2007-01-03 12:05:49 +00:00
Chong Yidong
9ccc1a31ee (tutorial--save-tutorial): Prompt before saving tutorial state. 2006-12-22 15:24:10 +00:00
Chong Yidong
87fe23eef1 (tutorial--detailed-help): Remove unnecessary link
to the Emacs Lisp reference manual.
(tutorial--tab-map): Remove.  All callers changed.
(tutorial--find-changed-keys): New elt QUIET, used to...
(tutorial--display-changes): ...ensure that warning messages are
only issued once per changed key.
(tutorial--remove-remarks): Delete unused code-path.
(lang-strings): Remove extraneous formatting.
2006-12-22 15:17:24 +00:00
Chong Yidong
c188100527 Remove `cl' requirement. Clean up whitespace.
Replace '?\ ' by '?\s' throughout.
(tutorial-warning-face): Inherit font-lock-warning-face.  Move to
`help' custom group.
(tutorial--key-description): New function.
(tutorial--display-changes): Remove redundant arg.  Scan for all
key sequences to avoid false matches.  Cleanup.
(tutorial--saved-dir): Save to a subdirectory in .emacs.d to
reduce homedir pollution.
(help-with-tutorial): Call tutorial--display-changes with no arg.
2006-12-21 17:26:00 +00:00
Chong Yidong
d166ca6de5 (tutorial--default-keys): Add newline and delete-backward-char bindings.
(tutorial--detailed-help): Save excursion when finding keys.
Correct warning string for M-x FOO case.
(tutorial--display-changes): Print special keys in tutorial style.
Tweak search regexp for changed keys.
2006-11-21 16:11:30 +00:00
Chong Yidong
03e3eb4d58 (tutorial-warning-face): New face.
(tutorial--detailed-help, tutorial--display-changes): Use it.
(tutorial--find-changed-keys): Check ESC-prefix binding specially.
Improve search pattern for occurrences of changed keys.
2006-11-20 20:43:36 +00:00
Miles Bader
24b86c51ee Add arch tagline 2006-10-31 02:08:16 +00:00
Chong Yidong
b3fcf4f50e Fix last fix. 2006-10-30 14:56:44 +00:00
Chong Yidong
cb753f5241 * tutorial.el: Move defvars to avoid bytecomp warnings.
(tutorial--find-changed-keys): Check if viper-current-state is
	bound before using it.
	(help-with-tutorial): Check if viper-tutorial is defined before
	using it.
2006-10-30 14:52:56 +00:00
Chong Yidong
6db93af0c3 * help-fns.el (help-with-tutorial): Moved to tutorial.el.
* tutorial.el: New file.
	(help-with-tutorial): Moved here from help-fns.el. Added help for
	rebound keys.  Fixed resume of tutorial.
	(tutorial--describe-nonstandard-key, tutorial--sort-keys)
	(tutorial--find-changed-keys, tutorial--display-changes)
	(tutorial--saved-dir, tutorial--saved-file)
	(tutorial--save-tutorial): New functions to support the changes in
	help-with-tutorial.
2006-10-30 14:30:59 +00:00