home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / emacs / sources / 969 < prev    next >
Encoding:
Text File  |  1993-01-26  |  4.2 KB  |  115 lines

  1. Xref: sparky gnu.emacs.sources:969 comp.lang.c++:19905 gnu.g++.help:1705 comp.emacs:4067 alt.lucid-emacs.help:950
  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: Patch for c++-mode.el version 2.261
  6. Message-ID: <WARSAW.93Jan25230958@anthem.nlm.nih.gov>
  7. Sender: news@nlm.nih.gov
  8. Reply-To: c++-mode-help@anthem.nlm.nih.gov (Barry A. Warsaw)
  9. Organization: Century Computing, Inc.
  10. Date: 26 Jan 93 04:09:57 GMT
  11. Lines: 102
  12.  
  13.  
  14. 2.261 had a small bug which manifests itself only on non-patched
  15. emacs. If you're running c++-mode.el under Lucid Emacs you won't
  16. notice the problem. The bug breaks c++-submit-bug-report, so I thought
  17. it was pretty important to send out a patch ;-).
  18.  
  19. The version on ftp.cme.nist.gov has been fixed, but you should apply
  20. this patch if you've already downloaded 2.261.  This ups the version
  21. number to 2.261.1.1
  22.  
  23. Enjoy,
  24. -Barry
  25.  
  26. -------------------- snip snip --------------------
  27. *** c++-mode.el.bak    Sat Jan 23 13:25:52 1993
  28. --- c++-mode.el    Mon Jan 25 18:41:12 1993
  29. ***************
  30. *** 6,11 ****
  31.   ;; Maintainer: c++-mode-help@anthem.nlm.nih.gov
  32.   ;; Created: a long, long, time ago. adapted from the original c-mode.el
  33. ! ;; Version:         Revision: 2.261 
  34. ! ;; Last Modified:   Date: 1993/01/13 22:57:51 
  35.   ;; Keywords: C++ C editing major-mode
  36.   
  37. --- 6,11 ----
  38.   ;; Maintainer: c++-mode-help@anthem.nlm.nih.gov
  39.   ;; Created: a long, long, time ago. adapted from the original c-mode.el
  40. ! ;; Version:         Revision: 2.261.1.1 
  41. ! ;; Last Modified:   Date: 1993/01/25 23:34:52 
  42.   ;; Keywords: C++ C editing major-mode
  43.   
  44. ***************
  45. *** 132,136 ****
  46.   ;; c++-mode|Barry A. Warsaw|c++-mode-help@anthem.nlm.nih.gov
  47.   ;; |Mode for editing C++, and ANSI/K&R C code (was Detlefs' c++-mode.el)
  48. ! ;; |Date: 1993/01/13 22:57:51 |Revision: 2.261 |
  49.   
  50.   ;;; Code:
  51. --- 132,136 ----
  52.   ;; c++-mode|Barry A. Warsaw|c++-mode-help@anthem.nlm.nih.gov
  53.   ;; |Mode for editing C++, and ANSI/K&R C code (was Detlefs' c++-mode.el)
  54. ! ;; |Date: 1993/01/25 23:34:52 |Revision: 2.261.1.1 |
  55.   
  56.   ;;; Code:
  57. ***************
  58. *** 453,457 ****
  59.   ;; ======================================================================
  60.   (defun c++-mode ()
  61. !   "Major mode for editing C++ code.  Revision: 2.261 
  62.   To submit a bug report, enter \"\\[c++-submit-bug-report]\"
  63.   from a c++-mode buffer.
  64. --- 453,457 ----
  65.   ;; ======================================================================
  66.   (defun c++-mode ()
  67. !   "Major mode for editing C++ code.  Revision: 2.261.1.1 
  68.   To submit a bug report, enter \"\\[c++-submit-bug-report]\"
  69.   from a c++-mode buffer.
  70. ***************
  71. *** 674,678 ****
  72.   
  73.   (defun c++-c-mode ()
  74. !   "Major mode for editing K&R and ANSI C code. Revision: 2.261 
  75.   This mode is based on c++-mode. Documentation for this mode is
  76.   available by doing a \"\\[describe-function] c++-mode\"."
  77. --- 674,678 ----
  78.   
  79.   (defun c++-c-mode ()
  80. !   "Major mode for editing K&R and ANSI C code. Revision: 2.261.1.1 
  81.   This mode is based on c++-mode. Documentation for this mode is
  82.   available by doing a \"\\[describe-function] c++-mode\"."
  83. ***************
  84. *** 2416,2420 ****
  85.   ;; defuns for submitting bug reports
  86.   ;; ======================================================================
  87. ! (defconst c++-version "Revision: 2.261 "
  88.     "c++-mode version number.")
  89.   
  90. --- 2416,2420 ----
  91.   ;; defuns for submitting bug reports
  92.   ;; ======================================================================
  93. ! (defconst c++-version "Revision: 2.261.1.1 "
  94.     "c++-mode version number.")
  95.   
  96. ***************
  97. *** 2479,2485 ****
  98.           " code) \n"
  99.           (if c++-emacs-is-fixed-p
  100. !         "You've applied the (hopefully most recent) syntax patch!\n")
  101.           (if c++-emacs-is-really-fixed-p
  102. !         "Looks like you've also got the parse-back patch. Good!\n")
  103.           "\ncurrent state:\n==============\n(setq\n")
  104.       (mapcar
  105. --- 2479,2487 ----
  106.           " code) \n"
  107.           (if c++-emacs-is-fixed-p
  108. !         "You've applied the (hopefully most recent) syntax patch!\n"
  109. !           "No syntax patch applied\n")
  110.           (if c++-emacs-is-really-fixed-p
  111. !         "Looks like you've also got the parse-back patch. Good!\n"
  112. !           "No parse-back patch applied\n")
  113.           "\ncurrent state:\n==============\n(setq\n")
  114.       (mapcar
  115.