Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 UW 5/3/83; site uw-june Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!packard!hoxna!houxm!vax135!cornell!uw-beaver!uw-june!owen From: owen@uw-june (Owen D. Beckley) Newsgroups: net.general,net.emacs,net.lang.c Subject: C Indentation and Commentation Survey Message-ID: <106@uw-june> Date: Wed, 27-Feb-85 13:13:34 EST Article-I.D.: uw-june.106 Posted: Wed Feb 27 13:13:34 1985 Date-Received: Fri, 1-Mar-85 07:14:07 EST Organization: U of Washington Computer Science Lines: 91 Xref: watmath net.general:4290 net.emacs:809 net.lang.c:4555 [... I Know What I Like (In Your Wardrobe) ...] Vote for your favorite block indentation and "end" comments! ------------------------------------------------------------ I'm planning to modify one of the several c modes for emacs to indent and add "end" comments the way I like them. However, I'm also interested in what you think. Please vote for one numbered statement and one lettered statement. Please respond by mail; do not post to the net! I will post a summary to the net. Block indentation: 1) if (a = b) { statement1; statement2; } 2) if (a = b) { statement1; statement2; } 3) if (a = b) { statement1; statement2; } 4) if (a = b) { statement1; statement2; } 5) if (a = b) { statement1; statement2; } 6) other, please specify "End" comments: A) if (a = b) { statement1; statement2; } /* if */ B) if (a = b) { statement1; statement2; } /* end if */ C) none D) other, please specify ----------------------------------------------------------------------------- "And I'm hovering like a fly, waiting for the windshield on the freeway." Peter Gabriel from "The Lamb Lies Down On Broadway" Owen Beckley |\ University of Washington Computer Science | \ owen@{uw-june.arpa|washington.arpa} /| \ {ihnp4|decvax}!uw-beaver!uw-june!owen /_|___\ \_____/