diff options
| author | Luc Teirlinck | 2005-05-16 21:18:11 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-16 21:18:11 +0000 |
| commit | d239287a8d834c5b167bc03b64c50509ec80405e (patch) | |
| tree | ea8daa4ebb931e613bbf1f91ad9d224dea75bc89 | |
| parent | 2fde15007c93d30bbd438afae045fdd320acd408 (diff) | |
| download | emacs-d239287a8d834c5b167bc03b64c50509ec80405e.tar.gz emacs-d239287a8d834c5b167bc03b64c50509ec80405e.zip | |
Various minor changes.
(Faces): Delete text that is repeated in the next section.
| -rw-r--r-- | man/ChangeLog | 5 | ||||
| -rw-r--r-- | man/display.texi | 40 |
2 files changed, 24 insertions, 21 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 8d1dbf261f4..9451c7d62c2 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-05-16 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * display.texi: Various minor changes. | ||
| 4 | (Faces): Delete text that is repeated in the next section. | ||
| 5 | |||
| 1 | 2005-05-16 Nick Roberts <nickrob@snap.net.nz> | 6 | 2005-05-16 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 7 | ||
| 3 | * building.texi (Debugger Operation): Mention GUD tooltips are | 8 | * building.texi (Debugger Operation): Mention GUD tooltips are |
diff --git a/man/display.texi b/man/display.texi index c1b0c540fb5..b4e72edc9ca 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -177,13 +177,9 @@ style of this face (@pxref{Face Customization}). @xref{Transient Mark}, | |||
| 177 | for more information about Transient Mark mode and activation and | 177 | for more information about Transient Mark mode and activation and |
| 178 | deactivation of the mark. | 178 | deactivation of the mark. |
| 179 | 179 | ||
| 180 | One easy way to use faces is to turn on Font Lock mode. This minor | 180 | One easy way to use faces is to turn on Font Lock mode. @xref{Font |
| 181 | mode, which is always local to a particular buffer, arranges to | 181 | Lock}, for more information about Font Lock mode and syntactic |
| 182 | choose faces according to the syntax of the text you are editing. It | 182 | highlighting. |
| 183 | can recognize comments and strings in most languages; in several | ||
| 184 | languages, it can also recognize and properly highlight various other | ||
| 185 | important constructs. @xref{Font Lock}, for more information about | ||
| 186 | Font Lock mode and syntactic highlighting. | ||
| 187 | 183 | ||
| 188 | You can print out the buffer with the highlighting that appears | 184 | You can print out the buffer with the highlighting that appears |
| 189 | on your screen using the command @code{ps-print-buffer-with-faces}. | 185 | on your screen using the command @code{ps-print-buffer-with-faces}. |
| @@ -206,11 +202,12 @@ specialized ways of assigning fonts for Font Lock mode. | |||
| 206 | 202 | ||
| 207 | @findex font-lock-mode | 203 | @findex font-lock-mode |
| 208 | @findex turn-on-font-lock | 204 | @findex turn-on-font-lock |
| 209 | The command @kbd{M-x font-lock-mode} turns Font Lock mode on or off | 205 | The command @kbd{M-x font-lock-mode} turns Font Lock mode on with |
| 210 | according to the argument, and toggles the mode when it has no argument. | 206 | positive argument, off with negative or zero argument, and toggles the |
| 211 | The function @code{turn-on-font-lock} unconditionally enables Font Lock | 207 | mode when it has no argument. The function @code{turn-on-font-lock} |
| 212 | mode. This is useful in mode-hook functions. For example, to enable | 208 | unconditionally enables Font Lock mode. This is useful in mode-hook |
| 213 | Font Lock mode whenever you edit a C file, you can do this: | 209 | functions. For example, to enable Font Lock mode whenever you edit a |
| 210 | C file, you can do this: | ||
| 214 | 211 | ||
| 215 | @example | 212 | @example |
| 216 | (add-hook 'c-mode-hook 'turn-on-font-lock) | 213 | (add-hook 'c-mode-hook 'turn-on-font-lock) |
| @@ -219,9 +216,9 @@ Font Lock mode whenever you edit a C file, you can do this: | |||
| 219 | @findex global-font-lock-mode | 216 | @findex global-font-lock-mode |
| 220 | @vindex global-font-lock-mode | 217 | @vindex global-font-lock-mode |
| 221 | To turn on Font Lock mode automatically in all modes which support | 218 | To turn on Font Lock mode automatically in all modes which support |
| 222 | it, customize the variable @code{global-font-lock-mode} or use the | 219 | it, customize the variable @code{global-font-lock-mode} using the |
| 223 | function @code{global-font-lock-mode} in your @file{.emacs} file, like | 220 | Customize interface (@pxref{Easy Customization}) or use the function |
| 224 | this: | 221 | @code{global-font-lock-mode} in your @file{.emacs} file, like this: |
| 225 | 222 | ||
| 226 | @example | 223 | @example |
| 227 | (global-font-lock-mode 1) | 224 | (global-font-lock-mode 1) |
| @@ -641,7 +638,7 @@ last, indicating that ``this is not the real end.'' | |||
| 641 | meaning ``there's more text on this line which is scrolled | 638 | meaning ``there's more text on this line which is scrolled |
| 642 | horizontally out of view;'' clicking the mouse on one of the arrows | 639 | horizontally out of view;'' clicking the mouse on one of the arrows |
| 643 | scrolls the display horizontally in the direction of the arrow. The | 640 | scrolls the display horizontally in the direction of the arrow. The |
| 644 | fringes also indicate other things such as empty lines, or where a | 641 | fringes can also indicate other things, such as empty lines, or where a |
| 645 | program you are debugging is executing (@pxref{Debuggers}). | 642 | program you are debugging is executing (@pxref{Debuggers}). |
| 646 | 643 | ||
| 647 | @findex set-fringe-style | 644 | @findex set-fringe-style |
| @@ -728,11 +725,12 @@ one large window. | |||
| 728 | of columns (you specify how many columns). You can use this to get an | 725 | of columns (you specify how many columns). You can use this to get an |
| 729 | overview of a part of a program. | 726 | overview of a part of a program. |
| 730 | 727 | ||
| 731 | To hide lines, type @kbd{C-x $} (@code{set-selective-display}) with a | 728 | To hide lines in the current buffer, type @kbd{C-x $} |
| 732 | numeric argument @var{n}. Then lines with at least @var{n} columns of | 729 | (@code{set-selective-display}) with a numeric argument @var{n}. Then |
| 733 | indentation disappear from the screen. The only indication of their | 730 | lines with at least @var{n} columns of indentation disappear from the |
| 734 | presence is that three dots (@samp{@dots{}}) appear at the end of each | 731 | screen. The only indication of their presence is that three dots |
| 735 | visible line that is followed by one or more hidden ones. | 732 | (@samp{@dots{}}) appear at the end of each visible line that is |
| 733 | followed by one or more hidden ones. | ||
| 736 | 734 | ||
| 737 | The commands @kbd{C-n} and @kbd{C-p} move across the hidden lines as | 735 | The commands @kbd{C-n} and @kbd{C-p} move across the hidden lines as |
| 738 | if they were not there. | 736 | if they were not there. |