Commit f9a998c3 authored by Glenn Morris's avatar Glenn Morris

Checked picture-xtra.texi

* doc/emacs/picture-xtra.texi (Basic Picture): C-a does get remapped.

* lisp/textmodes/picture.el (picture-motion, picture-motion-reverse)
(picture-self-insert, picture-tab-chars): Doc fix.
(picture-mode-map): Fix C-a, C-e.

* admin/FOR-RELEASE: Related markup.
parent 41f1e868
......@@ -161,7 +161,7 @@ msdog-xtra.texi
mule.texi
m-x.texi cyd
package.texi cyd
picture-xtra.texi
picture-xtra.texi rgm (see bug#10860)
programs.texi cyd
regs.texi cyd
rmail.texi rgm
......
2012-02-21 Glenn Morris <rgm@gnu.org>
* picture-xtra.texi (Basic Picture): C-a does get remapped.
* ack.texi (Acknowledgments): Small changes, including resorting,
and removal of things no longer distributed.
......
......@@ -78,9 +78,10 @@ column, converting a tab to multiple spaces if necessary. @kbd{C-n} and
@code{picture-move-up}, which can either insert spaces or convert tabs
as necessary to make sure that point stays in exactly the same column.
@kbd{C-e} runs @code{picture-end-of-line}, which moves to after the last
nonblank character on the line. There is no need to change @kbd{C-a},
as the choice of screen model does not affect beginnings of
lines.
nonblank character on the line. @kbd{C-a} runs
@code{picture-beginning-of-line}. (The choice of screen model does not
affect beginnings of lines; the only extra thing this command does is
update the current picture column to 0.)
@findex picture-newline
Insertion of text is adapted to the quarter-plane screen model
......
2012-02-21 Glenn Morris <rgm@gnu.org>
* textmodes/picture.el (picture-motion, picture-motion-reverse)
(picture-self-insert, picture-tab-chars): Doc fix.
(picture-mode-map): Fix C-a, C-e.
2012-02-20 Glenn Morris <rgm@gnu.org>
* emacs-lisp/authors.el (authors-aliases): Add another entry.
......
;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model
;; Copyright (C) 1985, 1994, 2001-2012 Free Software Foundation, Inc.
;; Copyright (C) 1985, 1994, 2001-2012 Free Software Foundation, Inc.
;; Author: K. Shane Hartman
;; Maintainer: FSF
......@@ -211,7 +211,7 @@ The mode line is updated to reflect the current direction."
"Move point in direction of current picture motion in Picture mode.
With ARG do it that many times. Useful for delineating rectangles in
conjunction with diagonal picture motion.
Do \\[command-apropos] picture-movement to see commands which control motion."
Use \"\\[command-apropos] picture-movement\" to see commands which control motion."
(interactive "^p")
(picture-move-down (* arg picture-vertical-step))
(picture-forward-column (* arg picture-horizontal-step)))
......@@ -220,7 +220,7 @@ Do \\[command-apropos] picture-movement to see commands which control motion."
"Move point in direction opposite of current picture motion in Picture mode.
With ARG do it that many times. Useful for delineating rectangles in
conjunction with diagonal picture motion.
Do \\[command-apropos] picture-movement to see commands which control motion."
Use \"\\[command-apropos] picture-movement\" to see commands which control motion."
(interactive "^p")
(picture-motion (- arg)))
......@@ -280,7 +280,7 @@ Do \\[command-apropos] picture-movement to see commands which control motion."
"Insert this character in place of character previously at the cursor.
The cursor then moves in the direction you previously specified
with the commands `picture-movement-right', `picture-movement-up', etc.
Do \\[command-apropos] `picture-movement' to see those commands."
Use \"\\[command-apropos] picture-movement\" to see those commands."
(interactive "p")
(picture-update-desired-column (not (eq this-command last-command)))
(picture-insert last-command-event arg)) ; Always a character in this case.
......@@ -378,8 +378,10 @@ With positive argument insert that many lines."
(defcustom picture-tab-chars "!-~"
"A character set which controls behavior of commands.
\\[picture-set-tab-stops] and \\[picture-tab-search]. It is NOT a
regular expression, any regexp special characters will be quoted.
\\[picture-set-tab-stops] and \\[picture-tab-search].
The syntax for this variable is like the syntax used inside of `[...]'
in a regular expression--but without the `[' and the `]'.
It is NOT a regular expression, any regexp special characters will be quoted.
It defines a set of \"interesting characters\" to look for when setting
\(or searching for) tab stops, initially \"!-~\" (all printing characters).
For example, suppose that you are editing a table which is formatted thus:
......@@ -627,8 +629,8 @@ Leaves the region surrounding the rectangle."
(picture-substitute 'newline-and-indent 'picture-duplicate-line)
(picture-substitute 'next-line 'picture-move-down)
(picture-substitute 'previous-line 'picture-move-up)
(picture-substitute 'beginning-of-line 'picture-beginning-of-line)
(picture-substitute 'end-of-line 'picture-end-of-line)
(picture-substitute 'move-beginning-of-line 'picture-beginning-of-line)
(picture-substitute 'move-end-of-line 'picture-end-of-line)
(picture-substitute 'mouse-set-point 'picture-mouse-set-point)
(define-key picture-mode-map "\C-c\C-d" 'delete-char)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment