Continue minor restructuring of main init.el
Remove some more redundant or obsolete (or even wrong) package declarations. Also move some package declarations from the core configuration to more specialized sections; this is not completely done yet, however.
This commit is contained in:
parent
91866466c6
commit
491bcf5b26
42
init.el
42
init.el
|
@ -455,11 +455,6 @@
|
||||||
|
|
||||||
;; Individual package configuration from here on.
|
;; Individual package configuration from here on.
|
||||||
|
|
||||||
(use-package abbrev
|
|
||||||
:init (setq save-abbrevs 'silently
|
|
||||||
abbrev-file-name (expand-file-name "private/abbrev_defs"))
|
|
||||||
:diminish abbrev-mode)
|
|
||||||
|
|
||||||
(use-package appt
|
(use-package appt
|
||||||
:commands (appt-activate)
|
:commands (appt-activate)
|
||||||
:init (setq appt-display-mode-line nil))
|
:init (setq appt-display-mode-line nil))
|
||||||
|
@ -468,11 +463,6 @@
|
||||||
:init (setq auth-sources '("~/.authinfo.gpg")
|
:init (setq auth-sources '("~/.authinfo.gpg")
|
||||||
auth-source-save-behavior nil))
|
auth-source-save-behavior nil))
|
||||||
|
|
||||||
(use-package bookmark
|
|
||||||
:init (setq bookmark-default-file (expand-file-name "private/bookmarks"
|
|
||||||
emacs-d)
|
|
||||||
bookmark-menu-confirm-deletion t))
|
|
||||||
|
|
||||||
(use-package browser-url
|
(use-package browser-url
|
||||||
:init (setq browse-url-browser-function 'browse-url-generic
|
:init (setq browse-url-browser-function 'browse-url-generic
|
||||||
browse-url-generic-program "firefox"))
|
browse-url-generic-program "firefox"))
|
||||||
|
@ -521,9 +511,6 @@
|
||||||
diary-show-holidays-flag t
|
diary-show-holidays-flag t
|
||||||
calendar-view-holidays-initially-flag nil))
|
calendar-view-holidays-initially-flag nil))
|
||||||
|
|
||||||
(use-package dictionary
|
|
||||||
:init (setq dictionary-server "dict.org"))
|
|
||||||
|
|
||||||
(use-package eww
|
(use-package eww
|
||||||
:init (setq eww-bookmarks-directory
|
:init (setq eww-bookmarks-directory
|
||||||
(expand-file-name "private/" emacs-d)))
|
(expand-file-name "private/" emacs-d)))
|
||||||
|
@ -550,13 +537,6 @@
|
||||||
(use-package image
|
(use-package image
|
||||||
:init (setq image-use-external-converter t))
|
:init (setq image-use-external-converter t))
|
||||||
|
|
||||||
(use-package isearch
|
|
||||||
:init (setq isearch-allow-scroll t
|
|
||||||
search-whitespace-regexp "[ \t\r\n]+"))
|
|
||||||
|
|
||||||
(use-package ispell
|
|
||||||
:commands (ispell-change-directory))
|
|
||||||
|
|
||||||
(use-package mailcap
|
(use-package mailcap
|
||||||
:config (progn
|
:config (progn
|
||||||
;; Remove doc-view so pdf will open with default viewer
|
;; Remove doc-view so pdf will open with default viewer
|
||||||
|
@ -568,9 +548,6 @@
|
||||||
(test eq window-system 'x))
|
(test eq window-system 'x))
|
||||||
(cdr (assoc "application" mailcap-mime-data))))))
|
(cdr (assoc "application" mailcap-mime-data))))))
|
||||||
|
|
||||||
(use-package misc
|
|
||||||
:commands (zap-up-to-char zap-to-char))
|
|
||||||
|
|
||||||
(use-package project
|
(use-package project
|
||||||
:init (setq project-switch-commands 'project-dired))
|
:init (setq project-switch-commands 'project-dired))
|
||||||
|
|
||||||
|
@ -732,6 +709,14 @@
|
||||||
|
|
||||||
;; * Text editing
|
;; * Text editing
|
||||||
|
|
||||||
|
(use-package abbrev
|
||||||
|
:init (setq save-abbrevs 'silently
|
||||||
|
abbrev-file-name (expand-file-name "private/abbrev_defs"))
|
||||||
|
:diminish abbrev-mode)
|
||||||
|
|
||||||
|
(use-package dictionary
|
||||||
|
:init (setq dictionary-server "dict.org"))
|
||||||
|
|
||||||
(use-package electric
|
(use-package electric
|
||||||
:commands (electric-quote-mode))
|
:commands (electric-quote-mode))
|
||||||
|
|
||||||
|
@ -2493,6 +2478,11 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
bm-wrap-immediately t
|
bm-wrap-immediately t
|
||||||
bm-wrap-search t))
|
bm-wrap-search t))
|
||||||
|
|
||||||
|
(use-package bookmark
|
||||||
|
:init (setq bookmark-default-file (expand-file-name "private/bookmarks"
|
||||||
|
emacs-d)
|
||||||
|
bookmark-menu-confirm-deletion t))
|
||||||
|
|
||||||
(use-package dumb-jump
|
(use-package dumb-jump
|
||||||
:commands (dumb-jump-xref-activate)
|
:commands (dumb-jump-xref-activate)
|
||||||
:init (progn
|
:init (progn
|
||||||
|
@ -2511,6 +2501,10 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
imenu-use-popup-menu nil
|
imenu-use-popup-menu nil
|
||||||
imenu-eager-completion-buffer t))
|
imenu-eager-completion-buffer t))
|
||||||
|
|
||||||
|
(use-package isearch
|
||||||
|
:init (setq isearch-allow-scroll t
|
||||||
|
search-whitespace-regexp "[ \t\r\n]+"))
|
||||||
|
|
||||||
(use-package goto-last-change
|
(use-package goto-last-change
|
||||||
:commands goto-last-change)
|
:commands goto-last-change)
|
||||||
|
|
||||||
|
@ -3065,7 +3059,7 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
#'(lambda () (setq ispell-parser 'tex)))))
|
#'(lambda () (setq ispell-parser 'tex)))))
|
||||||
|
|
||||||
|
|
||||||
;; * Various Mode Configurations
|
;; * Other Mode Configurations
|
||||||
|
|
||||||
;; These are external packages that are not essential, but still nice to have.
|
;; These are external packages that are not essential, but still nice to have.
|
||||||
;; They provide optional functionality and may redefine builtin commands.
|
;; They provide optional functionality and may redefine builtin commands.
|
||||||
|
|
Loading…
Reference in New Issue