Emacs: Add various TODOs

master
Pierre Neidhardt 2017-07-28 08:12:25 +01:00
parent bb653b02d1
commit 53817749fb
6 changed files with 29 additions and 2 deletions

View File

@ -6,6 +6,10 @@
;;; modules, runs their hooks and concludes with `eshell-first-time-mode-hook'
;;; (for the first session only) and `eshell-mode-hook'.
;;; 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.
(setq eshell-directory-name (concat emacs-cache-folder "eshell"))
;;; Use native 'sudo', system sudo asks for password every time.

View File

@ -115,7 +115,7 @@
(add-hook 'post-command-hook 'evil-color-modeline)
(setq evil-mode-line-format nil)
;; Add defun text-object.
;; Add defun text-object. TODO: Does not work for "around".
;; https://github.com/emacs-evil/evil/issues/874
(evil-define-text-object evil-a-defun (count &optional beg end type)
"Select a defun."

View File

@ -1,5 +1,10 @@
;;; EXWM
;; TODO: Comment upstream that it works well with Athena+Xaw3d except for
;; Caps-lock when bound 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.
;;; Rename buffer to window title.
(defun exwm-rename-buffer-to-title () (exwm-workspace-rename-buffer exwm-title))
(add-hook 'exwm-update-title-hook 'exwm-rename-buffer-to-title)

View File

@ -1,5 +1,16 @@
;;; Helm
;; TODO: helm-ff should allow opening several marks externally, e.g. sxiv for
;; pics. See
;; https://github.com/emacs-helm/helm/wiki/Find-Files#open-files-externally
;; What about the default program? It currently defaults to ~/.mailcap, which is
;; not so customizable. Would ranger's rifle be useful here? See
;; https://github.com/emacs-helm/helm/issues/1796.
;; TODO: helm-find in big folders sometimes leads bad results, like exact match not appearing first. Better sorting?
;; TODO: Implement alternating-color multiline lists. See open issue.
;; TODO: Fix typos and formatting in documentation.
(when (require 'helm-descbinds nil t)
(helm-descbinds-mode))
@ -42,7 +53,7 @@
(setq-local cursor-type nil))))
(add-hook 'helm-minibuffer-set-up-hook 'helm-hide-minibuffer-maybe)
;;; Add bindings to `helm-apropos`.
;;; Add bindings to `helm-apropos`. TODO: Does not work most of the times.
;;; https://github.com/emacs-helm/helm/issues/1140
(defun helm-def-source--emacs-commands (&optional default)
(helm-build-in-buffer-source "Commands"

View File

@ -3,6 +3,7 @@
;; 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?
;; TODO: Use abbrevs in compose mode.
(when (require 'mu4e-maildirs-extension nil t)
(mu4e-maildirs-extension))

View File

@ -211,6 +211,12 @@
;;; Let Emacs auto-load/save sessions only when running the daemon.
;;; `server-running-p' is only useful once the daemon is started and cannot be
;;; used for initialization. We use `daemonp' instead.
;;; TODO: `desktop-kill' should not query the user in `kill-emacs-hook'.
;;; TODO: Desktop mode does not save window registers properly.
;;; See https://groups.google.com/forum/#!topic/gnu.emacs.help/64aO_O43530
;;; and https://www.reddit.com/r/emacs/comments/4q38s1/save_register_between_sessions/?st=j419vc7r&sh=2617ffb4
;;; and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27422
;;; and https://stackoverflow.com/questions/5830494/windows-configuration-to-registers#5830928.
(when (daemonp)
(setq history-length 250)
(setq desktop-dirname (concat emacs-cache-folder "desktop"))