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

Diff of /emacs/man/programs.texi

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

revision 1.70 by eliz, Fri Mar 22 13:35:53 2002 UTC revision 1.70.2.1 by miles, Fri Apr 4 06:20:48 2003 UTC
# Line 181  delimiter from starting a defun.  Here's Line 181  delimiter from starting a defun.  Here's
181  ")  ")
182  @end example  @end example
183    
184      To help you catch violations of this convention, Font Lock mode
185    highlights confusing opening delimiters (those that ought to be
186    quoted) in bold red.
187    
188    In the earliest days, the original Emacs found defuns by moving    In the earliest days, the original Emacs found defuns by moving
189  upward a level of parentheses or braces until there were no more  upward a level of parentheses or braces until there were no more
190  levels to go up.  This always required scanning all the way back to  levels to go up.  This always required scanning all the way back to
# Line 873  underline.  @xref{Face Customization}. Line 877  underline.  @xref{Face Customization}.
877  @cindex comments  @cindex comments
878    
879    Because comments are such an important part of programming, Emacs    Because comments are such an important part of programming, Emacs
880  provides special commands for editing and inserting comments.  provides special commands for editing and inserting comments.  It can
881    also do spell checking on comments with Flyspell Prog mode
882    (@pxref{Spelling}).
883    
884  @menu  @menu
885  * Comment Commands::    Inserting, killing, and indenting comments.  * Comment Commands::    Inserting, killing, and indenting comments.
# Line 1394  display, so you can use it even on read- Line 1400  display, so you can use it even on read-
1400  command @kbd{M-x glasses-mode} to enable or disable the mode in the  command @kbd{M-x glasses-mode} to enable or disable the mode in the
1401  current buffer; you can also add @code{glasses-mode} to the mode hook  current buffer; you can also add @code{glasses-mode} to the mode hook
1402  of the programming language major modes in which you normally want  of the programming language major modes in which you normally want
1403  to use Glasses mode.          to use Glasses mode.
1404    
1405  @node Misc for Programs  @node Misc for Programs
1406  @section Other Features Useful for Editing Programs  @section Other Features Useful for Editing Programs
# Line 1838  runs the hook @code{fortran-mode-hook} ( Line 1844  runs the hook @code{fortran-mode-hook} (
1844  @cindex Fortran77 and Fortran90  @cindex Fortran77 and Fortran90
1845  @findex f90-mode  @findex f90-mode
1846  @findex fortran-mode  @findex fortran-mode
1847    Fortan mode is meant for editing Fortran77 ``fixed format'' source    Fortran mode is meant for editing Fortran77 ``fixed format'' source
1848  code.  For editing the modern Fortran90 ``free format'' source code,  code.  For editing the modern Fortran90 ``free format'' source code,
1849  use F90 mode (@code{f90-mode}).  Emacs normally uses Fortran mode for  use F90 mode (@code{f90-mode}).  Emacs normally uses Fortran mode for
1850  files with extension @samp{.f}, @samp{.F} or @samp{.for}, and F90 mode  files with extension @samp{.f}, @samp{.F} or @samp{.for}, and F90 mode
# Line 2155  full-line comments by setting the variab Line 2161  full-line comments by setting the variab
2161  @code{fortran-comment-indent-char} to the single-character string you want  @code{fortran-comment-indent-char} to the single-character string you want
2162  to use.  to use.
2163    
2164    @vindex fortran-directive-re
2165      Compiler directive lines, or preprocessor lines, have much the same
2166    appearance as comment lines.  It is important, though, that such lines
2167    never be indented at all, no matter what the value of
2168    @code{fortran-comment-indent-style}.  The variable
2169    @code{fortran-directive-re} is a regular expression that specifies which
2170    lines are directives.  Matching lines are never indented, and receive
2171    distinctive font-locking.
2172    
2173  @vindex comment-line-start  @vindex comment-line-start
2174  @vindex comment-line-start-skip  @vindex comment-line-start-skip
2175    Fortran mode introduces two variables @code{comment-line-start} and    Fortran mode introduces two variables @code{comment-line-start} and

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.70.2.1

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