Emacs: Rename 'smiext' and comment on EMMS nil-resume

'smiext' should be removed at some point.
master
Pierre Neidhardt 2017-07-19 16:59:36 +01:00
parent 07ce33a9cb
commit 5dbc8c5822
3 changed files with 36 additions and 1 deletions

View File

@ -83,6 +83,40 @@
(when (require 'company nil t)
(setq company-idle-delay nil))
;;; Contacts
(nconc package-selected-packages '(bbdb))
(when (require 'bbdb nil t)
;; file where things will be saved
(setq bbdb-file (concat emacs-cache-folder "bbdb"))
;; load bbdb
;; (add-to-list 'load-path (concat emacsd-vendor-dir "/bbdb"))
;; (require 'bbdb-loaddefs)
;; (require 'bbdb)
;; initialization
(bbdb-initialize 'mu4e 'gnus 'message 'anniv)
(bbdb-mua-auto-update-init 'mu4e 'gnus 'message 'anniv) ; TODO: Test anniv, gnus, message.
;; TODO: Import from abook. See https://www.emacswiki.org/emacs/BbdbImporters#toc10.
(setq
bbdb-pop-up-window-size 10
;; What do we do when invoking bbdb interactively
bbdb-mua-update-interactive-p '(query . create)
;; Make sure we look at every address in a message and not only the first one.
bbdb-message-all-addresses t)
;; use ; on a message to invoke bbdb interactively
;; (add-hook
;; 'gnus-summary-mode-hook
;; (lambda ()
;; (define-key gnus-summary-mode-map (kbd ";") 'bbdb-mua-edit-field)))
;;; This is for non interactive bbdb invocation, but it was a bit too much
;; (setq bbdb-update-records-p 'query)
)
;;; Debbugs
(nconc package-selected-packages '(debbugs))
@ -131,7 +165,7 @@
(when (require 'helm-config nil t) (require 'init-helm))
;;; Indentation engine fix.
(require 'smiext "init-smiext")
;; (require 'smiext "init-smiext")
;;; Indentation style guessing.
;; (nconc 'package-selected-packages '(dtrt-indent))

View File

@ -128,6 +128,7 @@ will always use the same cover per folder."
;;; Resume on restart.
;;; We don't use bookmarks as that could interfere with user's ones.
;;; TODO: Don't resume if there was no track.
(with-eval-after-load 'desktop
(add-to-list 'desktop-globals-to-save 'emms-playing-time)
(let ((time emms-playing-time))