all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcus Husar <mail@marcus-husar.de>
Subject: Auto-indentation
Date: Fri, 10 Feb 2006 14:27:32 +0100	[thread overview]
Message-ID: <20060210132732.GA4821@marcus-husar.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 769 bytes --]

I no searched 2 hours for auto-indentation in emacs. I couldn't find anything. 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))))

-- 
Marcus Husar: mail@marcus-husar.de

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2006-02-10 13:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-10 13:27 Marcus Husar [this message]
2006-02-10 17:30 ` Auto-indentation Kevin Rodgers
     [not found] <mailman.124.1139578896.2885.help-gnu-emacs@gnu.org>
2006-02-10 14:02 ` Auto-indentation Zhang Wei
2006-02-10 17:34 ` Auto-indentation Stefan Monnier
2006-02-10 19:24 ` Auto-indentation Alan Mackenzie
2006-02-13  0:26   ` Auto-indentation Paul Whitfield
2006-02-13  0:30     ` Auto-indentation Paul Whitfield
2006-02-13  8:07     ` Auto-indentation Alan Mackenzie
2006-02-14  1:04       ` Auto-indentation Paul Whitfield
  -- strict thread matches above, loose matches on Subject: below --
2012-04-20 12:57 Auto-indentation Richard H Lee
2012-04-21  8:39 ` Auto-indentation Mark Skilbeck
2012-04-21 12:58   ` Auto-indentation Richard H Lee
2012-04-21 13:51     ` Auto-indentation Richard H Lee
2012-04-21 22:38       ` Auto-indentation Ludwig, Mark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060210132732.GA4821@marcus-husar.de \
    --to=mail@marcus-husar.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.