lkml.org 
[lkml]   [2004]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: uml-patch-2.6.4-1
From
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.025 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site