From: Dan Carpenter <error27@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: hannes@saeurebad.de
Subject: emacs indenting howto
Date: Mon, 19 Jan 2009 15:56:21 +0300 (EAT) [thread overview]
Message-ID: <alpine.DEB.2.00.0901191521270.2904@bikeee> (raw)
I don't think emacs understands tilda expansion. It didn't work for me.
regards,
dan carpenter
Signed-off-by: Dan Carpenter <error27@gmail.com>
--- orig/Documentation/CodingStyle 2009-01-16 17:46:16.000000000 +0300
+++ devel/Documentation/CodingStyle 2009-01-16 17:48:13.000000000 +0300
@@ -488,7 +488,7 @@
(let ((filename (buffer-file-name)))
;; Enable kernel mode for the appropriate files
(when (and filename
- (string-match "~/src/linux-trees" filename))
+ (string-match "/path/to/linux-trees" filename))
(setq indent-tabs-mode t)
(c-set-style "linux")
(c-set-offset 'arglist-cont-nonempty
next reply other threads:[~2009-01-19 12:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 12:56 Dan Carpenter [this message]
2009-01-21 5:16 ` Andi Kleen
2009-01-21 8:49 ` Dan Carpenter
2009-01-21 9:28 ` Andi Kleen
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=alpine.DEB.2.00.0901191521270.2904@bikeee \
--to=error27@gmail.com \
--cc=hannes@saeurebad.de \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®