[mythtv-users] Emacs mode for myth coding std?
Daniel Kristjansson
danielk at cuymedia.net
Mon Jul 7 18:40:13 UTC 2008
On Mon, 2008-07-07 at 14:06 -0400, manu wrote:
> Hi all,
> sorry for the dumb question but I have messed around different modes in
> emacs to get one that does mimic the coding standards of mythtv with no
> luck so far.
> I need to generate relatively large diffs so I dont want indent
> problems to get also in the way.
> Could someone point me in the right direction.
> Thx
> Bye
> Manu
>
Oh, forgot this in my earlier post, although some of the highlighting
stuff is from another project.
(setq-default indent-tabs-mode nil)
(font-lock-add-keywords 'c++-mode '("\\<\\(and\\|or\\|not\\)\\>"
"emit"))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(c++-font-lock-extra-types (quote ("int8" "int8u" "int16" "int16u"
"int32" "int32u" "int64" "int64u" "charP" "intD" "indx" "vector"
"v1_float32" "v1_float32c" "v4_float32" "v4_float32c" "v4_float32xyz"
"v4_float32xyzw" "v2_float64" "v2_float64c" "v2_float64xyz"
"v2_float64xyzw" "v16_int8" "v16_int8c" "v16_int8uc" "v8_int16"
"v8_int16c" "v8_int16uc" "v4_int32" "v4_int32c" "v4_int32uc" "v2_int64"
"v2_int64c" "v2_int64uc" "__m128" "__m128i" "__128d" "__m64" "__v4sf"
"__v4si" "__v2si" "__v4hi" "__v8qi" "__v2df" "__v2di" "__v8hi" "__v16qi"
"float32" "float64" "float80" "floatD" "FILE" "Point3D" "Point3Dh"
"TriangleStrip" "AABSPTree" "Object" "Triangle" "Mesh" "Sphere" "Frame"
"Ray4" "Ray" "AABSP" "Camera" "BTree" "BTSearchNode" "BTDataNode"
"BTNode" "PhotonC" "PhotonU" "PhotonCU" "PhotonHeap" "FloatColor"
"CombinedExponentColor" "NodeType" "pthread_t" "pthread_mutex_t"
"QString" "\\<GL\\sw+\\>" "\\<Q\\sw+\\>")))
'(case-fold-search t)
'(current-language-environment "ASCII")
'(frame-background-mode (quote dark))
'(global-font-lock-mode t nil (font-lock))
'(scroll-bar-mode (quote right))
'(tool-bar-mode nil nil (tool-bar))
'(use-file-dialog nil)
'(xref-version-control t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:stipple nil :background "#273f3f" :foreground
"#cfcf8f" :inverse-video nil :box nil :strike-through nil :overline
nil :underline nil :slant normal :weight normal :height 106 :width
normal :family "adobe-courier"))))
'(fringe ((((class color) (background light)) (:background
"#1f2f2f" :width condensed))))
'(scroll-bar ((t (:background "#2f4f4f" :foreground "#000000")))))
More information about the mythtv-users
mailing list