/[emacs]/emacs/man/text.texi
ViewVC logotype

Diff of /emacs/man/text.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38.2.2 by miles, Wed Jul 28 07:05:51 2004 UTC revision 1.38.2.3 by miles, Thu Oct 14 08:50:01 2004 UTC
# Line 1  Line 1 
1  @c This is part of the Emacs manual.  @c This is part of the Emacs manual.
2  @c Copyright (C) 1985,86,87,93,94,95,97,2000,2001, 2002  @c Copyright (C) 1985,86,87,93,94,95,97,2000,2001, 2002, 2004
3  @c   Free Software Foundation, Inc.  @c   Free Software Foundation, Inc.
4  @c See file emacs.texi for copying conditions.  @c See file emacs.texi for copying conditions.
5  @node Text, Programs, Indentation, Top  @node Text, Programs, Indentation, Top
# Line 55  Then the formatting appears on the scree Line 55  Then the formatting appears on the scree
55  @cindex autotyping  @cindex autotyping
56  @cindex automatic typing  @cindex automatic typing
57    The ``automatic typing'' features may be useful when writing text.    The ``automatic typing'' features may be useful when writing text.
58  @xref{Top,, Autotyping, autotype, Features for Automatic Typing}.  @inforef{Top,, autotype}.
59    
60  @menu  @menu
61  * Words::               Moving over and killing words.  * Words::               Moving over and killing words.
# Line 215  followed by the end of a line or two spa Line 215  followed by the end of a line or two spa
215  A sentence also begins or ends wherever a paragraph begins or ends.  A sentence also begins or ends wherever a paragraph begins or ends.
216    
217  @vindex sentence-end  @vindex sentence-end
218    The variable @code{sentence-end} controls recognition of the end of a    The variable @code{sentence-end} controls recognition of the end of
219  sentence.  It is a regexp that matches the last few characters of a  a sentence.  If non-@code{nil}, it is a regexp that matches the last
220  sentence, together with the whitespace following the sentence.  Its  few characters of a sentence, together with the whitespace following
221  normal value is  the sentence.  If the value is @code{nil}, the default, then Emacs
222    computes the regexp according to various criteria.  The result is
223    normally similar to the following regexp:
224    
225  @example  @example
226  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"  "[.?!][]\"')]*\\($\\| $\\|\t\\|  \\)[ \t\n]*"
# Line 298  that either starts or separates paragrap Line 300  that either starts or separates paragrap
300  that separate paragraphs without being part of any paragraph (for  that separate paragraphs without being part of any paragraph (for
301  example, blank lines).  Lines that start a new paragraph and are  example, blank lines).  Lines that start a new paragraph and are
302  contained in it must match only @code{paragraph-start}, not  contained in it must match only @code{paragraph-start}, not
303  @code{paragraph-separate}.  For example, in Fundamental mode,  @code{paragraph-separate}.  Each regular expression must match at the
304  @code{paragraph-start} is @w{@code{"[ \t\n\f]"}}, and  left margin.  For example, in Fundamental mode, @code{paragraph-start}
305  @code{paragraph-separate} is @w{@code{"\f\\|[ \t]*$"}}.  is @w{@code{"\f\\|[ \t]*$"}}, and @code{paragraph-separate} is
306    @w{@code{"[ \t\f]*$"}}.
307    
308    Normally it is desirable for page boundaries to separate paragraphs.    Normally it is desirable for page boundaries to separate paragraphs.
309  The default values of these variables recognize the usual separator for  The default values of these variables recognize the usual separator for
# Line 312  pages. Line 315  pages.
315  @cindex pages  @cindex pages
316  @cindex formfeed  @cindex formfeed
317    Files are often thought of as divided into @dfn{pages} by the    Files are often thought of as divided into @dfn{pages} by the
318  @dfn{formfeed} character (@acronym{ASCII} control-L, octal code 014).  When you  @dfn{formfeed} character (@acronym{ASCII} control-L, octal code 014).
319  print hardcopy for a file, this character forces a page break; thus,  When you print hardcopy for a file, this character forces a page break;
320  each page of the file goes on a separate page on paper.  Most Emacs  thus, each page of the file goes on a separate page on paper.  Most Emacs
321  commands treat the page-separator character just like any other  commands treat the page-separator character just like any other
322  character: you can insert it with @kbd{C-q C-l}, and delete it with  character: you can insert it with @kbd{C-q C-l}, and delete it with
323  @key{DEL}.  Thus, you are free to paginate your file or not.  However,  @key{DEL}.  Thus, you are free to paginate your file or not.  However,
# Line 575  period.  Set the variable @code{sentence Line 578  period.  Set the variable @code{sentence
578  conditions for where line-breaking is allowed.  Its value is either  conditions for where line-breaking is allowed.  Its value is either
579  @code{nil} or a Lisp function; the function is called with no  @code{nil} or a Lisp function; the function is called with no
580  arguments, and if it returns a non-@code{nil} value, then point is not  arguments, and if it returns a non-@code{nil} value, then point is not
581  a good place to break the line.  The standard functions you can use  a good place to break the line.  Two standard functions you can use are
582  @code{fill-single-word-nobreak-p} (don't break after the first word of  @code{fill-single-word-nobreak-p} (don't break after the first word of
583  a sentence or before the last) and @code{fill-french-nobreak-p} (don't  a sentence or before the last) and @code{fill-french-nobreak-p} (don't
584  break after @samp{(} or before @samp{)}, @samp{:} or @samp{?}).  break after @samp{(} or before @samp{)}, @samp{:} or @samp{?}).
# Line 606  a new paragraph. Line 609  a new paragraph.
609    
610  @kindex C-x .  @kindex C-x .
611  @findex set-fill-prefix  @findex set-fill-prefix
612    To specify a fill prefix, move to a line that starts with the desired    To specify a fill prefix for the current buffer, move to a line that
613  prefix, put point at the end of the prefix, and give the command  starts with the desired prefix, put point at the end of the prefix,
614  @w{@kbd{C-x .}}@: (@code{set-fill-prefix}).  That's a period after the  and give the command @w{@kbd{C-x .}}@: (@code{set-fill-prefix}).
615  @kbd{C-x}.  To turn off the fill prefix, specify an empty prefix: type  That's a period after the @kbd{C-x}.  To turn off the fill prefix,
616  @w{@kbd{C-x .}}@: with point at the beginning of a line.@refill  specify an empty prefix: type @w{@kbd{C-x .}}@: with point at the
617    beginning of a line.@refill
618    
619    When a fill prefix is in effect, the fill commands remove the fill    When a fill prefix is in effect, the fill commands remove the fill
620  prefix from each line before filling and insert it on each line after  prefix from each line before filling and insert it on each line after
# Line 824  filling determines what indentation to u Line 828  filling determines what indentation to u
828  @kindex TAB @r{(Text mode)}  @kindex TAB @r{(Text mode)}
829    Text mode defines @key{TAB} to run @code{indent-relative}    Text mode defines @key{TAB} to run @code{indent-relative}
830  (@pxref{Indentation}), so that you can conveniently indent a line like  (@pxref{Indentation}), so that you can conveniently indent a line like
831  the previous line.  When the previous line is not indented,  the previous line.
 @code{indent-relative} runs @code{tab-to-tab-stop}, which uses Emacs tab  
 stops that you can set (@pxref{Tab Stops}).  
