90 |
</p> |
</p> |
91 |
<p> The commands used in Picture mode all work in other modes (provided the |
<p> The commands used in Picture mode all work in other modes (provided the |
92 |
<tt>`picture'</tt> library is loaded), but are only bound to keys in |
<tt>`picture'</tt> library is loaded), but are only bound to keys in |
93 |
Picture mode. Note that the descriptions below talk of moving "one |
Picture mode. Note that the descriptions below talk of moving “one |
94 |
column" and so on, but all the picture mode commands handle numeric |
column” and so on, but all the picture mode commands handle numeric |
95 |
arguments as their normal equivalents do. |
arguments as their normal equivalents do. |
96 |
</p> |
</p> |
97 |
<a name="IDX1090"></a> |
<a name="IDX1090"></a> |
201 |
</tr></table> |
</tr></table> |
202 |
<h2 class="section"> 24.2 Controlling Motion After Insert </h2> |
<h2 class="section"> 24.2 Controlling Motion After Insert </h2> |
203 |
|
|
204 |
<p> Since "self-inserting" characters just overwrite and move point in |
<p> Since “self-inserting” characters just overwrite and move point in |
205 |
Picture mode, there is no essential restriction on how point should be |
Picture mode, there is no essential restriction on how point should be |
206 |
moved. Normally point moves right, but you can specify any of the eight |
moved. Normally point moves right, but you can specify any of the eight |
207 |
orthogonal or diagonal directions for motion after a "self-inserting" |
orthogonal or diagonal directions for motion after a “self-inserting” |
208 |
character. This is useful for drawing lines in the buffer. |
character. This is useful for drawing lines in the buffer. |
209 |
</p> |
</p> |
210 |
<dl compact="compact"> |
<dl compact="compact"> |
221 |
<dd><p>Move down after insertion (<code>picture-movement-down</code>). |
<dd><p>Move down after insertion (<code>picture-movement-down</code>). |
222 |
</p></dd> |
</p></dd> |
223 |
<dt> <kbd>C-c `</kbd></dt> |
<dt> <kbd>C-c `</kbd></dt> |
224 |
<dd><p>Move up and left ("northwest") after insertion <br>(<code>picture-movement-nw</code>). |
<dd><p>Move up and left (“northwest”) after insertion <br>(<code>picture-movement-nw</code>). |
225 |
</p></dd> |
</p></dd> |
226 |
<dt> <kbd>C-c '</kbd></dt> |
<dt> <kbd>C-c '</kbd></dt> |
227 |
<dd><p>Move up and right ("northeast") after insertion <br> |
<dd><p>Move up and right (“northeast”) after insertion <br> |
228 |
(<code>picture-movement-ne</code>). |
(<code>picture-movement-ne</code>). |
229 |
</p></dd> |
</p></dd> |
230 |
<dt> <kbd>C-c /</kbd></dt> |
<dt> <kbd>C-c /</kbd></dt> |
231 |
<dd><p>Move down and left ("southwest") after insertion |
<dd><p>Move down and left (“southwest”) after insertion |
232 |
<br>(<code>picture-movement-sw</code>). |
<br>(<code>picture-movement-sw</code>). |
233 |
</p></dd> |
</p></dd> |
234 |
<dt> <kbd>C-c \</kbd></dt> |
<dt> <kbd>C-c \</kbd></dt> |
235 |
<dd><p>Move down and right ("southeast") after insertion |
<dd><p>Move down and right (“southeast”) after insertion |
236 |
<br>(<code>picture-movement-se</code>). |
<br>(<code>picture-movement-se</code>). |
237 |
</p></dd> |
</p></dd> |
238 |
</dl> |
</dl> |
243 |
<a name="IDX1101"></a> |
<a name="IDX1101"></a> |
244 |
<p> Two motion commands move based on the current Picture insertion |
<p> Two motion commands move based on the current Picture insertion |
245 |
direction. The command <kbd>C-c C-f</kbd> (<code>picture-motion</code>) moves in the |
direction. The command <kbd>C-c C-f</kbd> (<code>picture-motion</code>) moves in the |
246 |
same direction as motion after "insertion" currently does, while <kbd>C-c |
same direction as motion after “insertion” currently does, while <kbd>C-c |
247 |
C-b</kbd> (<code>picture-motion-reverse</code>) moves in the opposite direction. |
C-b</kbd> (<code>picture-motion-reverse</code>) moves in the opposite direction. |
248 |
</p> |
</p> |
249 |
<hr size="6"> |
<hr size="6"> |
270 |
<p> Two kinds of tab-like action are provided in Picture mode. |
<p> Two kinds of tab-like action are provided in Picture mode. |
271 |
Context-based tabbing is done with <kbd>M-<kbd>TAB</kbd></kbd> |
Context-based tabbing is done with <kbd>M-<kbd>TAB</kbd></kbd> |
272 |
(<code>picture-tab-search</code>). With no argument, it moves to a point |
(<code>picture-tab-search</code>). With no argument, it moves to a point |
273 |
underneath the next "interesting" character that follows whitespace in |
underneath the next “interesting” character that follows whitespace in |
274 |
the previous non-blank line. "Next" here means "appearing at a |
the previous non-blank line. “Next” here means “appearing at a |
275 |
horizontal position greater than the one point starts out at". With an |
horizontal position greater than the one point starts out at”. With an |
276 |
argument, as in <kbd>C-u M-<kbd>TAB</kbd></kbd>, the command moves to the next such |
argument, as in <kbd>C-u M-<kbd>TAB</kbd></kbd>, the command moves to the next such |
277 |
interesting character in the current line. <kbd>M-<kbd>TAB</kbd></kbd> does not |
interesting character in the current line. <kbd>M-<kbd>TAB</kbd></kbd> does not |
278 |
change the text; it only moves point. "Interesting" characters are |
change the text; it only moves point. “Interesting” characters are |
279 |
defined by the variable <code>picture-tab-chars</code>, which contains a string |
defined by the variable <code>picture-tab-chars</code>, which contains a string |
280 |
of characters considered interesting. Its default value is |
of characters considered interesting. Its default value is |
281 |
<code>"!-~"</code>. |
<code>"!-~"</code>. |