Emacs: Update TODOs and REVIEWs for Eshell, Evil, EXWM, mu4e

master
Pierre Neidhardt 2017-09-02 11:14:09 +01:00
parent 8f5b92d3dc
commit ab400a8bd1
4 changed files with 47 additions and 29 deletions

View File

@ -8,7 +8,7 @@
;;; TODO: Redirecting big output to file (e.g. /dev/null) is extremely slow.
;;; TODO: Cannot "C-c C-c" during a `sudo pacman -Syu`.
;;; REVIEW: Cannot "C-c C-c" during a `sudo pacman -Syu`. A bug was filed about that already.
;;; TODO: The buffer stutters when writing "in-place", e.g. pacman, git.
;;; It seems that it does not do it as much in `emacs -Q`.
@ -18,10 +18,23 @@
;;; http://www.gnu.org/software/emacs/manual/html_node/eshell/Built_002dins.html
;;; https://emacs.stackexchange.com/questions/5608/how-to-let-eshell-remember-sudo-password-for-two-minutes
;;; See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27411
;;; and #28323.
;;; REVIEW: Eshell/TRAMP's sudo does not work with aliases.
;;; See #28320.
;;; REVIEW: Eshell/Shell completion fails when PATH has a non-readable element.
;; See https://github.com/emacs-helm/helm/issues/1785
;; and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27300.
;;; See https://github.com/emacs-helm/helm/issues/1785
;;; and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27300.
;;; REVIEW: 40M+ output: Stack overflow in regexp matcher
;;; See bug#28329.
;;; REVIEW: Eshell mixes stderr and stdout it seems.
;;; Example:
;;; $ mu find --nocolor --sortfield=d --maxnum=500 flag:unread AND NOT flag:trashed >/dev/null
;;; mu: no matches for search expression (4)
;;; See #21605 "24.3; Eshell not using stderr".
(setq eshell-directory-name (concat emacs-cache-folder "eshell"))

View File

@ -1,9 +1,11 @@
;; Remap org-mode meta keys for convenience
;; - org-evil: Not as polished as of May 2017.
;; - evil-org: Depends on MELPA's org-mode, too big a dependency for me.
;; See https://github.com/Somelauw/evil-org-mode/blob/master/doc/keythemes.org for inspiration.
;;; Evil+Org
;;; Remap org-mode meta keys for convenience
;;; - org-evil: Not as polished as of May 2017.
;;; - evil-org: Depends on MELPA's org-mode, too big a dependency for me.
;;; See https://github.com/Somelauw/evil-org-mode/blob/master/doc/keythemes.org for inspiration.
;; TODO: Agenda keys are not right, M-j is shadowed.
;;; See https://github.com/Somelauw/evil-org-mode/issues/15.
(evil-define-key 'normal org-mode-map
(kbd "M-<return>") (lambda () (interactive) (evil-insert 1) (org-meta-return))

View File

@ -1,10 +1,12 @@
;;; EXWM
;; TODO: Athena+Xaw3d confuses xcape when binding Caps-lock to both L_Ctrl
;; escape, in which case it will procude <C-escape> in Emacs. In practice, it
;; means that `C-` keys will works but `<escape>` will need a fast double tap on
;; Caps Lock.
;; See https://github.com/ch11ng/exwm/issues/285.
;;; REVIEW: Athena+Xaw3d confuses xcape when binding Caps-lock to both L_Ctrl
;;; escape, in which case it will procude <C-escape> in Emacs. In practice, it
;;; means that `C-` keys will works but `<escape>` will need a fast double tap
;;; on Caps Lock.
;;;
;;; See https://github.com/ch11ng/exwm/issues/285
;;; and https://gitlab.com/interception/linux/plugins/caps2esc/issues/2.
;;; Rename buffer to window title.
(defun exwm-rename-buffer-to-title () (exwm-workspace-rename-buffer exwm-title))
@ -18,15 +20,11 @@
window-divider-default-right-width 2)
(window-divider-mode)
;; TODO: Add support for status bar (dzen2, xmobar, i3bar).
;; TODO: Resizing floating windows with mouse does not work on Ubuntu Trusty.
;; TODO: How to prevent sending keys to window? ":" is always passed to Qutebrowser. Issue with evil?
;; Maybe not. Just switch between char-mode and line-mode. Or check `exwm-input-line-mode-passthrough'.
;; https://emacs.stackexchange.com/questions/33326/how-do-i-cut-and-paste-effectively-between-applications-while-using-exwm
;; TODO: Spawn select programs in floating mode. (E.g. mpv, mupen64plus, mplayer, qemu, steam, .exe (wine).)
;;; REVIEW: Resizing floating windows with mouse does not work on Ubuntu Trusty.
;;; See https://github.com/ch11ng/exwm/issues/283.
;;; TODO: Spawn select programs in floating mode. (E.g. mpv, mupen64plus, mplayer, qemu, steam, .exe (wine).)
;;; System tray
;; TODO: Test and see if status bar is not a better solution.
(require 'exwm-systemtray)
(exwm-systemtray-enable)
(setq exwm-systemtray-height 16)
@ -46,7 +44,12 @@
(exwm-input-set-key (kbd "s-SPC") #'exwm-floating-toggle-floating)
(exwm-input-set-key (kbd "s-o") #'toggle-single-window)
(exwm-input-set-key (kbd "s-O") #'exwm-layout-toggle-fullscreen) ; TODO: Does not work with qutebrowser.
(exwm-input-set-key (kbd "s-O") #'exwm-layout-toggle-fullscreen)
;;; REVIEW: How to prevent sending keys to window? ":" is always passed to
;;; Qutebrowser. Issue with evil? Maybe not. Just switch between char-mode and
;;; line-mode. Or check `exwm-input-line-mode-passthrough'.
;;; https://emacs.stackexchange.com/questions/33326/how-do-i-cut-and-paste-effectively-between-applications-while-using-exwm
;;; See https://github.com/ch11ng/exwm/issues/298.
(require 'functions)
(exwm-input-set-key (kbd "s-\\") #'toggle-window-split)

View File

@ -1,14 +1,14 @@
;;; mu4e
;; TODO: Notifications don't work? Change `display-time-mail-icon' color in modeline.
;; TODO: Reply to all by default.
;; TODO: Is it possible to mbsync without attachments?
;; REVIEW: Use abbrevs in compose mode.
;; See https://github.com/djcb/mu/issues/1119.
;; REVIEW: Do not cite when replying: https://github.com/djcb/mu/issues/1110.
;; TODO: Face of `message-cited-text' does not work.
;; REVIEW: Handle attachments in attached e-mails.
;; See https://github.com/djcb/mu/issues/454#issuecomment-320616279.
;;; TODO: Reply to all by default.
;;; TODO: Is it possible to mbsync without attachments?
;;; REVIEW: Use abbrevs in compose mode.
;;; See https://github.com/djcb/mu/issues/1119.
;;; REVIEW: Do not cite when replying: https://github.com/djcb/mu/issues/1110.
;;; TODO: Face of `message-cited-text' does not work.
;;; REVIEW: Handle attachments in attached e-mails.
;;; See https://github.com/djcb/mu/issues/454#issuecomment-320616279.
;;; TODO: <tab> should go to next link in text e-mails too.
(when (require 'mu4e-maildirs-extension nil t)
(mu4e-maildirs-extension))