1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711
|
@c =============================================================
@c = $B85(B $BK](B $BLu(B: $B9b<.0l5*!wEE5$DL?.Bg3X(B
@c = $B2CI.=$@5(B: $BBgLZFXM:!wBgDM(B.$BC^GHBg3X(B = 1998/11/25
@c = 20.4$B2~D{(B: $BBgLZFXM:!wBgDM(B.$BC^GHBg3X(B = 1999/09/12
@c =============================================================
@c This is part of the Emacs manual.
@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
@node Display, Search, Registers, Top
@c @chapter Controlling the Display
@chapter $B2hLL$N@)8f(B
@c Since only part of a large buffer fits in the window, Emacs tries to
@c show a part that is likely to be interesting. Display-control commands
@c allow you to specify which part of the text you want to see, and how to
@c display it.
$BBg$-$J%P%C%U%!$N0lIt$7$+%&%#%s%I%&$K$O<}$^$j$^$;$s$+$i!"(B
Emacs$B$OI,MW$=$&$JItJ,$rI=<($7$h$&$H$7$^$9!#(B
$B2hLL@)8f%3%^%s%I$r;H$C$F!"(B
$B%F%-%9%H$N$I$NItJ,$rI=<($7$?$$$N$+!"$^$?!"(B
$B$I$N$h$&$KI=<($9$k$+;XDj$G$-$^$9!#(B
@menu
* Scrolling:: Moving text up and down in a window.
* Horizontal Scrolling:: Moving text left and right in a window.
* Follow Mode:: Follow mode lets two windows scroll as one.
* Selective Display:: Hiding lines with lots of indentation.
* Optional Mode Line:: Optional mode line display features.
* Text Display:: How text characters are normally displayed.
* Display Vars:: Information on variables for customizing display.
@end menu
@node Scrolling
@c @section Scrolling
@section $B%9%/%m!<%k(B
@c If a buffer contains text that is too large to fit entirely within a
@c window that is displaying the buffer, Emacs shows a contiguous portion of
@c the text. The portion shown always contains point.
$B%P%C%U%!$rI=<($7$F$$$k%&%#%s%I%&$KA4It$rI=<($9$k$K$O(B
$BBg$-$9$.$k%F%-%9%H$,F~$C$F$$$k%P%C%U%!$G$O!"(B
Emacs$B$O%F%-%9%H$NO"B3$9$k0lItJ,$rI=<($7$^$9!#(B
$BI=<($9$kItJ,$K$O$D$M$K%]%$%s%H$,F~$C$F$$$^$9!#(B
@c @cindex scrolling
@cindex $B%9%/%m!<%k(B
@c @dfn{Scrolling} means moving text up or down in the window so that
@c different parts of the text are visible. Scrolling forward means that text
@c moves up, and new text appears at the bottom. Scrolling backward moves
@c text down and new text appears at the top.
@dfn{$B%9%/%m!<%k(B}$B!J(Bscroll$B!K$H$O!"(B
$B%&%#%s%I%&Fb$G%F%-%9%H$r>e2<$KF0$+$7$F!"(B
$B%F%-%9%H$N0[$J$kItJ,$rI=<($9$k$3$H$G$9!#(B
$BA08~$-$N%9%/%m!<%k$G$O!"%F%-%9%H$r>e$X0\F0$7$F!"(B
$B?7$?$J%F%-%9%H$,%&%#%s%I%&$N:G2<C<$+$i8=$l$^$9!#(B
$B8e8~$-$N%9%/%m!<%k$G$O!"%F%-%9%H$r2<$K0\F0$7$F!"(B
$B?7$?$J%F%-%9%H$,%&%#%s%I%&$N:G>eC<$+$i8=$l$^$9!#(B
@c Scrolling happens automatically if you move point past the bottom or top
@c of the window. You can also explicitly request scrolling with the commands
@c in this section.
$B%]%$%s%H$r%&%#%s%I%&$N2<C<$d>eC<$rD6$($F0\F0$9$k$H!"(B
$B<+F0E*$K%9%/%m!<%k$7$^$9!#(B
$BK\@a$G>R2p$9$k%3%^%s%I$r;H$C$F!"L@<(E*$K%9%/%m!<%k$9$k$3$H$b$G$-$^$9!#(B
@table @kbd
@item C-l
@c Clear screen and redisplay, scrolling the selected window to center
@c point vertically within it (@code{recenter}).
$B2hLL$r%/%j%"$7$F:FI=<($7!"A*Br$5$l$?%&%#%s%I%&$G$O%]%$%s%H$,(B
$B=DJ}8~$NCf1{$K0LCV$9$k$h$&$K%9%/%m!<%k$9$k(B
$B!J(B@code{recenter}$B!K(B
@item C-v
@c Scroll forward (a windowful or a specified number of lines) (@code{scroll-up}).
$B!J%&%#%s%I%&(B1$BLLJ,$+;XDj$7$?9T?t$@$1!KA08~$-$K%9%/%m!<%k$9$k(B
$B!J(B@code{scroll-up}$B!K!#(B
@item @key{NEXT}
@c Likewise, scroll forward.
$BF1MM$KA08~$-$K%9%/%m!<%k$9$k!#(B
@item M-v
@c Scroll backward (@code{scroll-down}).
$B8e8~$-$K%9%/%m!<%k$9$k!J(B@code{scroll-down}$B!K!#(B
@item @key{PRIOR}
@c Likewise, scroll backward.
$BF1$8$/8e8~$-$K%9%/%m!<%k$9$k!#(B
@item @var{arg} C-l
@c Scroll so point is on line @var{arg} (@code{recenter}).
$B%]%$%s%H$,(B@var{arg}$B9TL\$K$/$k$h$&$K%9%/%m!<%k$9$k!J(B@code{recenter}$B!K!#(B
@item C-M-l
@c Scroll heuristically to bring useful information onto the screen
@c (@code{reposition-window}).
$BM-1W$J>pJs$,2hLL>e$K$/$k$h$&$KH/8+E*J}K!$G%9%/%m!<%k$9$k(B
$B!J(B@code{reposition-window}$B!K!#(B
@end table
@kindex C-l
@findex recenter
@c The most basic scrolling command is @kbd{C-l} (@code{recenter}) with
@c no argument. It clears the entire screen and redisplays all windows.
@c In addition, it scrolls the selected window so that point is halfway
@c down from the top of the window.
$B$b$C$H$b4pK\E*$J%9%/%m!<%k%3%^%s%I$O!"(B
$B0z?t$r;XDj$7$J$$(B@kbd{C-l}$B!J(B@code{recenter}$B!K$G$9!#(B
$B$3$N%3%^%s%I$O!"2hLLA4BN$r%/%j%"$7$F!"$9$Y$F$N%&%#%s%I%&$r:FI=<($7$^$9!#(B
$B$5$i$K!"%]%$%s%H$,%&%#%s%I%&$NCf1{$N9T$K0LCV$9$k$h$&$K!"(B
$BA*Br$5$l$F$$$k%&%#%s%I%&$r%9%/%m!<%k$7$^$9!#(B
@kindex C-v
@kindex M-v
@kindex NEXT
@kindex PRIOR
@findex scroll-up
@findex scroll-down
@c The scrolling commands @kbd{C-v} and @kbd{M-v} let you move all the text
@c in the window up or down a few lines. @kbd{C-v} (@code{scroll-up}) with an
@c argument shows you that many more lines at the bottom of the window, moving
@c the text and point up together as @kbd{C-l} might. @kbd{C-v} with a
@c negative argument shows you more lines at the top of the window.
@c @kbd{M-v} (@code{scroll-down}) is like @kbd{C-v}, but moves in the
@c opposite direction. The function keys @key{NEXT} and @key{PRIOR} are
@c equivalent to @kbd{C-v} and @kbd{M-v}.
$B%9%/%m!<%k%3%^%s%I(B@kbd{C-v}$B$H(B@kbd{M-v}$B$O!"(B
$B%&%#%s%I%&Fb$NA4%F%-%9%H$r>e2<$K2?9T$+0\F0$7$^$9!#(B
@kbd{C-v}$B!J(B@code{scroll-up}$B!K$K0z?t$r;XDj$9$k$H!"(B
@kbd{C-l}$B$HF1$8$h$&$K%F%-%9%H$H%]%$%s%H$r0l=o$K>e$X0\F0$7$F!"(B
$BDI2CJ,!J0z?tJ,!K$N9T$r%&%#%s%I%&$N2<It$KI=<($7$^$9!#(B
@kbd{C-v}$B$KIi$N0z?t$r;XDj$7$?>l9g$O!"(B
$B%&%#%s%I%&$N>eC<$KDI2CJ,$N9T$rI=<($7$^$9!#(B
@kbd{M-v}$B!J(B@code{scroll-down}$B!K$O(B@kbd{C-v}$B$K;w$F$$$^$9$,!"(B
$B%9%/%m!<%kJ}8~$,5U$G$9!#(B
$B%U%!%s%/%7%g%s%-!<$N(B@key{NEXT}$B$H(B@key{PRIOR}$B$O!"(B
@kbd{C-v}$B$H(B@kbd{M-v}$B$KEy2A$G$9!#(B
@c The names of scroll commands are based on the direction that the text
@c moves in the window. Thus, the command to scroll forward is called
@c @code{scroll-up} because it moves the text upward on the screen.
$B%9%/%m!<%k%3%^%s%I$NL>A0$O!"(B
$B%&%#%s%I%&Fb$G%F%-%9%H$rF0$+$98~$-$K4p$E$$$F$$$^$9!#(B
$B$7$?$,$C$F!"A08~$-$K%9%/%m!<%k$9$k%3%^%s%I$O!"(B
$B2hLL>e$G$O%F%-%9%H$r>e$X0\F0$9$k$?$a!"(B
@code{scroll-up}$B$H8F$P$l$^$9!#(B
@vindex next-screen-context-lines
@c To read the buffer a windowful at a time, use @kbd{C-v} with no argument.
@c It takes the last two lines at the bottom of the window and puts them at
@c the top, followed by nearly a whole windowful of lines not previously
@c visible. If point was in the text scrolled off the top, it moves to the
@c new top of the window. @kbd{M-v} with no argument moves backward with
@c overlap similarly. The number of lines of overlap across a @kbd{C-v} or
@c @kbd{M-v} is controlled by the variable @code{next-screen-context-lines}; by
@c default, it is 2.
$B0lEY$K%&%#%s%I%&(B1$BLLJ,$N%P%C%U%!$rFI$s$G$$$/$K$O!"(B
$B0z?t$r;XDj$;$:$K(B@kbd{C-v}$B$r;H$$$^$9!#(B
$B%&%#%s%I%&$N2<C<(B2$B9T$r>eC<$K;}$C$F$$$-!"(B
$B$=$l$KB3$1$F$3$l$^$GI=<($5$l$F$$$J$+$C$?$[$\(B
$B%&%#%s%I%&(B1$BLLJ,$N9T$rI=<($7$^$9!#(B
$B%]%$%s%H$,%&%#%s%I%&$N>eC<$h$j>e$K=P$F$7$^$&>l9g$K$O!"(B
$B%]%$%s%H$O%&%#%s%I%&$N?7$?$J>eC<$N9T$K0\F0$7$^$9!#(B
$B0z?t$r;XDj$7$J$$(B@kbd{M-v}$B$bF1MM$K!"(B
$B%F%-%9%H$r=EJ#$5$;$J$,$i!"8e8~$-$K0\F0$7$^$9!#(B
@kbd{C-v}$B$d(B@kbd{M-v}$B$G=EJ#$5$;$k9T?t$O!"(B
$BJQ?t(B@code{next-screen-context-lines}$B$G@)8f$7$^$9!#(B
$B%G%U%)%k%H$G$O(B2$B$G$9!#(B
@vindex scroll-preserve-screen-position
@c Some users like the full-screen scroll commands to keep point at the
@c same screen line. To enable this behavior, set the variable
@c @code{scroll-preserve-screen-position} to a non-@code{nil} value. This
@c mode is convenient for browsing through a file by scrolling by
@c screenfuls; if you come back to the screen where you started, point goes
@c back to the line where it started. However, this mode is inconvenient
@c when you move to the next screen in order to move point to the text
@c there.
$B2hLL>e$G$N%]%$%s%H0LCV$rJ]$C$?$^$^(B
1$B2hLLJ,$N%9%/%m!<%k$r9T$&%3%^%s%I$r9%$`%f!<%6!<$b$$$^$9!#(B
$B$3$N$h$&$K$9$k$K$O!"JQ?t(B@code{scroll-preserve-screen-position}$B$K(B
@code{nil}$B0J30$r@_Dj$7$^$9!#(B
$B$3$N%b!<%I$O!"(B
1$B2hLLJ,$:$D%9%/%m!<%k$7$J$,$i%U%!%$%k$r1\Mw$9$k$h$&$J>l9g$KJXMx$G$9!#(B
$B%9%/%m!<%k$r;O$a$?2hLL$KLa$k$H!"%]%$%s%H$O3+;O;~$N9T0LCV$KLa$j$^$9!#(B
$B$7$+$7!"$D$.$N2hLL$K0\F0$7$F!"(B
$B$=$3$KI=<($5$l$F$$$k%F%-%9%H$K%]%$%s%H$r(B
$B0\F0$9$k$h$&$J;H$$J}$K$O$`$$$F$$$^$;$s!#(B
@c Another way to do scrolling is with @kbd{C-l} with a numeric argument.
@c @kbd{C-l} does not clear the screen when given an argument; it only scrolls
@c the selected window. With a positive argument @var{n}, it repositions text
@c to put point @var{n} lines down from the top. An argument of zero puts
@c point on the very top line. Point does not move with respect to the text;
@c rather, the text and point move rigidly on the screen. @kbd{C-l} with a
@c negative argument puts point that many lines from the bottom of the window.
@c For example, @kbd{C-u - 1 C-l} puts point on the bottom line, and @kbd{C-u
@c - 5 C-l} puts it five lines from the bottom. Just @kbd{C-u} as argument,
@c as in @kbd{C-u C-l}, scrolls point to the center of the selected window.
$B%9%/%m!<%k$N$b$&(B1$B$D$NJ}K!$O!"?t0z?t$r;XDj$7$?(B@kbd{C-l}$B$r;H$&$3$H$G$9!#(B
$B0z?t$r;XDj$9$k$H!"(B@kbd{C-l}$B$O2hLL$r%/%j%"$7$^$;$s!#(B
$BA*Br$5$l$F$$$k%&%#%s%I%&$@$1$r%9%/%m!<%k$7$^$9!#(B
$B@5$N0z?t(B@var{n}$B$r;XDj$9$k$H!"(B
$B%]%$%s%H0LCV$,>eC<$+$i(B@var{n}$B9TL\$K$/$k$h$&$K!"(B
$B%F%-%9%H$N0LCV$rJQ99$7$^$9!#(B
$B0z?t$H$7$F(B0$B$r;XDj$9$k$H!"%]%$%s%H0LCV$O:G>eC<$N9T$K$J$j$^$9!#(B
$B%]%$%s%H$,%F%-%9%H$KBP$7$FF0$/$o$1$G$O$J$/$F!"(B
$B%F%-%9%H$H%]%$%s%H$O0l=o$K2hLL>e$rF0$-$^$9!#(B
@kbd{C-l}$B$KIi$N0z?t$r;XDj$9$k$H!"(B
$B%]%$%s%H$O%&%#%s%I%&$N2<C<$+$i;XDj9T?t$K$-$^$9!#(B
$B$?$H$($P!"(B@kbd{C-u - 1 C-l}$B$H$9$k$H%]%$%s%H$O:G2<9T$K$J$j!"(B
@kbd{C-u - 5 C-l}$B$H$9$l$P2<$+$i(B5$B9TL\$K%]%$%s%H$,$-$^$9!#(B
@kbd{C-u C-l}$B$N$h$&$K(B@kbd{C-u}$B$@$1$r0z?t$K;XDj$9$k$H!"(B
$B%]%$%s%H$,2hLLCf1{$K$/$k$h$&$K%9%/%m!<%k$7$^$9!#(B
@kindex C-M-l
@findex reposition-window
@c The @kbd{C-M-l} command (@code{reposition-window}) scrolls the current
@c window heuristically in a way designed to get useful information onto
@c the screen. For example, in a Lisp file, this command tries to get the
@c entire current defun onto the screen if possible.
@kbd{C-M-l}$B%3%^%s%I!J(B@code{reposition-window}$B!K$O!"(B
$BM-1W$J>pJs$r2hLL>e$K;}$C$F$/$k$h$&$K$h$&$K@_7W$5$l$?H/8+E*<jK!$G!"(B
$B%+%l%s%H%&%#%s%I%&$r%9%/%m!<%k$7$^$9!#(B
$B$?$H$($P!"(BLisp$B%U%!%$%k$G$O!"$3$N%3%^%s%I$O!"(B
$B2DG=$G$"$l$P8=:_$N4X?tDj5A!J(Bdefun$B!KA4BN$r2hLL>e$K$b$C$F$3$h$&$H$7$^$9!#(B
@vindex scroll-conservatively
@c Scrolling happens automatically if point has moved out of the visible
@c portion of the text when it is time to display. Normally, automatic
@c scrolling centers point vertically within the window. However, if you
@c set @code{scroll-conservatively} to a small number @var{n}, then if you
@c move point just a little off the screen---less than @var{n} lines---then
@c Emacs scrolls the text just far enough to bring point back on screen.
@c By default, @code{scroll-conservatively} is 0.
$BI=<($N:]!"%]%$%s%H$,%F%-%9%H$NI=<(ItJ,$+$iHt$S=P$7$F$7$^$&$H!"(B
$B<+F0E*$K%9%/%m!<%k$7$^$9!#(B
$BDL>o!"$3$N<+F0%9%/%m!<%k$G$O!"(B
$B%]%$%s%H$,%&%#%s%I%&=DJ}8~$NCf1{$K0LCV$9$k$h$&$K2hLL$r0\F0$7$^$9!#(B
$B$7$+$7!"(B@code{scroll-conservatively}$B$K>.$5$J?t(B@var{n}$B$r@_Dj$7$F$*$/$H!"(B
$B%]%$%s%H$,2hLL$+$i>/$7$@$1!J(B@var{n}$B9TL$K~!K$O$_$@$9$H!"(B
Emacs$B$O%]%$%s%H$r2hLLFb$KLa$9$N$KI,MW$JJ,$@$1%9%/%m!<%k$7$^$9!#(B
$B%G%U%)%k%H$G$O!"(B@code{scroll-conservatively}$B$O(B0$B$G$9!#(B
@vindex scroll-margin
@c The variable @code{scroll-margin} restricts how close point can come
@c to the top or bottom of a window. Its value is a number of screen
@c lines; if point comes within that many lines of the top or bottom of the
@c window, Emacs recenters the window. By default, @code{scroll-margin} is
@c 0.
$BJQ?t(B@code{scroll-margin}$B$O!"(B
$B%]%$%s%H$r%&%#%s%I%&$N>eC<$d2<C<$K$I$l$@$16a$E$1$i$l$k$+$r@)8B$7$^$9!#(B
$B$=$NCM$O2hLL>e$G$N9T?t$G$9!#(B
$B%]%$%s%H$,%&%#%s%I%&$N>eC<$d2<C<$+$i$=$N9T?t0JFb$K$/$k$H!"(B
Emacs$B$O%&%#%s%I%&$rCf1{$K0LCVIU$1$7D>$7$^$9!#(B
$B%G%U%)%k%H$G$O!"(B@code{scroll-margin}$B$O(B0$B$G$9!#(B
@node Horizontal Scrolling
@c @section Horizontal Scrolling
@section $B?eJ?%9%/%m!<%k(B
@c @cindex horizontal scrolling
@cindex $B?eJ?%9%/%m!<%k(B
@c @dfn{Horizontal scrolling} means shifting all the lines sideways
@c within a window---so that some of the text near the left margin
@c is not displayed at all.
@dfn{$B?eJ?%9%/%m!<%k(B}$B!J(Bhorizontal scrolling$B!K$H$O!"(B
$B$9$Y$F$N9T$r%&%#%s%I%&Fb$G2#J}8~$KF0$+$9$3$H$G$9!#(B
$B$3$l$K$h$j!":8C<6a$/$N%F%-%9%H$OI=<($5$l$J$/$J$j$^$9!#(B
@table @kbd
@item C-x <
@c Scroll text in current window to the left (@code{scroll-left}).
$B%+%l%s%H%&%#%s%I%&$N%F%-%9%H$r:8$K%9%/%m!<%k$9$k!J(B@code{scroll-left}$B!K!#(B
@item C-x >
@c Scroll to the right (@code{scroll-right}).
$B1&$K%9%/%m!<%k$9$k!J(B@code{scroll-right}$B!K!#(B
@end table
@c When a window has been scrolled horizontally, text lines are truncated
@c rather than continued (@pxref{Continuation Lines}), with a @samp{$}
@c appearing in the first column when there is text truncated to the left,
@c and in the last column when there is text truncated to the right.
$B%&%#%s%I%&$,?eJ?J}8~$K%9%/%m!<%k$5$l$F$$$k$H$-$K$O!"(B
$B%F%-%9%H9T$r7QB3!J(B@pxref{Continuation Lines}$B!K$7$J$$$G@Z$j<N$F$^$9!#(B
$B%F%-%9%H$N:8B&$r@Z$j<N$F$F$$$k$H$-$O:G=i$N7e$K(B@samp{$}$B$rI=<($7!"(B
$B1&B&$r@Z$j<N$F$F$$$k$H$-$K$O:G8e$N7e$K(B@samp{$}$B$rI=<($7$^$9!#(B
@kindex C-x <
@kindex C-x >
@findex scroll-left
@findex scroll-right
@c The command @kbd{C-x <} (@code{scroll-left}) scrolls the selected
@c window to the left by @var{n} columns with argument @var{n}. This moves
@c part of the beginning of each line off the left edge of the window.
@c With no argument, it scrolls by almost the full width of the window (two
@c columns less, to be precise).
$B%3%^%s%I(B@kbd{C-x <}$B!J(B@code{scroll-left}$B!K$O!"(B
$BA*Br$5$l$?%&%#%s%I%&$r0z?t(B@var{n}$B$N7e?t$@$1:8$K%9%/%m!<%k$7$^$9!#(B
$B3F9T$N:G=i$NItJ,$O%&%#%s%I%&$N:8C<$+$i=P$F$7$^$$$^$9!#(B
$B0z?t$r;XDj$7$J$$$H!"$[$\%&%#%s%I%&I}!J@53N$K$O(B2$B7e>/$J$$7e?t!K(B
$B$@$1%9%/%m!<%k$7$^$9!#(B
@c @kbd{C-x >} (@code{scroll-right}) scrolls similarly to the right. The
@c window cannot be scrolled any farther to the right once it is displayed
@c normally (with each line starting at the window's left margin);
@c attempting to do so has no effect. This means that you don't have to
@c calculate the argument precisely for @w{@kbd{C-x >}}; any sufficiently large
@c argument will restore the normal display.
@kbd{C-x >}$B!J(B@code{scroll-right}$B!K$O!"F1MM$K1&$K%9%/%m!<%k$7$^$9!#(B
$B%&%#%s%I%&$,!J3F9T$,%&%#%s%I%&$N:8C<$+$i;O$^$C$F$$$k!KDL>o$NI=<($r$7$F$$$k$H!"(B
$B$=$l0J>e$O%9%/%m!<%k$G$-$^$;$s!#(B
$B%9%/%m!<%k$5$;$h$&$H$7$F$b2?$b5/$3$j$^$;$s!#(B
$B$D$^$j!"(B@w{@kbd{C-x >}}$B$KM?$($k0z?t$r@53N$K7W;;$9$kI,MW$O$J$$$N$G$9!#(B
$B==J,$KBg$-$J0z?t$r;XDj$9$l$P!"DL>o$NI=<($KLa$;$^$9!#(B
@c @cindex Hscroll mode
@c @cindex mode, Hscroll
@cindex $B?eJ?%9%/%m!<%k%b!<%I!J(BHscroll mode$B!K(B
@cindex $B%b!<%I!"(BHscroll
@findex hscroll-mode
@c You can request automatic horizontal scrolling by enabling Hscroll
@c mode. When this mode is enabled, Emacs scrolls a window horizontally
@c whenever that is necessary to keep point visible and not too far from
@c the left or right edge. The command to enable or disable this mode is
@c @kbd{M-x hscroll-mode}.
$B?eJ?%9%/%m!<%k!J(Bhscroll$B!K%b!<%I$r%*%s$K$9$k$H!"(B
$B<+F0E*$K?eJ?%9%/%m!<%k$r9T$$$^$9!#(B
$B$3$N%b!<%I$,%*%s$G$"$k$H!"(B
$B%]%$%s%H$,:81&C<$+$iN%$l$9$.$J$$>l=j$K8+$($k$h$&$K(B
Emacs$B$,?eJ?J}8~$K%&%#%s%I%&$r%9%/%m!<%k$7$^$9!#(B
$B$3$N%b!<%I$N%*%s!?%*%U$r@Z$jBX$($k%3%^%s%I$O!"(B@kbd{M-x hscroll-mode}$B$G$9!#(B
@node Follow Mode
@c @section Follow Mode
@section $BDI=>%b!<%I(B
@c @cindex Follow mode
@cindex $BDI=>%b!<%I!J(BFollow mode$B!K(B
@c @cindex mode, Follow
@cindex $B%b!<%I!"(BFollow
@c @dfn{Follow mode} is a minor mode that makes two windows showing the
@c same buffer scroll as one tall ``virtual window.'' To use Follow mode,
@c go to a frame with just one window, split it into two side-by-side
@c windows using @kbd{C-x 3}, and then type @kbd{M-x follow-mode}. From
@c then on, you can edit the buffer in either of the two windows, or scroll
@c either one; the other window follows it.
@dfn{$BDI=>!J(Bfollow$B!K%b!<%I(B}$B$O!"(B
$BF1$8%P%C%U%!$rI=<($7$F$$$k(B2$B$D$N%&%#%s%I%&$r!"(B
1$B$D$N!X2>A[%&%#%s%I%&!Y$H$7$F%9%/%m!<%k$9$k%^%$%J%b!<%I$G$9!#(B
$BDI=>!J(Bfollow$B!K%b!<%I$r;H$&$K$O!"(B
$B%&%#%s%I%&$,(B1$B$D$@$1$N%U%l!<%`$K0\F0$7$F!"(B
@kbd{C-x 3}$B$r;H$C$F:81&$KJB$s$@(B2$B$D$N%&%#%s%I%&$KJ,3d$7$F$+$i!"(B
@kbd{M-x follow-mode}$B$HBG$A$^$9!#(B
$B$3$l0J8e!"$$$:$l$N%&%#%s%I%&$N%P%C%U%!$G$bJT=8$G$-$^$9$7!"(B
$B$I$A$i$r%9%/%m!<%k$7$F$b$+$^$$$^$;$s!#(B
$B$b$&0lJ}$N%&%#%s%I%&$OB>J}$KDI=>$7$^$9!#(B
@c To turn off Follow mode, type @kbd{M-x follow-mode} a second time.
$BDI=>!J(Bfollow$B!K%b!<%I$r%*%U$K$9$k$K$O!"$b$&0lEY(B@kbd{M-x follow-mode}$B$rBG$A$^$9!#(B
@node Selective Display
@c @section Selective Display
@section $BA*BrE*$JI=<((B
@findex set-selective-display
@kindex C-x $
@c Emacs has the ability to hide lines indented more than a certain number
@c of columns (you specify how many columns). You can use this to get an
@c overview of a part of a program.
Emacs$B$K$O!"!J;XDj$7$?!K7e?t0J>e;z2<$2$7$F$"$k9T$r1#$95!G=$,$"$j$^$9!#(B
$B%W%m%0%i%`$N0lIt$r354Q$9$k$N$K$3$N5!G=$r;H$($^$9!#(B
@c To hide lines, type @kbd{C-x $} (@code{set-selective-display}) with a
@c numeric argument @var{n}. Then lines with at least @var{n} columns of
@c indentation disappear from the screen. The only indication of their
@c presence is that three dots (@samp{@dots{}}) appear at the end of each
@c visible line that is followed by one or more hidden ones.
$B9T$r1#$9$K$O!"?t0z?t(B@var{n}$B$r;XDj$7$F(B@kbd{C-x $}
$B!J(B@code{set-selective-display}$B!K$HBG$A$^$9!#(B
$B$3$l$K$h$j!"(B@var{n}$B7e0J>e;z2<$2$7$F$"$k9T$O2hLL$+$i>C$($^$9!#(B
1$B9T0J>e$NIT2D;k9T$K@h9T$9$k2D;k9T$NKvHx$K$O!"(B
3$B$D$N%I%C%H!J(B@samp{@dots{}}$B!K$rI=<($7$^$9!#(B
$B$3$N0u$,IT2D;k9T$NB8:_$r<($9M#0l$N$b$N$G$9!#(B
@c The commands @kbd{C-n} and @kbd{C-p} move across the hidden lines as
@c if they were not there.
$B%3%^%s%I(B@kbd{C-n}$B$d(B@kbd{C-p}$B$O!"(B
$BIT2D;k9T$,B8:_$7$J$$$+$N$h$&$KIT2D;k9T$rHt$S1[$($F0\F0$7$^$9!#(B
@c The hidden lines are still present in the buffer, and most editing
@c commands see them as usual, so you may find point in the middle of the
@c hidden text. When this happens, the cursor appears at the end of the
@c previous line, after the three dots. If point is at the end of the
@c visible line, before the newline that ends it, the cursor appears before
@c the three dots.
$BIT2D;k9T$O0MA3$H$7$F%P%C%U%!Fb$KB8:_$7$F$$$^$9!#(B
$B$?$$$F$$$NJT=8%3%^%s%I$O$=$l$i$rDL>o$HF1$8$h$&$K07$&$N$G!"(B
$B1#JC$5$l$?%F%-%9%HFb$K%]%$%s%H$r0\F0$7$F$7$^$&$3$H$b5/$3$j$($^$9!#(B
$B$3$N$h$&$J>l9g!"%+!<%=%k$O@h9T$9$k9T$NKvHx$N(B3$B$D$N%I%C%H$ND>8e$K(B
$BI=<($5$l$^$9!#(B
$B%]%$%s%H$,2D;k9T$N9TKv$N2~9TJ8;z$ND>A0$K$"$k$H$-$K$O!"(B
3$B$D$N%I%C%H$ND>A0$K%+!<%=%k$,8=$l$^$9!#(B
@c To make all lines visible again, type @kbd{C-x $} with no argument.
$B$9$Y$F$N9T$r$U$?$?$SI=<($9$k$K$O!"0z?t$r;XDj$;$:$K(B@kbd{C-x $}$B$rBG$A$^$9!#(B
@vindex selective-display-ellipses
@c If you set the variable @code{selective-display-ellipses} to
@c @code{nil}, the three dots do not appear at the end of a line that
@c precedes hidden lines. Then there is no visible indication of the
@c hidden lines. This variable becomes local automatically when set.
$BJQ?t(B@code{selective-display-ellipses}$B$K(B@code{nil}$B$r@_Dj$9$k$H!"(B
$BIT2D;k9T$K@h9T$9$k2D;k9T$NKvHx$K$O(B3$B$D$N%I%C%H$rI=<($7$J$/$J$j$^$9!#(B
$B$9$k$H!"IT2D;k9T$NB8:_$r<($9$b$N$O2?$b$"$j$^$;$s!#(B
$B$3$NJQ?t$r@_Dj$9$k$H!"<+F0E*$K%m!<%+%k$K$J$j$^$9!#(B
@node Optional Mode Line
@c @section Optional Mode Line Features
@section $B%b!<%I9T$NIU2C5!G=(B
@c @cindex Line Number mode
@c @cindex mode, Line Number
@cindex $B9THV9f%b!<%I!J(Bline-number mode$B!K(B
@cindex $B%b!<%I!"(BLine Number
@findex line-number-mode
@c The current line number of point appears in the mode line when Line
@c Number mode is enabled. Use the command @kbd{M-x line-number-mode} to
@c turn this mode on and off; normally it is on. The line number appears
@c before the buffer percentage @var{pos}, with the letter @samp{L} to
@c indicate what it is. @xref{Minor Modes}, for more information about
@c minor modes and about how to use this command.
$B9THV9f!J(Bline-number$B!K%b!<%I$,%*%s$G$"$k$H!"(B
$B%]%$%s%H$N8=:_$N9THV9f$r%b!<%I9T$KI=<($7$^$9!#(B
$B$3$N%b!<%I$N%*%s!?%*%U$r@Z$jBX$($k$K$O!"(B
$B%3%^%s%I(B@kbd{M-x line-number-mode}$B$r;H$$$^$9!#(B
$BDL>o$O%*%s$G$9!#(B
$B9THV9f$O!"%P%C%U%!$NI4J,N($r<($9(B@var{pos}$B$N$^$($K!"(B
$B9THV9f$G$"$k$3$H<($9J8;z(B@samp{L}$B$H$H$b$KI=<($5$l$^$9!#(B
$B%^%$%J%b!<%I$d$3$N%3%^%s%I$N;HMQJ}K!$K$D$$$F>\$7$/$O!"(B
@xref{Minor Modes}$B!#(B
@vindex line-number-display-limit
@c If the buffer is very large (larger than the value of
@c @code{line-number-display-limit}), then the line number doesn't appear.
@c Emacs doesn't compute the line number when the buffer is large, because
@c that would be too slow. If you have narrowed the buffer
@c (@pxref{Narrowing}), the displayed line number is relative to the
@c accessible portion of the buffer.
$B%P%C%U%!$,Hs>o$KBg$-$$!J(B@code{line-number-display-limit}$B$NCM0J>e$KBg$-$$!K(B
$B>l9g$K$O!"$3$N9THV9f$rI=<($7$^$;$s!#(B
$B7W;;$,Hs>o$KCY$/$J$k$N$G!"(B
$B%P%C%U%!$,Bg$-$$>l9g$K$O(BEmacs$B$O9THV9f$r7W;;$7$^$;$s!#(B
$B%P%C%U%!$r%J%m%$%s%0!J(B@pxref{Narrowing}$B!K$7$F$"$k>l9g!"(B
$BI=<($5$l$k9THV9f$O%P%C%U%!$N;2>H2DG=$JItJ,$KBP$9$k$b$N$G$9!#(B
@c @cindex Column Number mode
@c @cindex mode, Column Number
@cindex $B7eHV9f%b!<%I!J(BColumn Number mode$B!K(B
@cindex $B%b!<%I!"(BColumn Number
@findex column-number-mode
@c You can also display the current column number by turning on Column
@c Number mode. It displays the current column number preceded by the
@c letter @samp{C}. Type @kbd{M-x column-number-mode} to toggle this mode.
$B7eHV9f!J(Bcolumn-number$B!K%b!<%I$r%*%s$K$9$k$H!"8=:_$N7eHV9f$bI=<($G$-$^$9!#(B
$B$3$N%b!<%I$G$O!"(B@samp{C}$B$KB3$1$F8=:_$N7eHV9f$rI=<($7$^$9!#(B
$B$3$N%b!<%I$N%*%s!?%*%U$r@Z$jBX$($k$K$O!"(B
@kbd{M-x column-number-mode}$B$HBG$A$^$9!#(B
@findex display-time
@c @cindex time (on mode line)
@cindex $B%b!<%I9T$G$N;~9oI=<((B
@cindex $B;~9oI=<(!J%b!<%I9T!K(B
@c Emacs can optionally display the time and system load in all mode
@c lines. To enable this feature, type @kbd{M-x display-time}. The
@c information added to the mode line usually appears after the buffer
@c name, before the mode names and their parentheses. It looks like this:
Emcas$B$G$O!"$9$Y$F$N%b!<%I9T$K!";~9o$H%7%9%F%`$NIi2Y>u67$rI=<($G$-$^$9!#(B
$B$3$N5!G=$r%*%s$K$9$k$K$O!"(B@kbd{M-x display-time}$B$HBG$A$^$9!#(B
$B$3$N$H$-%b!<%I9T$KDI2C$5$l$k>pJs$O!"(B
$BDL>o$O!"%P%C%U%!L>$N$"$H!"3g8L$G0O$^$l$?%b!<%IL>$N$^$($KI=<($5$l$^$9!#(B
$B$=$NI=<($O$D$.$N$h$&$K$J$j$^$9!#(B
@example
@var{hh}:@var{mm}pm @var{l.ll}
@end example
@noindent
@vindex display-time-24hr-format
@c Here @var{hh} and @var{mm} are the hour and minute, followed always by
@c @samp{am} or @samp{pm}. @var{l.ll} is the average number of running
@c processes in the whole system recently. (Some fields may be missing if
@c your operating system cannot support them.) If you prefer time display
@c in 24-hour format, set the variable @code{display-time-24hr-format}
@c to @code{t}.
$B$3$3$G!"(B@var{hh}$B$H(B@var{mm}$B$O!";~J,$rI=$7!"(B
$B$D$M$K(B@samp{am}$B$+(B@samp{pm}$B$,B3$-$^$9!#(B
@var{l.ll}$B$O!"%7%9%F%`A4BN$G<B9TCf$N%W%m%;%9$N8D?t$N:G6a$NJ?6Q?t$G$9!#(B
$B!J%*%Z%l!<%F%#%s%0%7%9%F%`$,>pJs$rDs6!$7$J$1$l$P!"(B
$B$$$/$D$+$NFbMF$,>C$($F$$$k$3$H$b$"$k!#!K(B
$B;~9o$r(B24$B;~4VI=<($7$?$1$l$P!"(B
$BJQ?t(B@code{display-time-24hr-format}$B$K(B@code{t}$B$r@_Dj$7$^$9!#(B
@c @cindex mail (on mode line)
@cindex $B%a%$%k!J%b!<%I9T!K(B
@c The word @samp{Mail} appears after the load level if there is mail
@c for you that you have not read yet.
$BIi2Y%l%Y%kI=<($KB3$/8l(B@samp{Mail}$B$O!"(B
$BL$FI$N%a%$%k$,$"$k>l9g$KI=<($5$l$^$9!#(B
@node Text Display
@c @section How Text Is Displayed
@section $B%F%-%9%H$NI=<(J}K!(B
@c @cindex characters (in text)
@cindex $BJ8;z!J%F%-%9%HCf!K(B
@c ASCII printing characters (octal codes 040 through 0176) in Emacs
@c buffers are displayed with their graphics. So are non-ASCII multibyte
@c printing characters (octal codes above 0400).
Emacs$B%P%C%U%!Fb$N(BASCII$B0u;zJ8;z!J(B8$B?J%3!<%I$G(B040$B$+$i(B0176$B!K$O!"(B
$B$=$l$>$l$N?^7A$GI=<($5$l$^$9!#(B
$BHs(BASCII$B$N%^%k%A%P%$%H$N0u;zJ8;z!J(B8$B?J%3!<%I(B0400$B0J>e!K$bF1MM$G$9!#(B
@c Some ASCII control characters are displayed in special ways. The
@c newline character (octal code 012) is displayed by starting a new line.
@c The tab character (octal code 011) is displayed by moving to the next
@c tab stop column (normally every 8 columns).
ASCII$B%3%s%H%m!<%kJ8;z$NCf$K$O!"FCJL$JJ}K!$GI=<($5$l$k$b$N$b$"$j$^$9!#(B
$B2~9TJ8;z!J(B8$B?J%3!<%I(B012$B!K$O!"?7$?$J9T$r;O$a$k$H$$$&7A$GI=<($5$l$^$9!#(B
$B%?%VJ8;z!J(B8$B?J%3!<%I(B011$B!K$O!"$D$.$N%?%V%9%H%C%W0LCV(B
$B!JDL>o$O(B8$B7e$4$H!K$^$G0\F0$9$k$H$$$&7A$GI=<($5$l$^$9!#(B
@c Other ASCII control characters are normally displayed as a caret
@c (@samp{^}) followed by the non-control version of the character; thus,
@c control-A is displayed as @samp{^A}.
$B$=$NB>$N(BASCII$B%3%s%H%m!<%kJ8;z$O!"DL>o!"(B
$B%+%l%C%H!J(B@samp{^}$B!K$KB3$1$F%3%s%H%m!<%kJQ<o$G$J$$J8;z$GI=<($5$l$^$9!#(B
$B$D$^$j!"(Bcontrol-A$B$O(B@samp{^A}$B$N$h$&$KI=<($5$l$^$9!#(B
@c Non-ASCII characters 0200 through 0377 are displayed with octal escape
@c sequences; thus, character code 0243 (octal) is displayed as
@c @samp{\243}. However, if you enable European display, most of these
@c characters become non-ASCII printing characters, and are displayed using
@c their graphics (assuming your terminal supports them).
@c @xref{Single-Byte European Support}.
0200$B$+$i(B0377$B$^$G$NHs(BASCII$BJ8;z$O!"(B8$B?J$N%(%9%1!<%W%7!<%1%s%9$GI=<($5$l$^$9!#(B
$B$?$H$($P!"J8;z%3!<%I(B0243$B!J(B8$B?J!K$O!"(B@samp{\243}$B$HI=<($5$l$^$9!#(B
$B$7$+$7!"%h!<%m%C%Q8~$1$NI=<($r%*%s$K$7$F$$$k$H!"(B
$B$3$l$i$N$?$$$F$$$NJ8;z$OHs(BASCII$B0u;zJ8;z$H$7$F07$o$l!"(B
$B!JC<Kv$,$3$l$i$NJ8;z$rI=<($G$-$k$H2>Dj$7$F!K$=$l$>$l$N?^7A$GI=<($5$l$^$9!#(B
@xref{Single-Byte European Support}$B!#(B
@node Display Vars
@c @section Variables Controlling Display
@section $BI=<($r@)8f$9$kJQ?t(B
@c This section contains information for customization only. Beginning
@c users should skip it.
$BK\@a$O!"%+%9%?%^%$%:$K4X$9$k>pJs$N$_$G$9!#(B
$B=i?4<T$NJ}$OFI$_Ht$P$7$F$/$@$5$$!#(B
@vindex mode-line-inverse-video
@c The variable @code{mode-line-inverse-video} controls whether the mode
@c line is displayed in inverse video (assuming the terminal supports it);
@c @code{nil} means don't do so. @xref{Mode Line}. If you specify the
@c foreground color for the @code{modeline} face, and
@c @code{mode-line-inverse-video} is non-@code{nil}, then the default
@c background color for that face is the usual foreground color.
@c @xref{Faces}.
$BJQ?t(B@code{mode-line-inverse-video}$B$O!"(B
$B!JC<Kv$,H?E>I=<($r07$($k$H2>Dj$7$F!K(B
$B%b!<%I9T$rH?E>I=<($9$k$+$I$&$+$r@)8f$7$^$9!#(B
@code{nil}$B$OH?E>I=<($7$J$$$3$H$r0UL#$7$^$9!#(B
@xref{Mode Line}$B!#(B
@code{modeline}$B%U%'%$%9$KA07J?'$r;XDj$7$F$$$F!"$7$+$b!"(B
@code{mode-line-inverse-video}$B$,(B@code{nil}$B0J30$G$"$l$P!"(B
@code{modeline}$B%U%'%$%9$N%G%U%)%k%H$NGX7J?'$ODL>o$NA07J?'$G$9!#(B
@xref{Faces}$B!#(B
@vindex inverse-video
@c If the variable @code{inverse-video} is non-@code{nil}, Emacs attempts
@c to invert all the lines of the display from what they normally are.
$BJQ?t(B@code{inverse-video}$B$,(B@code{nil}$B0J30$G$"$k>l9g!"(B
Emacs$B$O2hLL>e$N$9$Y$F$N9T$rDL>o$N>uBV$+$iH?E>I=<($7$^$9!#(B
@vindex visible-bell
@c If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts
@c to make the whole screen blink when it would normally make an audible bell
@c sound. This variable has no effect if your terminal does not have a way
@c to make the screen blink.@refill
$BJQ?t(B@code{visible-bell}$B$,(B@code{nil}$B0J30$N>l9g!"(B
Emacs$B$O!"DL>o$OC<Kv$N%Y%k$rLD$i$9>lLL$G$O!"2hLLA4BN$rE@LG$7$^$9!#(B
$BC<Kv$K2hLL$rE@LG$9$k5!G=$,$J$1$l$P!"$3$NJQ?t$O2?$N8z2L$b$"$j$^$;$s!#(B
@vindex no-redraw-on-reenter
@c When you reenter Emacs after suspending, Emacs normally clears the
@c screen and redraws the entire display. On some terminals with more than
@c one page of memory, it is possible to arrange the termcap entry so that
@c the @samp{ti} and @samp{te} strings (output to the terminal when Emacs
@c is entered and exited, respectively) switch between pages of memory so
@c as to use one page for Emacs and another page for other output. Then
@c you might want to set the variable @code{no-redraw-on-reenter}
@c non-@code{nil}; this tells Emacs to assume, when resumed, that the
@c screen page it is using still contains what Emacs last wrote there.
Emacs$B$r5Y;_$7$?$"$H$G:F3+$7$?>l9g!"DL>o(BEmacs$B$O2hLL$r%/%j%"$7!"(B
$B2hLLA4BN$r:FI=<($7$^$9!#(B
$B%Z!<%8%a%b%j$rJ#?t8DHw$($?C<Kv$G$O!"(Btermcap$B$NDj5A$rJQ99$7$F!"(B
$B!J$=$l$>$l!"(BEmacs$B$r5/F0$9$k$H$-$HH4$1$k$H$-$KC<Kv$K=PNO$5$l$k!K(B
$BJ8;zNs(B@samp{ti}$B$H(B@samp{te}$B$G%Z!<%8%a%b%j$r@Z$jBX$($F!"(B
1$B%Z!<%8$r(BEmacs$BMQ$K;H$$!"$b$&(B1$B%Z!<%8$rB>$N=PNOMQ$K;H$&$h$&$K$G$-$^$9!#(B
$B$=$7$F!"JQ?t(B@code{no-redraw-on-reenter}$B$K(B@code{nil}$B0J30$r@_Dj$7$^$9!#(B
$B$3$&$9$k$H!"(BEmacs$B$O!":F3+;~$K$O(B
$B:G8e$K=PNO$7$?FbMF$,2hLL%Z!<%8$KF~$C$F$$$k$b$N$H2>Dj$7$^$9!#(B
@vindex echo-keystrokes
@c The variable @code{echo-keystrokes} controls the echoing of multi-character
@c keys; its value is the number of seconds of pause required to cause echoing
@c to start, or zero meaning don't echo at all. @xref{Echo Area}.
$BJQ?t(B@code{echo-keystrokes}$B$O!"J#?t8D$NJ8;z%-!<$N%(%3!<$r@)8f$7$^$9!#(B
$B@_Dj$9$kCM$O!"%(%3!<$r3+;O$9$k$^$G$NBT5!;~4V$NIC?t$G$9!#(B
$B%<%m$r;XDj$9$k$H%(%3!<$7$^$;$s!#(B
@xref{Echo Area}$B!#(B
@vindex ctl-arrow
@c If the variable @code{ctl-arrow} is @code{nil}, control characters in
@c the buffer are displayed with octal escape sequences, except for newline
@c and tab. Altering the value of @code{ctl-arrow} makes it local to the
@c current buffer; until that time, the default value is in effect. The
@c default is initially @code{t}. @xref{Display Tables,, Display Tables,
@c elisp, The Emacs Lisp Reference Manual}.
$BJQ?t(B@code{ctl-arrow}$B$K(B@code{nil}$B$r@_Dj$9$k$H!"(B
$B2~9T$H%?%V$r=|$$$F!"%P%C%U%!Fb$N%3%s%H%m!<%kJ8;z$r(B
8$B?J$N%(%9%1!<%W%7!<%1%s%9$GI=<($7$^$9!#(B
$BJQ?t(B@code{ctl-arrow}$B$NCM$rJQ99$9$k$H!"(B
$B$3$NJQ?t$O%+%l%s%H%P%C%U%!$K%m!<%+%k$K$J$j$^$9!#(B
$B$=$l$^$G$O!"%G%U%)%k%H$NCM$,;H$o$l$^$9!#(B
$B%G%U%)%k%H$N=i4|CM$O(B@code{t}$B$G$9!#(B
@xref{Display Tables,, Display Tables, elisp, The Emacs Lisp Reference Manual}$B!#(B
@vindex tab-width
@c Normally, a tab character in the buffer is displayed as whitespace which
@c extends to the next display tab stop position, and display tab stops come
@c at intervals equal to eight spaces. The number of spaces per tab is
@c controlled by the variable @code{tab-width}, which is made local by
@c changing it, just like @code{ctl-arrow}. Note that how the tab character
@c in the buffer is displayed has nothing to do with the definition of
@c @key{TAB} as a command. The variable @code{tab-width} must have an
@c integer value between 1 and 1000, inclusive.
$BDL>o!"%P%C%U%!Fb$N%?%VJ8;z$O!"$D$.$N%?%V%9%H%C%W0LCV$^$G$N(B
$B6uGr$H$7$FI=<($5$l!"%?%V%9%H%C%W$O(B8$B8DJ,$N6uGr$HF1$84V3V$G$9!#(B
$B%?%V(B1$B8D$"$?$j$N6uGr$NJ8;z?t$O!"JQ?t(B@code{tab-width}$B$G@)8f$7$^$9!#(B
$B$3$NJQ?t$b(B@code{ctl-arrow}$B$HF1MM$K!"JQ99$9$k$H%P%C%U%!$K%m!<%+%k$K$J$j$^$9!#(B
$B%P%C%U%!Fb$N%?%VJ8;z$r$I$N$h$&$KI=<($9$k$+$H!"(B
$B%3%^%s%I$H$7$F$N(B@key{TAB}$B$NDj5A$H$OL54X78$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B
$BJQ?t(B@code{tab-width}$B$NCM$O(B1$B0J>e(B1000$B0J2<$N@0?t$G$"$kI,MW$,$"$j$^$9!#(B
@c @c @vindex truncate-lines @c No index entry here, because we have one
@c @c in the continuation section.
@c If the variable @code{truncate-lines} is non-@code{nil}, then each
@c line of text gets just one screen line for display; if the text line is
@c too long, display shows only the part that fits. If
@c @code{truncate-lines} is @code{nil}, then long text lines display as
@c more than one screen line, enough to show the whole text of the line.
@c @xref{Continuation Lines}. Altering the value of @code{truncate-lines}
@c makes it local to the current buffer; until that time, the default value
@c is in effect. The default is initially @code{nil}.
$BJQ?t(B@code{truncate-lines}$B$K(B@code{nil}$B0J30$r@_Dj$9$k$H!"(B
$B%F%-%9%H$N3F9T$OI=<(>e$O2hLL$N(B1$B9T$r@jM-$7$^$9!#(B
$B%F%-%9%H9T$,D9$9$.$k>l9g$O!"2hLL$K<}$^$kHO0O$@$1$rI=<($7$^$9!#(B
$B0lJ}!"(B@code{truncate-lines}$B$K(B@code{nil}$B$r@_Dj$9$k$H!"(B
$BD9$$%F%-%9%H9T$O!"2hLL>e$G$O(B2$B9T0J>e$K$o$?$C$F%F%-%9%H9T$NI=<($KI,MW$J$@$1$N(B
$B9T?t$GI=<($5$l$^$9!#(B
@xref{Continuation Lines}$B!#(B
$BJQ?t(B@code{truncate-lines}$B$NCM$rJQ99$9$k$H!"(B
$B%+%l%s%H%P%C%U%!$K%m!<%+%k$K$J$j$^$9!#(B
$B$=$l$^$G$O!"%G%U%)%k%H$,;H$o$l$^$9!#(B
$B%G%U%)%k%H$N=i4|CM$O(B@code{nil}$B$G$9!#(B
@c @c @vindex truncate-partial-width-windows @c Idx entry is in Split Windows.
@c If the variable @code{truncate-partial-width-windows} is
@c non-@code{nil}, it forces truncation rather than continuation in any
@c window less than the full width of the screen or frame, regardless of
@c the value of @code{truncate-lines}. For information about side-by-side
@c windows, see @ref{Split Window}. See also @ref{Display,, Display,
@c elisp, The Emacs Lisp Reference Manual}.
$BJQ?t(B@code{truncate-partial-width-windows}$B$K(B@code{nil}$B0J30$r@_Dj$9$k$H!"(B
$B2hLL$d%U%l!<%`$NI}$KK~$?$J$$%&%#%s%I%&$G$O!"(B
$B%F%-%9%H$NI=<(J}K!$O(B@code{truncate-lines}$B$NCM$H$OL54X78$K!"(B
$B7QB39T$G$O$J$/@Z$j<N$F$FI=<($7$^$9!#(B
$B:81&$KJB$Y$?%&%#%s%I%&$K4X$7$F$O!"(B@xref{Split Window}$B!#(B
@ref{Display,, Display, elisp, The Emacs Lisp Reference Manual}$B$b(B
$B;2>H$7$F$/$@$5$$!#(B
@vindex baud-rate
@c The variable @code{baud-rate} holds the output speed of the
@c terminal, as far as Emacs knows. Setting this variable does not change
@c the speed of actual data transmission, but the value is used for
@c calculations such as padding. It also affects decisions about whether
@c to scroll part of the screen or redraw it instead---even when using a
@c window system. (We designed it this way, despite the fact that a window
@c system has no true ``output speed,'' to give you a way to tune these
@c decisions.)
$BJQ?t(B@code{baud-rate}$B$O!"(BEmacs$B$K$H$C$F$NC<Kv$N=PNOB.EY$rJ];}$7$^$9!#(B
$B$3$NJQ?t$NCM$r@_Dj$7$?$H$7$F$b!"(B
$B<B:]$N%G!<%?E>AwB.EY$rJQ99$G$-$k$o$1$G$O$J$/!"(B
$B$3$NCM$O%Q%G%#%s%0$N7W;;$J$I$KMQ$$$i$l$^$9!#(B
$B$5$i$K!"%&%#%s%I%&%7%9%F%`$r;HMQ$7$F$$$k>l9g$G$"$C$F$b!"(B
$B2hLL$N0lIt$r%9%/%m!<%k$9$k$N$+!":FI=<($9$k$N$+$N7hDj$K$b1F6A$7$^$9!#(B
$B!J%&%#%s%I%&%7%9%F%`$K$O@5$7$$!X=PNOB.EY!Y$,$J$$$K$7$F$b!"(B
$B%9%/%m!<%k!?:FI=<($rD4@0$G$-$k$h$&$K$3$N$h$&$K@_7W$7$F$"$k!#!K(B
@c You can customize the way any particular character code is displayed
@c by means of a display table. @xref{Display Tables,, Display Tables,
@c elisp, The Emacs Lisp Reference Manual}.
$B$I$s$JJ8;z%3!<%I$NI=<(J}K!$b!"I=<(%F!<%V%k$rMQ$$$F%+%9%?%^%$%:$G$-$^$9!#(B
@xref{Display Tables,, Display Tables, elisp, The Emacs Lisp Reference Manual}$B!#(B
|