832    
833    Text mode turns off the features concerned with comments except when    Text mode turns off the features concerned with comments except when
834  you explicitly invoke them.  It changes the syntax table so that periods  you explicitly invoke them.  It changes the syntax table so that
835  are not considered part of a word, while apostrophes, backspaces and  single-quotes are considered part of words.  However, if a word starts
836  underlines are considered part of words.  with single-quotes, then these are treated as a prefix for purposes
837    such as capitalization.  That is, @kbd{M-c} will convert
838    @samp{'hello'} into @samp{'Hello'}, as expected.
839    
840  @cindex Paragraph-Indent Text mode  @cindex Paragraph-Indent Text mode
841  @cindex mode, Paragraph-Indent Text  @cindex mode, Paragraph-Indent Text
# Line 896  invisible lines follow). Line 900  invisible lines follow).
900    
901    Editing commands that operate on lines, such as @kbd{C-n} and    Editing commands that operate on lines, such as @kbd{C-n} and
902  @kbd{C-p}, treat the text of the invisible line as part of the previous  @kbd{C-p}, treat the text of the invisible line as part of the previous
903  visible line.  Killing an entire visible line, including its terminating  visible line.  Killing the ellipsis at the end of a visible line
904  newline, really kills all the following invisible lines along with it.  really kills all the following invisible lines.
905    
906    Outline minor mode provides the same commands as the major mode,    Outline minor mode provides the same commands as the major mode,
907  Outline mode, but you can use it in conjunction with other major modes.  Outline mode, but you can use it in conjunction with other major modes.
# Line 1137  except the top @var{n} levels of heading Line 1141  except the top @var{n} levels of heading
1141  @findex hide-other  @findex hide-other
1142  @kindex C-c C-o @r{(Outline mode)}  @kindex C-c C-o @r{(Outline mode)}
1143    The command @kbd{C-c C-o} (@code{hide-other}) hides everything except    The command @kbd{C-c C-o} (@code{hide-other}) hides everything except
1144  the heading or body text that point is in, plus its parents (the headers  the heading and body text that point is in, plus its parents (the headers
1145  leading up from there to top level in the outline).  leading up from there to top level in the outline) and the top level
1146    headings.
   You can turn off the use of ellipses at the ends of visible lines by  
 setting @code{selective-display-ellipses} to @code{nil}.  Then there is  
 no visible indication of the presence of invisible lines.  
