mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Osterlund <petero2@telia.com>
To: Jeff Dike <jdike@addtoit.com>
Cc: linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: uml-patch-2.6.4-1
Date: 14 Mar 2004 13:40:26 +0100	[thread overview]
Message-ID: <m2brmz1u11.fsf@p4.localdomain> (raw)
In-Reply-To: <200403120313.i2C3DstV005296@ccure.user-mode-linux.org>

Jeff Dike <jdike@addtoit.com> writes:

> This patch updates UML to 2.6.4.  Besides the update, there were the following
> changes since the last patch:
> 	a bug which caused either a crash in the kernel or a BUG at exit.c:793
> was fixed
> 	a bug which caused a crash when a process tried to dump core was fixed
> 	the hang early in boot on GHz hosts is gone
> 	various other
> 
> The 2.6.4-1 UML patch is available at
> 	http://www.user-mode-linux.org/mirror/uml-patch-2.6.4-1.bz2

+/*
+ * Overrides for Emacs so that we follow Linus's tabbing style.
+ * Emacs will notice this stuff at the end of the file and automatically
+ * adjust the settings for this buffer only.  This must remain at the end
+ * of the file.
+ * ---------------------------------------------------------------------------
+ * Local variables:
+ * c-file-style: "linux"
+ * End:
+ */


I think it's cleaner to handle this in your .emacs file. Here is what
I use:

(add-to-list 'auto-mode-alist '("/home/petero/kernel.*/.*\\.[ch]$" . linux-c-mode))

(defun linux-c-mode ()
  "C mode with adjusted defaults for the Linux kernel."
  (interactive)
  (c-mode)
  (c-set-style "K&R")
  (setq c-basic-offset 8))

This way it will work for all kernel files, not just the ones
containing special emacs comments.

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

      reply	other threads:[~2004-03-14 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12  3:13 uml-patch-2.6.4-1 Jeff Dike
2004-03-14 12:40 ` Peter Osterlund [this message]

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=m2brmz1u11.fsf@p4.localdomain \
    --to=petero2@telia.com \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®