projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs][wip] add smex
[~bandali/configs]
/
init.org
diff --git
a/init.org
b/init.org
index
d3f3a64
..
8240b51
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-969,6
+969,19
@@
Recently opened files.
(setq recentf-max-saved-items 40))
#+end_src
(setq recentf-max-saved-items 40))
#+end_src
+*** smex
+
+#+begin_quote
+A smart M-x enhancement for Emacs.
+#+end_quote
+
+Mostly because =counsel= needs it to remember history.
+
+#+begin_src emacs-lisp
+(use-package smex
+ :defer t)
+#+end_src
+
*** [[https://github.com/abo-abo/swiper][Ivy]] (and friends)
#+begin_quote
*** [[https://github.com/abo-abo/swiper][Ivy]] (and friends)
#+begin_quote
@@
-1606,7
+1619,7
@@
instead.
("C-c l l" . hs-lint)))
#+end_src
("C-c l l" . hs-lint)))
#+end_src
-**
COMMENT Web dev
+**
Web
*** SGML and HTML
*** SGML and HTML
@@
-1738,7
+1751,7
@@
treemacs
#+begin_src emacs-lisp
(use-package geiser)
#+begin_src emacs-lisp
(use-package geiser)
-(use-
packag
e geiser-guile
+(use-
featur
e geiser-guile
:config
(setq geiser-guile-load-path "~/src/git/guix"))
#+end_src
:config
(setq geiser-guile-load-path "~/src/git/guix"))
#+end_src
@@
-1746,11
+1759,10
@@
treemacs
** COMMENT guix
#+begin_src emacs-lisp
** COMMENT guix
#+begin_src emacs-lisp
-(use-package guix
- :load-path "lib/guix/elisp")
+(use-package guix)
#+end_src
#+end_src
-*
COMMENT
Emacs enhancements
+* Emacs enhancements
:PROPERTIES:
:CUSTOM_ID: emacs-enhancements
:END:
:PROPERTIES:
:CUSTOM_ID: emacs-enhancements
:END:
@@
-1865,7
+1877,7
@@
Emacs package that displays available keybindings in popup
** [[https://github.com/bbatsov/crux][crux]]
#+begin_src emacs-lisp
** [[https://github.com/bbatsov/crux][crux]]
#+begin_src emacs-lisp
-(use-package crux
+(use-package crux
; results in Waiting for git... [2 times]
:defer 1
:bind (("C-c b k" . crux-kill-other-buffers)
("C-c d" . crux-duplicate-current-line-or-region)
:defer 1
:bind (("C-c b k" . crux-kill-other-buffers)
("C-c d" . crux-duplicate-current-line-or-region)
@@
-2103,7
+2115,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
("a" . mc/mark-all-like-this))))
#+end_src
("a" . mc/mark-all-like-this))))
#+end_src
-*
COMMENT
Email
+* Email
:PROPERTIES:
:CUSTOM_ID: email
:END:
:PROPERTIES:
:CUSTOM_ID: email
:END:
@@
-2122,7
+2134,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
mail-user-agent 'gnus-user-agent
read-mail-command 'gnus)
mail-user-agent 'gnus-user-agent
read-mail-command 'gnus)
-(use-
packag
e gnus
+(use-
featur
e gnus
:bind (("s-m" . gnus)
("s-M" . gnus-unplugged))
:init
:bind (("s-m" . gnus)
("s-M" . gnus-unplugged))
:init
@@
-2155,7
+2167,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
gnus-interactive-exit nil
gnus-gcc-mark-as-read t))
gnus-interactive-exit nil
gnus-gcc-mark-as-read t))
-(use-
packag
e gnus-art
+(use-
featur
e gnus-art
:config
(setq
gnus-visible-headers
:config
(setq
gnus-visible-headers
@@
-2184,7
+2196,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
("R" . gnus-article-wide-reply-with-original)
("M-L" . org-store-link)))
("R" . gnus-article-wide-reply-with-original)
("M-L" . org-store-link)))
-(use-
packag
e gnus-sum
+(use-
featur
e gnus-sum
:bind (:map gnus-summary-mode-map
:prefix-map a/gnus-summary-prefix-map
:prefix "v"
:bind (:map gnus-summary-mode-map
:prefix-map a/gnus-summary-prefix-map
:prefix "v"
@@
-2199,7
+2211,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
("M-L" . org-store-link))
:hook (gnus-summary-mode . a/no-mouse-autoselect-window))
("M-L" . org-store-link))
:hook (gnus-summary-mode . a/no-mouse-autoselect-window))
-(use-
packag
e gnus-msg
+(use-
featur
e gnus-msg
:config
(setq gnus-posting-styles
'((".*"
:config
(setq gnus-posting-styles
'((".*"
@@
-2216,19
+2228,19
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
(address "abandali@uwaterloo.ca")
(gcc "\"nnimap+uwaterloo:Sent Items\"")))))
(address "abandali@uwaterloo.ca")
(gcc "\"nnimap+uwaterloo:Sent Items\"")))))
-(use-
packag
e gnus-topic
+(use-
featur
e gnus-topic
:hook (gnus-group-mode . gnus-topic-mode))
:hook (gnus-group-mode . gnus-topic-mode))
-(use-
packag
e gnus-agent
+(use-
featur
e gnus-agent
:config
(setq gnus-agent-synchronize-flags 'ask)
:hook (gnus-group-mode . gnus-agent-mode))
:config
(setq gnus-agent-synchronize-flags 'ask)
:hook (gnus-group-mode . gnus-agent-mode))
-(use-
packag
e gnus-group
+(use-
featur
e gnus-group
:config
(setq gnus-permanently-visible-groups "\\((INBOX\\|gnu$\\)"))
:config
(setq gnus-permanently-visible-groups "\\((INBOX\\|gnu$\\)"))
-(use-
packag
e mm-decode
+(use-
featur
e mm-decode
:config
(setq mm-discouraged-alternatives '("text/html" "text/richtext")))
#+end_src
:config
(setq mm-discouraged-alternatives '("text/html" "text/richtext")))
#+end_src
@@
-2236,7
+2248,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
** sendmail
#+begin_src emacs-lisp
** sendmail
#+begin_src emacs-lisp
-(use-
packag
e sendmail
+(use-
featur
e sendmail
:config
(setq sendmail-program "/usr/bin/msmtp"
;; message-sendmail-extra-arguments '("-v" "-d")
:config
(setq sendmail-program "/usr/bin/msmtp"
;; message-sendmail-extra-arguments '("-v" "-d")
@@
-2247,7
+2259,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
** message
#+begin_src emacs-lisp
** message
#+begin_src emacs-lisp
-(use-
packag
e message
+(use-
featur
e message
:config
(defconst a/message-cite-style-format "On %Y-%m-%d %l:%M %p, %N wrote:")
(defconst message-cite-style-bandali
:config
(defconst a/message-cite-style-format "On %Y-%m-%d %l:%M %p, %N wrote:")
(defconst message-cite-style-bandali
@@
-2292,7
+2304,7
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
Convenient footnotes in =message-mode=.
#+begin_src emacs-lisp
Convenient footnotes in =message-mode=.
#+begin_src emacs-lisp
-(use-
packag
e footnote
+(use-
featur
e footnote
:after message
:bind
(:map message-mode-map
:after message
:bind
(:map message-mode-map
@@
-2322,7
+2334,7
@@
Convenient footnotes in =message-mode=.
(with-eval-after-load 'swiper
(add-to-list 'swiper-font-lock-exclude 'ebdb-mode t)))
(with-eval-after-load 'swiper
(add-to-list 'swiper-font-lock-exclude 'ebdb-mode t)))
-(use-
packag
e ebdb-com
+(use-
featur
e ebdb-com
:after ebdb)
;; (use-package ebdb-complete
:after ebdb)
;; (use-package ebdb-complete
@@
-2339,7
+2351,7
@@
Convenient footnotes in =message-mode=.
(add-to-list (make-local-variable 'company-backends)
'company-ebdb))))
(add-to-list (make-local-variable 'company-backends)
'company-ebdb))))
-(use-
packag
e ebdb-gnus
+(use-
featur
e ebdb-gnus
:after ebdb
:custom
(ebdb-gnus-window-configuration
:after ebdb
:custom
(ebdb-gnus-window-configuration
@@
-2350,7
+2362,7
@@
Convenient footnotes in =message-mode=.
(article 1.0)
(ebdb-gnus 0.3))))))
(article 1.0)
(ebdb-gnus 0.3))))))
-(use-
packag
e ebdb-mua
+(use-
featur
e ebdb-mua
:after ebdb
;; :custom (ebdb-mua-pop-up nil)
)
:after ebdb
;; :custom (ebdb-mua-pop-up nil)
)