1147    
1148  @findex reveal-mode  @findex reveal-mode
1149    When incremental search finds text that is hidden by Outline mode,    When incremental search finds text that is hidden by Outline mode,
# Line 1180  buffers. Line 1181  buffers.
1181  nested portion of the outline, while hiding its relatives at higher  nested portion of the outline, while hiding its relatives at higher
1182  levels.  levels.
1183    
1184    Consider an Outline mode buffer all the text and subheadings under    Consider an Outline mode buffer with all the text and subheadings under
1185  level-1 headings hidden.  To look at what is hidden under one of these  level-1 headings hidden.  To look at what is hidden under one of these
1186  headings, you could use @kbd{C-c C-e} (@kbd{M-x show-entry}) to expose  headings, you could use @kbd{C-c C-e} (@kbd{M-x show-entry}) to expose
1187  the body, or @kbd{C-c C-i} to expose the child (level-2) headings.  the body, or @kbd{C-c C-i} to expose the child (level-2) headings.
# Line 1215  particular chapter or section of your do Line 1216  particular chapter or section of your do
1216    To unzoom (exit) a fold, use @kbd{C-c C-x} (@kbd{M-x foldout-exit-fold}).    To unzoom (exit) a fold, use @kbd{C-c C-x} (@kbd{M-x foldout-exit-fold}).
1217  This hides all the text and subheadings under the top-level heading and  This hides all the text and subheadings under the top-level heading and
1218  returns you to the previous view of the buffer.  Specifying a numeric  returns you to the previous view of the buffer.  Specifying a numeric
1219  argument exits that many levels of folds.  Specifying a zero argument exits all  argument exits that many levels of folds.  Specifying a zero argument
1220  folds.  exits all folds.
1221    
1222    To cancel the narrowing of a fold without hiding the text and    To cancel the narrowing of a fold without hiding the text and
1223  subheadings, specify a negative argument.  For example, @kbd{M--2 C-c  subheadings, specify a negative argument.  For example, @kbd{M--2 C-c
# Line 1633  current buffer's file.  Generally, you n Line 1634  current buffer's file.  Generally, you n
1634  @findex iso-iso2gtex  @findex iso-iso2gtex
1635  @findex iso-gtex2iso  @findex iso-gtex2iso
1636  @cindex Latin-1 @TeX{} encoding  @cindex Latin-1 @TeX{} encoding
1637  @TeX{} encoding  @cindex @TeX{} encoding
1638    The commands @kbd{M-x iso-iso2tex}, @kbd{M-x iso-tex2iso}, @kbd{M-x    The commands @kbd{M-x iso-iso2tex}, @kbd{M-x iso-tex2iso}, @kbd{M-x
1639  iso-iso2gtex} and @kbd{M-x iso-gtex2iso} can be used to convert  iso-iso2gtex} and @kbd{M-x iso-gtex2iso} can be used to convert
1640  between Latin-1 encoded files and @TeX{}-encoded equivalents.  between Latin-1 encoded files and @TeX{}-encoded equivalents.
# Line 1659  required.  This is set up for Czech---cu Line 1660  required.  This is set up for Czech---cu
1660  @cindex references, La@TeX{}  @cindex references, La@TeX{}
1661  @cindex La@TeX{} references  @cindex La@TeX{} references
1662    For managing all kinds of references for La@TeX{}, you can use    For managing all kinds of references for La@TeX{}, you can use
1663  Ref@TeX{}.  @xref{Top, , RefTeX, reftex}.  Ref@TeX{}.  @inforef{Top,, reftex}.
1664    
1665  @node HTML Mode  @node HTML Mode
1666  @section SGML, XML, and HTML Modes  @section SGML, XML, and HTML Modes
# Line 1880  into the file.  When you visit the file Line 1881  into the file.  When you visit the file
1881  recognize the format, reconvert the text, and turn on Enriched mode  recognize the format, reconvert the text, and turn on Enriched mode
1882  again.  again.
1883    
 @vindex enriched-fill-after-visiting  
   Normally, after visiting a file in text/enriched format, Emacs refills  
 each paragraph to fit the specified right margin.  You can turn off this  
 refilling, to save time, by setting the variable  
 @code{enriched-fill-after-visiting} to @code{nil} or to @code{ask}.  
   
   However, when visiting a file that was saved from Enriched mode, there  
 is no need for refilling, because Emacs saves the right margin settings  
 along with the text.  
   
1884  @vindex enriched-translations  @vindex enriched-translations
1885    You can add annotations for saving additional text properties, which    You can add annotations for saving additional text properties, which
1886  Emacs normally does not save, by adding to @code{enriched-translations}.  Emacs normally does not save, by adding to @code{enriched-translations}.
# Line 1951  commands directly: Line 1942  commands directly:
1942  @table @code  @table @code
1943  @findex facemenu-remove-face-props  @findex facemenu-remove-face-props
1944  @item Remove Face Properties  @item Remove Face Properties
1945  Delete from the region all the text properties that the Text Properties  Delete from the region all face and color text properties
1946  menu works with (@code{facemenu-remove-face-props}).  (@code{facemenu-remove-face-props}).
1947    
1948  @findex facemenu-remove-all  @findex facemenu-remove-all
1949  @item Remove All  @item Remove Text Properties
1950  Delete @emph{all} text properties from the region  Delete @emph{all} text properties from the region
1951  (@code{facemenu-remove-all}).  (@code{facemenu-remove-all}).
1952    
1953  @findex describe-text-at  @findex describe-text-properties
1954  @cindex text properties of characters  @cindex text properties of characters
1955  @cindex overlays at character position  @cindex overlays at character position
1956  @cindex widgets at buffer position  @cindex widgets at buffer position
1957  @cindex buttons at buffer position  @cindex buttons at buffer position
1958  @item Describe Text  @item Describe Properties
1959  List all the text properties, widgets, buttons, and overlays of the  List all the text properties, widgets, buttons, and overlays of the
1960  character following point (@code{describe-text-at}).  character following point (@code{describe-text-properties}).
1961    
1962  @item Display Faces  @item Display Faces
1963  Display a list of all the defined faces (@code{list-faces-display}).  Display a list of all the defined faces (@code{list-faces-display}).
# Line 2018  Set the region, or the next inserted cha Line 2009  Set the region, or the next inserted cha
2009    
2010    If you use these commands with a prefix argument---or, in Transient Mark    If you use these commands with a prefix argument---or, in Transient Mark
2011  mode, if the region is not active---then these commands specify a face  mode, if the region is not active---then these commands specify a face
2012  to use for your next self-inserting input.  @xref{Transient Mark}.  This  to use for any immediately following self-inserting input.
2013  applies to both the keyboard commands and the menu commands.  @xref{Transient Mark}.  This applies to both the keyboard commands and
2014    the menu commands.
2015    
2016      Specifying the @code{default} face also resets foreground and
2017    background color to their defaults.(@pxref{Format Colors}).
2018    
2019      Any self-inserting character you type inherits, by default, the face
2020    properties (as well as most other text properties) of the preceding
2021    character.  Specifying any face property, including foreground or
2022    background color, for your next self-inserting character will prevent
2023    it from inheriting any face properties from the preceding character,
2024    although it will still inherit other text properties.  Characters
2025    inserted by yanking do not inherit text properties.
2026    
2027    Enriched mode defines two additional faces: @code{excerpt} and    Enriched mode defines two additional faces: @code{excerpt} and
2028  @code{fixed}.  These correspond to codes used in the text/enriched file  @code{fixed}.  These correspond to codes used in the text/enriched file
# Line 2029  format. Line 2032  format.
2032  same as @code{italic} unless you customize it (@pxref{Face Customization}).  same as @code{italic} unless you customize it (@pxref{Face Customization}).
2033    
2034    The @code{fixed} face means, ``Use a fixed-width font for this part    The @code{fixed} face means, ``Use a fixed-width font for this part
2035  of the text.''  This makes a visible difference only if you have  of the text.''  Applying the @code{fixed} face to a part of the text
2036  specified a variable-width font in the default face; however, even if  will cause that part of the text to appear in a fixed-width font, even
2037  the default font is fixed-width, applying the @code{fixed} face to a  if the default font is variable-width.  This applies to Emacs and to
2038  part of the text will cause that part of the text to appear in a  other systems that display text/enriched format.  So if you
2039  fixed-width font, if the file is ever displayed with a variable-width  specifically want a certain part of the text to use a fixed-width
2040  default font.  This applies to Emacs and to other systems that display  font, you should specify the @code{fixed} face for that part.
2041  text/enriched format.  So if you specifically want a certain part of  
2042  the text to use a fixed-width font, you should specify the    By default, the @code{fixed} face looks the same as @code{bold}.
2043  @code{fixed} face for that part.  This is an attempt to distinguish it from @code{default}.  You may
2044    wish to customize @code{fixed} to some other fixed-width medium font.
2045    The @code{fixed} face is normally set up to use a different font  @xref{Face Customization}.
 from the default, even if the default face is also fixed-width.  
 Different systems have different fonts installed, so you may need to  
 customize this.  @xref{Face Customization}.  
2046    
2047    If your terminal cannot display different faces, you will not be    If your terminal cannot display different faces, you will not be
2048  able to see them, but you can still edit documents containing faces,  able to see them, but you can still edit documents containing faces,
# Line 2058  text.  There is a menu for specifying th Line 2058  text.  There is a menu for specifying th
2058  for specifying the background color.  Each color menu lists all the  for specifying the background color.  Each color menu lists all the
2059  colors that you have used in Enriched mode in the current Emacs session.  colors that you have used in Enriched mode in the current Emacs session.
2060    
2061    If you specify a color with a prefix argument---or, in Transient Mark    If you specify a color with a prefix argument---or, in Transient
2062  mode, if the region is not active---then it applies to your next  Mark mode, if the region is not active---then it applies to any
2063  self-inserting input.  @xref{Transient Mark}.  Otherwise, the command  immediately following self-inserting input.  @xref{Transient Mark}.
2064  applies to the region.  Otherwise, the command applies to the region.
2065    
2066    Each color menu contains one additional item: @samp{Other}.  You can use    Each color menu contains one additional item: @samp{Other}.  You can use
2067  this item to specify a color that is not listed in the menu; it reads  this item to specify a color that is not listed in the menu; it reads
2068  the color name with the minibuffer.  To display list of available colors  the color name with the minibuffer.  To display a list of available colors
2069  and their names, use the @samp{Display Colors} menu item in the Text  and their names, use the @samp{Display Colors} menu item in the Text
2070  Properties menu (@pxref{Editing Format Info}).  Properties menu (@pxref{Editing Format Info}).
2071    
2072    Any color that you specify in this way, or that is mentioned in a    Any color that you specify in this way, or that is mentioned in a
2073  formatted text file that you read in, is added to both color menus for  formatted text file that you read in, is added to the corresponding
2074  the duration of the Emacs session.  color menu for the duration of the Emacs session.
2075    
2076  @findex facemenu-set-foreground  @findex facemenu-set-foreground
2077  @findex facemenu-set-background  @findex facemenu-set-background
# Line 2113  Remove 4 columns of indentation from the Line 2113  Remove 4 columns of indentation from the
2113    You can use these commands repeatedly to increase or decrease the    You can use these commands repeatedly to increase or decrease the
2114  indentation.  indentation.
2115    
2116    The most common way to use these commands is to change the indentation    The most common way to use them is to change the indentation of an
2117  of an entire paragraph.  However, that is not the only use.  You can  entire paragraph.  For other uses, the effects of refilling can be
2118  change the margins at any point; the new values take effect at the end  hard to predict, except in some special cases like the one described
2119  of the line (for right margins) or the beginning of the next line (for  next.
2120  left margins).  
2121      The most common other use is to format paragraphs with @dfn{hanging
2122    This makes it possible to format paragraphs with @dfn{hanging indents},  indents}, which means that the first line is indented less than
2123  which means that the first line is indented less than subsequent lines.  subsequent lines.  To set up a hanging indent, increase the
2124  To set up a hanging indent, increase the indentation of the region  indentation of the region starting after the first word of the
2125  starting after the first word of the paragraph and running until the end  paragraph and running until the end of the paragraph.
 of the paragraph.  
2126    
2127    Indenting the first line of a paragraph is easier.  Set the margin for    Indenting the first line of a paragraph is easier.  Set the margin for
2128  the whole paragraph where you want it to be for the body of the  the whole paragraph where you want it to be for the body of the
2129  paragraph, then indent the first line by inserting extra spaces or tabs.  paragraph, then indent the first line by inserting extra spaces or tabs.
2130    
   Sometimes, as a result of editing, the filling of a paragraph becomes  
 messed up---parts of the paragraph may extend past the left or right  
 margins.  When this happens, use @kbd{M-q} (@code{fill-paragraph}) to  
 refill the paragraph.  
   
2131  @vindex standard-indent  @vindex standard-indent
2132    The variable @code{standard-indent} specifies how many columns these    The variable @code{standard-indent} specifies how many columns these
2133  commands should add to or subtract from the indentation.  The default  commands should add to or subtract from the indentation.  The default
2134  value is 4.  The overall default right margin for Enriched mode is  value is 4.  The overall default right margin for Enriched mode is
2135  controlled by the variable @code{fill-column}, as usual.  controlled by the variable @code{fill-column}, as usual.
2136    
2137    @kindex C-c [ @r{(Enriched mode)}
2138    @kindex C-c ] @r{(Enriched mode)}
2139    @findex set-left-margin
2140    @findex set-right-margin
2141      There are also two commands for setting the left or right margin of
2142    the region absolutely: @code{set-left-margin} and
2143    @code{set-right-margin}.  Enriched mode binds these commands to
2144    @kbd{C-c [} and @kbd{C-c ]}, respectively.  You can specify the
2145    margin width either with a numeric argument or in the minibuffer.
2146    
2147      Sometimes, as a result of editing, the filling of a paragraph becomes
2148    messed up---parts of the paragraph may extend past the left or right
2149    margins.  When this happens, use @kbd{M-q} (@code{fill-paragraph}) to
2150    refill the paragraph.
2151    
2152    The fill prefix, if any, works in addition to the specified paragraph    The fill prefix, if any, works in addition to the specified paragraph
2153  indentation: @kbd{C-x .} does not include the specified indentation's  indentation: @kbd{C-x .} does not include the specified indentation's
2154  whitespace in the new value for the fill prefix, and the fill commands  whitespace in the new value for the fill prefix, and the fill commands
# Line 2157  affects the Emacs fill commands. Line 2166  affects the Emacs fill commands.
2166  the style.  The submenu contains five items:  the style.  The submenu contains five items:
2167    
2168  @table @code  @table @code
2169  @item Flush Left  @item Left
2170  This is the most common style of justification (at least for English).  This is the most common style of justification (at least for English).
2171  Lines are aligned at the left margin but left uneven at the right.  Lines are aligned at the left margin but left uneven at the right.
2172    
2173  @item Flush Right  @item Right
2174  This aligns each line with the right margin.  Spaces and tabs are added  This aligns each line with the right margin.  Spaces and tabs are added
2175  on the left, if necessary, to make lines line up on the right.  on the left, if necessary, to make lines line up on the right.
2176    
# Line 2175  the width of spaces in a line to achieve Line 2184  the width of spaces in a line to achieve
2184  @item Center  @item Center
2185  This centers every line between the current margins.  This centers every line between the current margins.
2186    
2187  @item None  @item Unfilled
2188  This turns off filling entirely.  Each line will remain as you wrote it;  This turns off filling entirely.  Each line will remain as you wrote it;
2189  the fill and auto-fill functions will have no effect on text which has  the fill and auto-fill functions will have no effect on text which has
2190  this setting.  You can, however, still indent the left margin.  In  this setting.  You can, however, still indent the left margin.  In
# Line 2195  Make the region left-filled (@code{set-j Line 2204  Make the region left-filled (@code{set-j
2204  @findex set-justification-right  @findex set-justification-right
2205  @item M-j r  @item M-j r
2206  Make the region right-filled (@code{set-justification-right}).  Make the region right-filled (@code{set-justification-right}).
2207  @kindex M-j f @r{(Enriched mode)}  @kindex M-j b @r{(Enriched mode)}
2208  @findex set-justification-full  @findex set-justification-full
2209  @item M-j f  @item M-j b
2210  Make the region fully justified (@code{set-justification-full}).  Make the region fully justified (@code{set-justification-full}).
2211  @kindex M-j c @r{(Enriched mode)}  @kindex M-j c @r{(Enriched mode)}
2212  @kindex M-S @r{(Enriched mode)}  @kindex M-S @r{(Enriched mode)}
# Line 2220  region. Line 2229  region.
2229    The default justification style is specified by the variable    The default justification style is specified by the variable
2230  @code{default-justification}.  Its value should be one of the symbols  @code{default-justification}.  Its value should be one of the symbols
2231  @code{left}, @code{right}, @code{full}, @code{center}, or @code{none}.  @code{left}, @code{right}, @code{full}, @code{center}, or @code{none}.
2232    This is a per-buffer variable.  Setting the variable directly affects
2233    only the current buffer.  However, customizing it in a Custom buffer
2234    sets (as always) the default value for buffers that do not override it.
2235    @xref{Locals}, and @ref{Easy Customization}.
2236    
2237  @node Format Properties  @node Format Properties
2238  @subsection Setting Other Text Properties  @subsection Setting Other Text Properties
2239    
2240    The Other Properties menu lets you add or remove three other useful text    The Special Properties menu lets you add or remove three other useful text
2241  properties: @code{read-only}, @code{invisible} and @code{intangible}.  properties: @code{read-only}, @code{invisible} and @code{intangible}.
2242  The @code{intangible} property disallows moving point within the text,  The @code{intangible} property disallows moving point within the text,
2243  the @code{invisible} text property hides text from display, and the  the @code{invisible} text property hides text from display, and the
# Line 2253  When you visit a file that was created w Line 2266  When you visit a file that was created w
2266  not recognize the file as being in the text/enriched format.  In this  not recognize the file as being in the text/enriched format.  In this
2267  case, when you visit the file you will see the formatting commands  case, when you visit the file you will see the formatting commands
2268  rather than the formatted text.  Type @kbd{M-x format-decode-buffer} to  rather than the formatted text.  Type @kbd{M-x format-decode-buffer} to
2269  translate it.  translate it.  This also automatically turns on Enriched mode.
2270    
2271  @item  @item
2272  When you @emph{insert} a file into a buffer, rather than visiting it.  When you @emph{insert} a file into a buffer, rather than visiting it,
2273  Emacs does the necessary conversions on the text which you insert, but  Emacs does the necessary conversions on the text which you insert, but
2274  it does not enable Enriched mode.  If you wish to do that, type @kbd{M-x  it does not enable Enriched mode.  If you wish to do that, type @kbd{M-x
2275  enriched-mode}.  enriched-mode}.
# Line 2268  to translate from; however, normally you Line 2281  to translate from; however, normally you
2281  tells Emacs to guess the format.  tells Emacs to guess the format.
2282    
2283  @findex format-find-file  @findex format-find-file
2284    If you wish to look at text/enriched file in its raw form, as a    If you wish to look at a text/enriched file in its raw form, as a
2285  sequence of characters rather than as formatted text, use the @kbd{M-x  sequence of characters rather than as formatted text, use the @kbd{M-x
2286  find-file-literally} command.  This visits a file, like  find-file-literally} command.  This visits a file, like
2287  @code{find-file}, but does not do format conversion.  It also inhibits  @code{find-file}, but does not do format conversion.  It also inhibits

Legend:
Removed from v.1.38.2.2  
changed lines
  Added in v.1.38.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26