From: Jon Seymour <jon.seymour@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] Tidy up some rev-list-related stuff
Date: Thu, 9 Jun 2005 19:57:45 +1000 [thread overview]
Message-ID: <2cfc403205060902571b99af3f@mail.gmail.com> (raw)
In-Reply-To: <2cfc4032050608180650e5ef12@mail.gmail.com>
> Speaking of which, I can't emacs to indent properly even when I use
> this suggestion from that document:
>
> (defun linux-c-mode ()
> "C mode with adjusted defaults for use with the Linux kernel."
> (interactive)
> (c-mode)
> (c-set-style "K&R")
> (setq tab-width 8)
> (setq indent-tabs-mode t)
> (setq c-basic-offset 8))
>
> This will define the M-x linux-c-mode command. When hacking on a
> module, if you put the string -*- linux-c -*- somewhere on the first
> two lines, this mode will be automatically invoked. Also, you may want
> to add
>
> (setq auto-mode-alist (cons '("/home/jon/.*/.*\\.[ch]$" . linux-c-mode)
> auto-mode-alist))
>
Actually, these instructions do work for me. An earlier version of the
instructions I pulled from a google hit didn't work.
jon.
prev parent reply other threads:[~2005-06-09 15:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 20:59 [PATCH] Tidy up some rev-list-related stuff Petr Baudis
2005-06-09 1:06 ` Jon Seymour
2005-06-09 9:57 ` Jon Seymour [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=2cfc403205060902571b99af3f@mail.gmail.com \
--to=jon.seymour@gmail.com \
--cc=git@vger.kernel.org \
--cc=jon@blackcubes.dyndns.org \
/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;
as well as URLs for NNTP newsgroup(s).