emacs lisp setup for hacking curl code
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 Sep 2001 06:55:08 +0000 (06:55 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Sep 2001 06:55:08 +0000 (06:55 +0000)
curl-mode.el [new file with mode: 0644]

diff --git a/curl-mode.el b/curl-mode.el
new file mode 100644 (file)
index 0000000..6a51708
--- /dev/null
@@ -0,0 +1,21 @@
+;;;; Emacs Lisp help for writing curl code. ;;;;
+
+;;; In C files, put something like this to load this file automatically:
+;;
+;;   /* -----------------------------------------------------------------
+;;    * local variables:
+;;    * eval: (load-file "../curl-mode.el")
+;;    * end:
+;;    */
+;;
+;; (note: make sure to get the path right in the argument to load-file).
+
+\f
+;;; The curl hacker's C conventions
+
+;;; we use intent-level 2
+(setq c-basic-offset 2)
+;;; never ever use tabs to indent!
+(setq indent-tabs-mode nil)
+;;; I like this, stolen from Subversion! ;-)
+(setq angry-mob-with-torches-and-pitchforks t)