aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-12-18 01:17:27 +0000
committerChong Yidong2005-12-18 01:17:27 +0000
commit1aa545c147c2d4739e6d5b6577fa5533f515e93e (patch)
treef01a742f1b9a1a0d2d702ce929086adf7cbc7b09
parent233d51957bba1cfa337a1198cfc227700fc2874f (diff)
downloademacs-1aa545c147c2d4739e6d5b6577fa5533f515e93e.tar.gz
emacs-1aa545c147c2d4739e6d5b6577fa5533f515e93e.zip
* language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):
* textmodes/picture.el (picture-mode): Update docstrings.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/language/ethio-util.el4
-rw-r--r--lisp/textmodes/picture.el99
3 files changed, 61 insertions, 47 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6e9c40d2cca..2f710c9e805 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-12-17 Chong Yidong <cyd@stupidchicken.com>
2
3 * language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):
4 * textmodes/picture.el (picture-mode): Update docstrings.
5
12005-12-17 Eli Zaretskii <eliz@gnu.org> 62005-12-17 Eli Zaretskii <eliz@gnu.org>
2 7
3 * makefile.w32-in (autoloads, custom-deps): Warn that parts of 8 * makefile.w32-in (autoloads, custom-deps): Warn that parts of
diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el
index fb70b2641d0..413ad3c3183 100644
--- a/lisp/language/ethio-util.el
+++ b/lisp/language/ethio-util.el
@@ -824,7 +824,7 @@ Delete the escape even it is not recognized."
824 824
825;;;###autoload 825;;;###autoload
826(defun ethio-sera-to-fidel-mail-or-marker (&optional arg) 826(defun ethio-sera-to-fidel-mail-or-marker (&optional arg)
827 "Execute ethio-sera-to-fidel-mail or ethio-sera-to-fidel-marker depending on the current major mode. 827 "Execute `ethio-sera-to-fidel-mail' or `ethio-sera-to-fidel-marker' depending on the current major mode.
828If in rmail-mode or in mail-mode, execute the former; otherwise latter." 828If in rmail-mode or in mail-mode, execute the former; otherwise latter."
829 829
830 (interactive "P") 830 (interactive "P")
@@ -1214,7 +1214,7 @@ See also the descriptions of the variables
1214 1214
1215;;;###autoload 1215;;;###autoload
1216(defun ethio-fidel-to-sera-mail-or-marker (&optional arg) 1216(defun ethio-fidel-to-sera-mail-or-marker (&optional arg)
1217 "Execute ethio-fidel-to-sera-mail or ethio-fidel-to-sera-marker depending on the current major mode. 1217 "Execute `ethio-fidel-to-sera-mail' or `ethio-fidel-to-sera-marker' depending on the current major mode.
1218If in rmail-mode or in mail-mode, execute the former; otherwise latter." 1218If in rmail-mode or in mail-mode, execute the former; otherwise latter."
1219 1219
1220 (interactive "P") 1220 (interactive "P")
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 5d528dec109..78741065100 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -661,60 +661,69 @@ Picture mode is invoked by the command \\[picture-mode]."
661;;;###autoload 661;;;###autoload
662(defun picture-mode () 662(defun picture-mode ()
663 "Switch to Picture mode, in which a quarter-plane screen model is used. 663 "Switch to Picture mode, in which a quarter-plane screen model is used.
664\\<picture-mode-map>
664Printing characters replace instead of inserting themselves with motion 665Printing characters replace instead of inserting themselves with motion
665afterwards settable by these commands: 666afterwards settable by these commands:
666 C-c < Move left after insertion. 667
667 C-c > Move right after insertion. 668 Move left after insertion: \\[picture-movement-left]
668 C-c ^ Move up after insertion. 669 Move right after insertion: \\[picture-movement-right]
669 C-c . Move down after insertion. 670 Move up after insertion: \\[picture-movement-up]
670 C-c ` Move northwest (nw) after insertion. 671 Move down after insertion: \\[picture-movement-down]
671 C-c ' Move northeast (ne) after insertion. 672
672 C-c / Move southwest (sw) after insertion. 673 Move northwest (nw) after insertion: \\[picture-movement-nw]
673 C-c \\ Move southeast (se) after insertion. 674 Move northeast (ne) after insertion: \\[picture-movement-ne]
674 C-u C-c ` Move westnorthwest (wnw) after insertion. 675 Move southwest (sw) after insertion: \\[picture-movement-sw]
675 C-u C-c ' Move eastnortheast (ene) after insertion. 676 Move southeast (se) after insertion: \\[picture-movement-se]
676 C-u C-c / Move westsouthwest (wsw) after insertion. 677
677 C-u C-c \\ Move eastsoutheast (ese) after insertion. 678 Move westnorthwest (wnw) after insertion: C-u \\[picture-movement-nw]
679 Move eastnortheast (ene) after insertion: C-u \\[picture-movement-ne]
680 Move westsouthwest (wsw) after insertion: C-u \\[picture-movement-sw]
681 Move eastsoutheast (ese) after insertion: C-u \\[picture-movement-se]
682
678The current direction is displayed in the mode line. The initial 683The current direction is displayed in the mode line. The initial
679direction is right. Whitespace is inserted and tabs are changed to 684direction is right. Whitespace is inserted and tabs are changed to
680spaces when required by movement. You can move around in the buffer 685spaces when required by movement. You can move around in the buffer
681with these commands: 686with these commands:
682 \\[picture-move-down] Move vertically to SAME column in previous line. 687
683 \\[picture-move-up] Move vertically to SAME column in next line. 688 Move vertically to SAME column in previous line: \\[picture-move-down]
684 \\[picture-end-of-line] Move to column following last non-whitespace character. 689 Move vertically to SAME column in next line: \\[picture-move-up]
685 \\[picture-forward-column] Move right inserting spaces if required. 690 Move to column following last
686 \\[picture-backward-column] Move left changing tabs to spaces if required. 691 non-whitespace character: \\[picture-end-of-line]
687 C-c C-f Move in direction of current picture motion. 692 Move right, inserting spaces if required: \\[picture-forward-column]
688 C-c C-b Move in opposite direction of current picture motion. 693 Move left changing tabs to spaces if required: \\[picture-backward-column]
689 Return Move to beginning of next line. 694 Move in direction of current picture motion: \\[picture-motion]
695 Move opposite to current picture motion: \\[picture-motion-reverse]
696 Move to beginning of next line: \\[next-line]
697
690You can edit tabular text with these commands: 698You can edit tabular text with these commands:
691 M-Tab Move to column beneath (or at) next interesting character. 699
692 `Indents' relative to a previous line. 700 Move to column beneath (or at) next interesting
693 Tab Move to next stop in tab stop list. 701 character (see variable `picture-tab-chars'): \\[picture-tab-search]
694 C-c Tab Set tab stops according to context of this line. 702 Move to next stop in tab stop list: \\[picture-tab]
695 With ARG resets tab stops to default (global) value. 703 Set tab stops according to context of this line: \\[picture-set-tab-stops]
696 See also documentation of variable picture-tab-chars 704 (With ARG, resets tab stops to default value.)
697 which defines \"interesting character\". You can manually 705 Change the tab stop list: \\[edit-tab-stops]
698 change the tab stop list with command \\[edit-tab-stops]. 706
699You can manipulate text with these commands: 707You can manipulate text with these commands:
700 C-d Clear (replace) ARG columns after point without moving. 708 Clear ARG columns after point without moving: \\[picture-clear-column]
701 C-c C-d Delete char at point - the command normally assigned to C-d. 709 Delete char at point: \\[delete-char]
702 \\[picture-backward-clear-column] Clear (replace) ARG columns before point, moving back over them. 710 Clear ARG columns backward: \\[picture-backward-clear-column]
703 \\[picture-clear-line] Clear ARG lines, advancing over them. The cleared 711 Clear ARG lines, advancing over them: \\[picture-clear-line]
704 text is saved in the kill ring. 712 (the cleared text is saved in the kill ring)
705 \\[picture-open-line] Open blank line(s) beneath current line. 713 Open blank line(s) beneath current line: \\[picture-open-line]
714
706You can manipulate rectangles with these commands: 715You can manipulate rectangles with these commands:
707 C-c C-k Clear (or kill) a rectangle and save it. 716 Clear a rectangle and save it: \\[picture-clear-rectangle]
708 C-c C-w Like C-c C-k except rectangle is saved in named register. 717 Clear a rectangle, saving in a named register: \\[picture-clear-rectangle-to-register]
709 C-c C-y Overlay (or insert) currently saved rectangle at point. 718 Insert currently saved rectangle at point: \\[picture-yank-rectangle]
710 C-c C-x Like C-c C-y except rectangle is taken from named register. 719 Insert rectangle from named register: \\[picture-yank-rectangle-from-register]
711 C-c C-r Draw a rectangular box around mark and point. 720 Draw a rectangular box around mark and point: \\[picture-draw-rectangle]
712 \\[copy-rectangle-to-register] Copies a rectangle to a register. 721 Copies a rectangle to a register: \\[copy-rectangle-to-register]
713 \\[advertised-undo] Can undo effects of rectangle overlay commands 722 Undo effects of rectangle overlay commands: \\[advertised-undo]
714 if invoked soon enough. 723
715You can return to the previous mode with: 724You can return to the previous mode with \\[picture-mode-exit], which
716 C-c C-c Which also strips trailing whitespace from every line. 725also strips trailing whitespace from every line. Stripping is suppressed
717 Stripping is suppressed by supplying an argument. 726by supplying an argument.
718 727
719Entry to this mode calls the value of `picture-mode-hook' if non-nil. 728Entry to this mode calls the value of `picture-mode-hook' if non-nil.
720 729