home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / sources / 962 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  4.3 KB

  1. Xref: sparky gnu.emacs.sources:962 comp.lang.c++:19844 gnu.g++.help:1700 comp.emacs:4058 alt.lucid-emacs.help:939
  2. Newsgroups: gnu.emacs.sources,comp.lang.c++,gnu.g++.help,comp.emacs,alt.lucid-emacs.help
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!lhc!lhc!warsaw
  4. From: warsaw@nlm.nih.gov (Barry A. Warsaw)
  5. Subject: Announcing c++-mode.el version 2.261
  6. Message-ID: <WARSAW.93Jan24182134@anthem.nlm.nih.gov>
  7. Lines: 85
  8. Sender: news@nlm.nih.gov
  9. Reply-To: c++-mode-help@anthem.nlm.nih.gov (Barry A. Warsaw)
  10. Organization: Century Computing, Inc.
  11. Date: 24 Jan 93 23:21:34 GMT
  12.  
  13.  
  14. [[I don't think this made it out the first time. Sorry for any
  15.   duplication... baw]]
  16.  
  17. This message is to announce the release of c++-mode.el version 2.261
  18. for GNU emacs and derivatives (Epoch, Lucid emacs).  This version
  19. should replace all previous versions, including the last public
  20. release 2.195.  Differences between 2.195 and 2.261 are briefly
  21. outlined below. c++-mode.el can be used to edit C++, K&R C, and ANSI C
  22. code.
  23.  
  24. As usual, I'm not posting the lisp file since it should be pretty easy
  25. for just about everyone to get it via anonymous ftp or mail-server.
  26. 2.261 should be available soon on the elisp archive, but you can also
  27. aftp it from ftp.cme.nist.gov:pub/gnu/c++-mode.el.Z. For those of you
  28. without aftp, send the following message to library@cme.nist.gov:
  29.  
  30.     send pub/gnu/c++-mode.el.Z
  31.  
  32. Be sure that you include a valid reply path. When you receive the
  33. response, you need to remove the mail headers and other cruft,
  34. uudecode, then uncompress.  For more information about the
  35. mail-server, send the message `help' (sans quotes) to the library
  36. address.
  37.  
  38. Read the comments at the top of the file for information about getting
  39. on the beta testers list, and submitting bug reports.
  40.  
  41. Performance
  42. ===========
  43. There have been lots of complaints about performance with 2.195. These
  44. problems are related to bugs in emacs which prohibit more than 1 style
  45. of comments per buffer. C++, of course, requires 2 styles of comments.
  46. c++-mode employs lisp workarounds so that indentation is accurate, but
  47. lisp is slower than using the C built-ins.  I've tried to speed up the
  48. lisp routines as much as possible, but you'll still notice c++-mode
  49. getting slow inside big routines, or in a file of preprocessor
  50. commands.  The solution is to patch emacs...
  51.  
  52. ...which has been done for you as of the 19.4 Lucid Emacs release!
  53. Tons 'o thanks to Jamie Zawinski for working with me on these. Lemacs
  54. 19.4 also comes with 2.261 so lemacsers win big.  c++-mode can
  55. recognize a patched emacs and will automatically use the faster
  56. built-in routines. Also, backslashing certain characters (e.g. single
  57. quote) inside comment regions are unnecessary when the patches are
  58. installed and c++-mode will automatically set the value of the
  59. c++-untame-characters variable to nil in a patched emacs.
  60.  
  61. Jack Repenning has ported the lemacs patches back into GNU emacs 18.59
  62. and this will be submitted to the gnu.emacs.sources newsgroup in a
  63. companion article (thanks Jack!).  The patches will also be made
  64. available on ftp.cme.nist.gov for access via aftp and mail-server,
  65. under the file name pub/gnu/syntax-18.59.Z. Of course, these are *not*
  66. official GNU patches. Volunteers to port the patches to Epoch are
  67. welcome!
  68.  
  69. Other Changes Since 2.195
  70. =========================
  71.  
  72. * LOTS OF BUG FIXES. I won't bore you with the details, but almost all
  73.   reported bugs have been fixed. There are still some problems with
  74.   indentation of continued statements at the top level (ie not inside
  75.   functions), and re-indenting continued statements with
  76.   c++-indent-exp (ESC C-q).
  77.  
  78. * function c++-fill-C-comment has been removed.
  79.  
  80. * variable c++-class-member-indent has been removed. c-indent-level is
  81.   now used to determine indentation inside class definitions.
  82.  
  83. * column-zero comment only lines need not be anchored to column-zero.
  84.   See the docstring for variable c++-comment-only-line-offset for more
  85.   information.
  86.  
  87. * new variable c++-backscan-limit to improve performance when *not*
  88.   running a patched emacs. This limits how far back lisp back-scanning
  89.   will look at the expense of occasionally (hopefully, very rarely)
  90.   being wrong. This feature is not used in patched emacses.
  91.  
  92. * new functions c++-backward-sexp and c++-forward-sexp are bound to
  93.   M-C-b and M-C-f respectively.  These work better than backward-sexp
  94.   and forward-sexp for c++-mode.
  95.  
  96. Enjoy,
  97. -Barry
  98.