aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-05-16 21:18:11 +0000
committerLuc Teirlinck2005-05-16 21:18:11 +0000
commitd239287a8d834c5b167bc03b64c50509ec80405e (patch)
treeea8daa4ebb931e613bbf1f91ad9d224dea75bc89
parent2fde15007c93d30bbd438afae045fdd320acd408 (diff)
downloademacs-d239287a8d834c5b167bc03b64c50509ec80405e.tar.gz
emacs-d239287a8d834c5b167bc03b64c50509ec80405e.zip
Various minor changes.
(Faces): Delete text that is repeated in the next section.
-rw-r--r--man/ChangeLog5
-rw-r--r--man/display.texi40
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 @@
12005-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
12005-05-16 Nick Roberts <nickrob@snap.net.nz> 62005-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},
177for more information about Transient Mark mode and activation and 177for more information about Transient Mark mode and activation and
178deactivation of the mark. 178deactivation 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
181mode, which is always local to a particular buffer, arranges to 181Lock}, for more information about Font Lock mode and syntactic
182choose faces according to the syntax of the text you are editing. It 182highlighting.
183can recognize comments and strings in most languages; in several
184languages, it can also recognize and properly highlight various other
185important constructs. @xref{Font Lock}, for more information about
186Font 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
189on your screen using the command @code{ps-print-buffer-with-faces}. 185on 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
210according to the argument, and toggles the mode when it has no argument. 206positive argument, off with negative or zero argument, and toggles the
211The function @code{turn-on-font-lock} unconditionally enables Font Lock 207mode when it has no argument. The function @code{turn-on-font-lock}
212mode. This is useful in mode-hook functions. For example, to enable 208unconditionally enables Font Lock mode. This is useful in mode-hook
213Font Lock mode whenever you edit a C file, you can do this: 209functions. For example, to enable Font Lock mode whenever you edit a
210C 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
222it, customize the variable @code{global-font-lock-mode} or use the 219it, customize the variable @code{global-font-lock-mode} using the
223function @code{global-font-lock-mode} in your @file{.emacs} file, like 220Customize interface (@pxref{Easy Customization}) or use the function
224this: 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.''
641meaning ``there's more text on this line which is scrolled 638meaning ``there's more text on this line which is scrolled
642horizontally out of view;'' clicking the mouse on one of the arrows 639horizontally out of view;'' clicking the mouse on one of the arrows
643scrolls the display horizontally in the direction of the arrow. The 640scrolls the display horizontally in the direction of the arrow. The
644fringes also indicate other things such as empty lines, or where a 641fringes can also indicate other things, such as empty lines, or where a
645program you are debugging is executing (@pxref{Debuggers}). 642program 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.
728of columns (you specify how many columns). You can use this to get an 725of columns (you specify how many columns). You can use this to get an
729overview of a part of a program. 726overview 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 $}
732numeric argument @var{n}. Then lines with at least @var{n} columns of 729(@code{set-selective-display}) with a numeric argument @var{n}. Then
733indentation disappear from the screen. The only indication of their 730lines with at least @var{n} columns of indentation disappear from the
734presence is that three dots (@samp{@dots{}}) appear at the end of each 731screen. The only indication of their presence is that three dots
735visible line that is followed by one or more hidden ones. 732(@samp{@dots{}}) appear at the end of each visible line that is
733followed 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
738if they were not there. 736if they were not there.