From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcus Husar Newsgroups: gmane.emacs.help Subject: Auto-indentation Date: Fri, 10 Feb 2006 14:27:32 +0100 Message-ID: <20060210132732.GA4821@marcus-husar.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0461283543==" X-Trace: sea.gmane.org 1139582427 27178 80.91.229.2 (10 Feb 2006 14:40:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2006 14:40:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 15:40:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F7ZQW-0004AQ-O8 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Feb 2006 15:39:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7ZQV-00075N-IG for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Feb 2006 09:39:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7YJL-0001Fa-Vl for help-gnu-emacs@gnu.org; Fri, 10 Feb 2006 08:27:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7YJI-0001CU-70 for help-gnu-emacs@gnu.org; Fri, 10 Feb 2006 08:27:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7YJG-0001BZ-IO for help-gnu-emacs@gnu.org; Fri, 10 Feb 2006 08:27:38 -0500 Original-Received: from [129.206.210.211] (helo=relay2.uni-heidelberg.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7YN2-0000Hs-DC for help-gnu-emacs@gnu.org; Fri, 10 Feb 2006 08:31:32 -0500 Original-Received: from ix.urz.uni-heidelberg.de (popix.urz.uni-heidelberg.de [129.206.119.235]) by relay2.uni-heidelberg.de (8.12.10/8.12.10) with ESMTP id k1ADTNvj020565 for ; Fri, 10 Feb 2006 14:29:24 +0100 (MET) Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id OAA1106094 for ; Fri, 10 Feb 2006 14:27:29 +0100 Original-Received: from wallace (vpn045b.rzuser.uni-heidelberg.de [129.206.197.45]) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id k1ADSIN1029570 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 10 Feb 2006 14:28:20 +0100 Original-Received: from marcus by wallace with local (Exim 4.60) (envelope-from ) id 1F7YJA-0001G0-74 for help-gnu-emacs@gnu.org; Fri, 10 Feb 2006 14:27:32 +0100 Original-To: help-gnu-emacs@gnu.org User-Agent: Mutt/1.5.11 X-Mailman-Approved-At: Fri, 10 Feb 2006 08:41:35 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33116 Archived-At: --===============0461283543== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline --0F1p//8PRICkK4MW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I no searched 2 hours for auto-indentation in emacs. I couldn't find anythi= ng. Could someone please tell me how it works? here is my .emacs: (setq case-fold-search t) (global-font-lock-mode t) (mouse-wheel-mode t) (setq auto-fill-mode 1) (setq display-time-day-and-date t) (display-time) (setq c-mode-hook (function (lambda () (c-set-style "K&R") (setq c-basic-offset 8)))) (setq objc-mode-hook (function (lambda () (c-set-style "K&R") (setq c-basic-offset 8)))) (setq c++-mode-hook (function (lambda () (c-set-style "K&R") (setq c-basic-offset 8)))) (setq java-mode-hook (function (lambda () (c-set-style "K&R") (setq c-basic-offset 8)))) --=20 Marcus Husar: mail@marcus-husar.de --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD7JTEAdmUVGnNrfMRAqLcAJwMrDxxNtjGMySDDRWHE+1GLGDm4gCfXw7x H9FAxvmzPKSSXez6entl2JY= =XuYV -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- --===============0461283543== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0461283543==--