From db30ae976a4a0ff68ae3bb80eedaea061e9ed097 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 9 Sep 2023 04:41:24 -0400 Subject: [PATCH] Remove the old settings. --- ansible/roles/emacs/files/elisp/base.el | 48 +------------------- ansible/roles/emacs/files/elisp/lang-rust.el | 2 +- 2 files changed, 3 insertions(+), 47 deletions(-) diff --git a/ansible/roles/emacs/files/elisp/base.el b/ansible/roles/emacs/files/elisp/base.el index 8033f27..f8f4af2 100644 --- a/ansible/roles/emacs/files/elisp/base.el +++ b/ansible/roles/emacs/files/elisp/base.el @@ -55,59 +55,15 @@ package-native-compile t ;; Typed text replaces selection delete-selection-mode t + ;; Confirm when opening a file that does not exist + confirm-nonexistent-file-or-buffer t ) ;; (setq-default fringes-outside-margins t) (pixel-scroll-precision-mode) - -;; ;; Emacs customizations -;; (setq-default -;; confirm-nonexistent-file-or-buffer t -;; save-interprogram-paste-before-kill t -;; mouse-yank-at-point t -;; visible-bell nil -;; ring-bell-function 'ignore -;; ;; http://ergoemacs.org/emacs/emacs_stop_cursor_enter_prompt.html -;; minibuffer-prompt-properties -;; '(read-only t point-entered minibuffer-avoid-prompt face minibuffer-prompt) - -;; ;; Disable non selected window highlight -;; cursor-in-non-selected-windows nil -;; highlight-nonselected-windows nil -;; ;; PATH -;; exec-path (append exec-path '("/usr/local/bin/")) -;; tab-width 4 -;; fringes-outside-margins t -;; x-select-enable-clipboard t -;; ispell-program-name "aspell" -;; browse-url-browser-function 'browse-url-generic -;; browse-url-generic-program "firefox-developer-edition" -;; ;; mouse-wheel-progressive-speed nil ;; Don't accelerate mouse wheel -;; ;; mouse-wheel-scroll-amount '(5 ((shift) . 3)) -;; ) - - -;; ;; Bookmarks -;; (setq -;; ;; persistent bookmarks -;; bookmark-save-flag t -;; bookmark-default-file (concat temp-dir "/bookmarks")) - -;; ;; Backups enabled, use nil to disable -;; (setq -;; history-length 1000 -;; backup-inhibited nil -;; make-backup-files nil -;; auto-save-default nil -;; auto-save-list-file-name (concat temp-dir "/autosave") -;; create-lockfiles nil -;; backup-directory-alist `((".*" . ,(concat temp-dir "/backup/"))) -;; auto-save-file-name-transforms `((".*" ,(concat temp-dir "/auto-save-list/") t))) - ;; Delete trailing whitespace before save (add-hook 'before-save-hook 'delete-trailing-whitespace) (provide 'base) -;;; base ends here diff --git a/ansible/roles/emacs/files/elisp/lang-rust.el b/ansible/roles/emacs/files/elisp/lang-rust.el index 01c7962..bc91069 100644 --- a/ansible/roles/emacs/files/elisp/lang-rust.el +++ b/ansible/roles/emacs/files/elisp/lang-rust.el @@ -81,7 +81,7 @@ ;; ;; ( ;; (rust-ts-mode . ((eglot-workspace-configuration -;; . (:rust-analyzer (:cargo (:noDefaultFeatures t :features "compare")))) +;; . (:rust-analyzer (:cargo (:noDefaultFeatures t :features ["compare" "tracing"])))) ;; )) ;; )