mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Compare commits
3 commits
42e67e873a
...
6cd0bda9c3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cd0bda9c3 | ||
|
|
cab634d3fc | ||
|
|
546a6ef9ce |
3 changed files with 12 additions and 9 deletions
|
|
@ -162,10 +162,7 @@
|
|||
* colorful compilation buffer
|
||||
#+begin_src emacs-lisp
|
||||
(require 'ansi-color)
|
||||
(defun colorize-compilation-buffer ()
|
||||
(let ((buffer-read-only nil))
|
||||
(ansi-color-apply-on-region (point-min) (point-max))))
|
||||
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)
|
||||
(add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)
|
||||
#+end_src
|
||||
* World time
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
|||
|
|
@ -190,7 +190,13 @@
|
|||
(projectile--run-project-cmd command projectile-compilation-cmd-map
|
||||
:show-prompt arg
|
||||
:prompt-prefix "Compile command: "
|
||||
:save-buffers t))))
|
||||
:save-buffers t)))
|
||||
|
||||
(defun projectile-back-to-root ()
|
||||
(interactive)
|
||||
(dired (projectile-project-root)))
|
||||
|
||||
(global-set-key (kbd "C-x C-d") #'projectile-back-to-root))
|
||||
#+end_src
|
||||
* Slime mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
|
|||
|
|
@ -50,12 +50,12 @@
|
|||
(:key ?a :maildir "/work/Done")))
|
||||
|
||||
(setq mu4e-bookmarks
|
||||
'(( :name "Unread messages"
|
||||
:query "flag:unread AND NOT maildir:/work/Other* AND NOT flag:trashed"
|
||||
:key ?u)
|
||||
( :name "Inbox"
|
||||
'(( :name "Inbox"
|
||||
:query "maildir:/work/INBOX AND NOT flag:trashed"
|
||||
:key ?i)
|
||||
( :name "Unread messages"
|
||||
:query "flag:unread AND NOT maildir:/work/Other* AND NOT flag:trashed"
|
||||
:key ?u)
|
||||
( :name "mailing_lists"
|
||||
:query "maildir:/work/INBOX/mailing_lists* AND NOT flag:trashed"
|
||||
:key ?m)
|
||||
|
|
|
|||
Loading…
Reference in a new issue