Updates to emacs 29.4 fresh install
This commit is contained in:
78
.emacs
78
.emacs
@@ -90,8 +90,8 @@
|
||||
(require 'use-package-ensure)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
|
||||
(use-package use-package-ensure-system-package)
|
||||
(use-package system-packages)
|
||||
;(use-package use-package-ensure-system-package)
|
||||
|
||||
|
||||
;; required because vterm wants this before loading.
|
||||
@@ -367,49 +367,49 @@
|
||||
)
|
||||
|
||||
|
||||
(use-package smart-tabs-mode
|
||||
:config
|
||||
(setq-default tab-width 4) ; or any other preferred value
|
||||
(setq cua-auto-tabify-rectangles nil)
|
||||
(smart-tabs-advice c-indent-line c-basic-offset)
|
||||
(smart-tabs-advice c-indent-region c-basic-offset)
|
||||
;; (use-package smart-tabs-mode
|
||||
;; :config
|
||||
;; (setq-default tab-width 4) ; or any other preferred value
|
||||
;; (setq cua-auto-tabify-rectangles nil)
|
||||
;; (smart-tabs-advice c-indent-line c-basic-offset)
|
||||
;; (smart-tabs-advice c-indent-region c-basic-offset)
|
||||
|
||||
(smart-tabs-add-language-support cmake cmake-mode-hook
|
||||
(
|
||||
(cmake-indent . cmake-tab-width)
|
||||
)
|
||||
)
|
||||
;; (smart-tabs-add-language-support cmake cmake-mode-hook
|
||||
;; (
|
||||
;; (cmake-indent . cmake-tab-width)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
(smart-tabs-add-language-support protobuf protobuf-mode-hook
|
||||
(
|
||||
(c-indent-line . c-basic-offset)
|
||||
(c-indent-region . c-basic-offset)
|
||||
)
|
||||
)
|
||||
;; (smart-tabs-add-language-support protobuf protobuf-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
(smart-tabs-add-language-support glsl glsl-mode-hook
|
||||
(
|
||||
(c-indent-line . c-basic-offset)
|
||||
(c-indent-region . c-basic-offset)
|
||||
)
|
||||
)
|
||||
;; (smart-tabs-add-language-support glsl glsl-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
(smart-tabs-add-language-support opencl opencl-mode-hook
|
||||
(
|
||||
(c-indent-line . c-basic-offset)
|
||||
(c-indent-region . c-basic-offset)
|
||||
)
|
||||
)
|
||||
;; (smart-tabs-add-language-support opencl opencl-mode-hook
|
||||
;; (
|
||||
;; (c-indent-line . c-basic-offset)
|
||||
;; (c-indent-region . c-basic-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
(smart-tabs-add-language-support elisp emacs-lisp-mode-hook
|
||||
(
|
||||
(lisp-indent-line . lisp-indent-offset)
|
||||
(lisp-indent-region . lisp-indent-offset)
|
||||
)
|
||||
)
|
||||
;; (smart-tabs-add-language-support elisp emacs-lisp-mode-hook
|
||||
;; (
|
||||
;; (lisp-indent-line . lisp-indent-offset)
|
||||
;; (lisp-indent-region . lisp-indent-offset)
|
||||
;; )
|
||||
;; )
|
||||
|
||||
(smart-tabs-insinuate 'c 'c++ 'cmake 'nxml 'protobuf 'glsl 'elisp)
|
||||
)
|
||||
;; (smart-tabs-insinuate 'c 'c++ 'cmake 'nxml 'protobuf 'glsl 'elisp)
|
||||
;; )
|
||||
|
||||
(use-package aggressive-indent
|
||||
:hook
|
||||
|
||||
Reference in New Issue
Block a user