.* NEW_FEATURES_INFO, EMACSSRC>EMACS*>INFO, EMACS DEVELOPMENT, 09/10/91
.* Info file for current release of EMACS
.* Copyright (c) 1989, Prime Computer Inc., Natick, MA  01760






       Subject:  EMACS

       Release:  T3.1-23.0

       Date:  September 10, 1991


       New Functionality in T3.1-23.0
       ______________________________

       C++ Language Mode  has  been  added  to  support  the  new  programming
       language, C++.

       If you have a  USER_TYPE  set  to  PROGRAMMER$,  all  files  with  .cxx
       suffixes will  automatically turn on the the C++ language mode.  It can
       also be invoked by the "Esc-x cxx_on" command in Emacs.

       The compile-command will work with C++ source files,  even  when  there
       are #include statements present.

       In addition, the C++ Language  Mode  offers  the  following  speed-type
       features:

         The COMMANDS:

            ^xg   add a global declaration;
            ^xc   add a local (in the current function) declaration;
            ^x/   return from an inserted declaration (^xg or ^xc);
            ^x?   print this help;

         The Templates:

            /class  to begin a class     /memfunc  for a new member function
            /prog  to begin a program    /func  to begin a new function
            /block, /body, /{ for { <.statement.> }
            /if        => if <.condition.> <.statement.>
            /ifelse    => if <.condition.> <.statement.> else <.statement.>
            /for       => for (<.expr.>;<.expr.>;<.expr.>) <.statement.>
            /do        => do <.statement.> while(<.expr.>;
            /while     => while (<.expr.>) <.statement.>
            /switch    => switch { case <.expr.>: <.stat.> default : <.stat.>}
               /case    => case <.expr.> : <.statement.>
               /default => default : <.statement.>
            /struct    => struct { <.type> <.dentifier.>; }
            /union     => union { <.type> <.dentifier.>; }
            /dcl       => <.type.> <.identifier.>;


       Problems Fixed in T3.1-23.0
       ___________________________


       SPAR 4044735: Within  FORTRAN language  mode,  entering  32  (or  more)
                     consecutive comment  lines followed by a non-comment line
                     beginning with an alphabetic  character  will  no  longer
                     generate a PL recursion error.

       SPAR 4047808: The  down_arrow key was bound to  'back_word  instead  of
                     'next_line_command in  PT45  SUI and SUIX mode.  This has
                     been fixed.  Use ESC b instead of ESC  B  for  'back_word
                     when in  SUIX  mode.   (The PT45 down_arrow key sends the
                     sequence ESC B.)

       SPAR 4051098: EMACS was indenting incorrectly while in Fortran mode.
