🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2105

c++-mode

#2105
From: Kai Grossjohann
Date: Fri, 08 Jan 1993 14:55
56 lines
2211 bytes
Hi there,

I use Lucid Emacs 19.3 (emacs-version is "19.3.23 Lucid"), and my
c++-mode.el begins like this: (see below)

Now my problem is: When I set c-continued-statement-offset to a
nonzero value, like 4, I get:

      cerr << "Some text goes here"
	  << "Some more text" 
	      << "even more text"
		  << "more more text";

When I set c-continued-statement-offset to 0, I get:

      cerr << "Some text goes here"
      << "Some more text" 
      << "even more text"
      << "more more text";

What I want is this:

      cerr << "Some text goes here"
           << "Some more text" 
           << "even more text"
           << "more more text";

How do I get it?


	advTHANKSance,

		Kai

----------8<-----c++-mode.el---------------------------------------------
;; C++ code editing commands for Emacs
;; 1987 Dave Detlefs  (dld@cs.cmu.edu) 
;; and  Stewart Clamen (clamen@cs.cmu.edu).
;; Done by fairly faithful modification of:
;; c-mode.el, Copyright (C) 1985 Richard M. Stallman.
;;
;; Feb, 1990 (Dave Detlefs, dld@cs.cmu.edu)
;;   Fixed electric-c++-terminator to handle double colons, at the
;;   request of John Hagerman.
----------8<-----c++-mode.el---------------------------------------------

--
--
  Kai Grossjohann            Phone (voice): 49 231 75 30 15
  Baroper Str. 331 App. 510  E-Mail: 
  W-4600 Dortmund 50         grossjoh@ls6.informatik.uni-dortmund.de
  Germany                    
--
There are two ways to solve this problem: the hard way, and the
easy way. Let's start with the hard way.
                        -- W. Schneider, from a Physics lecture
Technical Details
Message-ID: <GROSSJOH.93Jan8145559@lucy.ls6.informatik.uni-dortmund.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!fbi-news!grossjoh
From: grossjoh@lucy.ls6.informatik.uni-dortmund.de (Kai Grossjohann)
Newsgroups: gnu.emacs.help
Subject: c++-mode
Date: 8 Jan 93 14:55:59
Organization: Universitaet Dortmund, Lehrstuhl Informatik VI
Lines: 56
Distribution: world
Message-ID: <GROSSJOH.93Jan8145559@lucy.ls6.informatik.uni-dortmund.de>
Reply-To: Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de>
NNTP-Posting-Host: lucy.informatik.uni-dortmund.de
Comments: Hyperbole mail buttons accepted, v3.06.