home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / help / 5297 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.1 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh
  2. From: grossjoh@lucy.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
  3. Newsgroups: gnu.emacs.help
  4. Subject: c++-mode
  5. Date: 8 Jan 93 14:55:59
  6. Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
  7. Lines: 56
  8. Distribution: world
  9. Message-ID: <GROSSJOH.93Jan8145559@lucy.ls6.informatik.uni-dortmund.de>
  10. Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
  11. NNTP-Posting-Host: lucy.informatik.uni-dortmund.de
  12. Comments: Hyperbole mail buttons accepted, v3.06.
  13.  
  14. Hi there,
  15.  
  16. I use Lucid Emacs 19.3 (emacs-version is "19.3.23 Lucid"), and my
  17. c++-mode.el begins like this: (see below)
  18.  
  19. Now my problem is: When I set c-continued-statement-offset to a
  20. nonzero value, like 4, I get:
  21.  
  22.       cerr << "Some text goes here"
  23.       << "Some more text" 
  24.           << "even more text"
  25.           << "more more text";
  26.  
  27. When I set c-continued-statement-offset to 0, I get:
  28.  
  29.       cerr << "Some text goes here"
  30.       << "Some more text" 
  31.       << "even more text"
  32.       << "more more text";
  33.  
  34. What I want is this:
  35.  
  36.       cerr << "Some text goes here"
  37.            << "Some more text" 
  38.            << "even more text"
  39.            << "more more text";
  40.  
  41. How do I get it?
  42.  
  43.  
  44.     advTHANKSance,
  45.  
  46.         Kai
  47.  
  48. ----------8<-----c++-mode.el---------------------------------------------
  49. ;; C++ code editing commands for Emacs
  50. ;; 1987 Dave Detlefs  (dld@cs.cmu.edu) 
  51. ;; and  Stewart Clamen (clamen@cs.cmu.edu).
  52. ;; Done by fairly faithful modification of:
  53. ;; c-mode.el, Copyright (C) 1985 Richard M. Stallman.
  54. ;;
  55. ;; Feb, 1990 (Dave Detlefs, dld@cs.cmu.edu)
  56. ;;   Fixed electric-c++-terminator to handle double colons, at the
  57. ;;   request of John Hagerman.
  58. ----------8<-----c++-mode.el---------------------------------------------
  59.  
  60. --
  61. --
  62.   Kai Grossjohann            Phone (voice): 49 231 75 30 15
  63.   Baroper Str. 331 App. 510  E-Mail: 
  64.   W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  65.   Germany                    
  66. --
  67. There are two ways to solve this problem: the hard way, and the
  68. easy way. Let's start with the hard way.
  69.                         -- W. Schneider, from a Physics lecture
  70.