From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 16 12:08:54 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EAB216A400 for ; Mon, 16 Jul 2007 12:08:54 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2D613C4BD for ; Mon, 16 Jul 2007 12:08:53 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by mu-out-0910.google.com with SMTP id w9so1400959mue for ; Mon, 16 Jul 2007 05:08:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=l6PpbAezWILAJv1cozO4r1GYB/a3lRsC/udhGx3Kz7RPS7Cj5vEpjUi9/Db+7MqUlRFEwsexubaV7fNbUZ3iXtvBKmME/eY9LHcAh8v994robwuvrJvilHMksyHRIgPT1vRTZAY/o2O7NAVcbibT9cufza9MxWqxcKcf1fiv324= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=fYaeWIYPmqtvOO4j03WwWDBCQmyz0JR5ze2zKwh8Umx80IfsSMXb+S6tDJLzO9qOuxmvti29zWuPdMpEaFSRLILgRn8xrovCNOcTMgsxU6ZB7gseHSMJ9Da0RqJAFQR3VY9RQqFsCmqVcrK9CogOM3KI269y/pB/uU9H8aYcknc= Received: by 10.82.151.14 with SMTP id y14mr4565285bud.1184586177724; Mon, 16 Jul 2007 04:42:57 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id 31sm27149364nfu.2007.07.16.04.42.55 (version=SSLv3 cipher=RC4-MD5); Mon, 16 Jul 2007 04:42:56 -0700 (PDT) From: Tom Evans To: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= In-Reply-To: <86abvm3k89.fsf@dwp.des.no> References: <43801.64.117.137.69.1180473436.squirrel@webmail.ifxnw.cl> <86abvm3k89.fsf@dwp.des.no> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-wrb85RI9M0y35Czx+DZ+" Date: Mon, 16 Jul 2007 12:42:53 +0100 Message-Id: <1184586173.2017.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-hackers@freebsd.org, dmw@unete.cl Subject: Re: Setting up development environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 12:08:54 -0000 --=-wrb85RI9M0y35Czx+DZ+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 2007-05-30 at 08:21 +0200, Dag-Erling Sm=C3=B8rgrav wrote: ... > Emacs setup (for both C and C++): >=20 > (defun des-knf () > (interactive) >=20 > ;; Basic indent is 8 spaces > (make-local-variable 'c-basic-offset) > (setq c-basic-offset 8) >=20 > ;; Continuation lines are indented 4 spaces > (make-local-variable 'c-offsets-alist) > (c-set-offset 'arglist-cont 4) > (c-set-offset 'arglist-cont-nonempty 4) > (c-set-offset 'statement-cont 4) >=20 > ;; Labels are flush to the left > (c-set-offset 'label [0]) >=20 > ;; Fill column > (make-local-variable 'fill-column) > (setq fill-column 74)) >=20 > (add-hook 'c-mode-common-hook 'des-knf) >=20 > As for how to cross-build, read build(7). >=20 > DES Before I start translating this/style(9), does anyone already have an equivalent for vim? Regards Tom --=-wrb85RI9M0y35Czx+DZ+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGm1m4lcRvFfyds/cRAgTsAJ9oeEoZx3I99mvZ6R4NQuRrWWLR5gCghgc1 GgJ/7uZPgGE0mejHoQAS978= =E1cS -----END PGP SIGNATURE----- --=-wrb85RI9M0y35Czx+DZ+--