From 14bd63980f1a70d007f2fa8476892870fb4199db Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 28 Sep 2019 16:02:35 -0400 Subject: [PATCH] emacs: update packages, fix indentation, set dired-dwim-target --- .emacs.d/init.el | 71 ++++++++++++++------------- .emacs.d/straight/versions/default.el | 12 ++--- 2 files changed, 42 insertions(+), 41 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f58d46d..eb739a4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1128,7 +1128,8 @@ This function is intended for use with `ivy-ignore-buffers'." (use-feature dired :config - (setq dired-listing-switches "-alh" + (setq dired-dwim-target t + dired-listing-switches "-alh" ls-lisp-use-insert-directory-program nil) ;; easily diff 2 marked files @@ -2010,41 +2011,41 @@ This function is intended for use with `ivy-ignore-buffers'." gnus-select-method '(nnnil "") gnus-secondary-select-methods '((nnimap "shemshak" - (nnimap-stream plain) - (nnimap-address "127.0.0.1") - (nnimap-server-port 143) - (nnimap-authenticator plain) - (nnimap-user "amin@shemshak.local")) + (nnimap-stream plain) + (nnimap-address "127.0.0.1") + (nnimap-server-port 143) + (nnimap-authenticator plain) + (nnimap-user "amin@shemshak.local")) (nnimap "gnu" - (nnimap-stream plain) - (nnimap-address "127.0.0.1") - (nnimap-server-port 143) - (nnimap-authenticator plain) - (nnimap-user "bandali@gnu.local") - (nnimap-inbox "INBOX") - (nnimap-split-methods 'nnimap-split-fancy) - (nnimap-split-fancy (| - ;; (: gnus-registry-split-fancy-with-parent) - ;; (: gnus-group-split-fancy "INBOX" t "INBOX") - ;; gnu - (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1") - ;; *.lists.sr.ht, omitting one dot if present - ;; add more \\.?\\([^.]*\\) if needed - (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3") - ;; webmasters - (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters") - ;; other - (list ".*atreus.freelists.org" "l.atreus") - (list ".*deepspec.lists.cs.princeton.edu" "l.deepspec") - ;; (list ".*haskell-art.we.lurk.org" "l.haskell.art") ;d - (list ".*haskell-cafe.haskell.org" "l.haskell-cafe") - ;; (list ".*notmuch.notmuchmail.org" "l.notmuch") ;u - ;; (list ".*dev.lists.parabola.nu" "l.parabola-dev") ;u - ;; ---------------------------------- - ;; legend: (u)nsubscribed | (d)ead - ;; ---------------------------------- - ;; otherwise, leave mail in INBOX - "INBOX"))) + (nnimap-stream plain) + (nnimap-address "127.0.0.1") + (nnimap-server-port 143) + (nnimap-authenticator plain) + (nnimap-user "bandali@gnu.local") + (nnimap-inbox "INBOX") + (nnimap-split-methods 'nnimap-split-fancy) + (nnimap-split-fancy (| + ;; (: gnus-registry-split-fancy-with-parent) + ;; (: gnus-group-split-fancy "INBOX" t "INBOX") + ;; gnu + (list ".*<\\(.*\\)\\.\\(non\\)?gnu\\.org>.*" "l.\\1") + ;; *.lists.sr.ht, omitting one dot if present + ;; add more \\.?\\([^.]*\\) if needed + (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3") + ;; webmasters + (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters") + ;; other + (list ".*atreus.freelists.org" "l.atreus") + (list ".*deepspec.lists.cs.princeton.edu" "l.deepspec") + ;; (list ".*haskell-art.we.lurk.org" "l.haskell.art") ;d + (list ".*haskell-cafe.haskell.org" "l.haskell-cafe") + ;; (list ".*notmuch.notmuchmail.org" "l.notmuch") ;u + ;; (list ".*dev.lists.parabola.nu" "l.parabola-dev") ;u + ;; ---------------------------------- + ;; legend: (u)nsubscribed | (d)ead + ;; ---------------------------------- + ;; otherwise, leave mail in INBOX + "INBOX"))) (nnimap "uw" (nnimap-stream plain) (nnimap-address "127.0.0.1") diff --git a/.emacs.d/straight/versions/default.el b/.emacs.d/straight/versions/default.el index 46eceb3..0a800d6 100644 --- a/.emacs.d/straight/versions/default.el +++ b/.emacs.d/straight/versions/default.el @@ -32,7 +32,7 @@ ("exwm-edit" . "961c0f3ea45766b888c73d7353da13d329538034") ("f.el" . "8191672377816a1975414cc1f116fd3b94b30bd0") ("flycheck" . "e5d690c1ec8afc98250c76676fcbce5af4d82831") - ("forge" . "b80e0988cc15d3f7e5754c05fc3ac9414cd97947") + ("forge" . "d7af5128e2150e7d2db67fba2dde7157d15083a0") ("geiser" . "f76340bd11dc6eb5cf6c22cb5f39e76d52b15d66") ("george-mode" . "e377ef5bd21783046fc5d02dd4fdc695e9baccc7") ("ghub" . "7d59937d7782d0062216130a4d059b45e8396f82") @@ -40,7 +40,7 @@ ("gnu-elpa-mirror" . "01001b660cd3677228e25a6f544d579b56845c37") ("go-mode.el" . "2a1584f06f95792f2c5a84c523bccaafbc5dbbab") ("guix.el" . "24918011d2f1a78d63f39bf0c462b7dab190629a") - ("helm" . "847879c631dd9b5b59a34461cca6b297f7843a65") + ("helm" . "dccd9eda9a63f08c5cce2dc7c22d724a66b7912e") ("helm-bibtex" . "5a26b35c3fa223d4c74262137f34bb2f325c4411") ("helpful" . "e9e958a5643619d0e32b9934bf4e9195c57cb71f") ("hl-todo" . "d7673363ef318a417adc28e36cafb78d01a671af") @@ -50,10 +50,10 @@ ("let-alist" . "57561d7d9267da48e8b7ab1f3bd45c9d05951289") ("log4e" . "c69424e407be0d9d0e54b427d8b18b1ac5a607e2") ("loop.el" . "e22807f83a0890dc8a904c51ee0742c34efccc6c") - ("magit" . "03df8596dcc7945f689528bb4dae6dd50bf7dc40") + ("magit" . "3add5310ba98b74bb3e7fb82dd259713a0c6606c") ("magit-popup" . "4250c3a606011e3ff2477e3b5bbde2b493f3c85c") ("markdown-mode" . "f3c54e34cc5228001af36a5301883325319f21d4") - ("melpa" . "ba06c1a7b656a2c808795b602452eb67cc3847de") + ("melpa" . "c9747d42331eae20744f0bf4821e82a7832dbdc7") ("message-x" . "5524de7bbfdd8749c110f48de5afb024d9f83133") ("minions" . "ca6a3e77ddbd19cdf363ea71ba357096395a5de5") ("moody" . "ac17d739075a571a086756fcaed482814888bf5c") @@ -78,11 +78,11 @@ ("shrink-path.el" . "c14882c8599aec79a6e8ef2d06454254bb3e1e41") ("smex" . "55aaebe3d793c2c990b39a302eb26c184281c42c") ("soap-client" . "672ab23ffca9d29450c9509e4e365eb67517a0ac") - ("straight.el" . "c870fca59bda58d00df3b2c4819b199f45ec394e") + ("straight.el" . "388bf37f30f0934c8ef1b52edfd65875e945da21") ("swiper" . "79333e9edfee38ec3b367c33711a68bdf7783259") ("switch-buffer-functions-el" . "b8d8e01e21ae8c8c84234dddeb3cc8250814f7ba") ("tablist" . "8079801527da1f596bc942162026328d7bdf6ad9") - ("transient" . "7bf97594a5ec1b9a682ef5a1537a6b0ecc6d9dfb") + ("transient" . "89e6941a8527e43302833778b3ff45ffb9af6847") ("treepy.el" . "b40e6b09eb9be45da67b8c9e4990a5a0d7a2a09d") ("typoel" . "9dad93b6f367f02f52c8d9bf15d446d922cec294") ("unkillable-scratch" . "b24c2a760529833f230c14cb02ff6e7ec92288ab") -- 2.20.1