General cleanup & refector; update TODO.org

This commit is contained in:
Henrik Lissner 2017-05-12 12:14:17 +02:00
parent 9cfdd9a413
commit 7fbaf2ced1
5 changed files with 23 additions and 11 deletions

View file

@ -5,7 +5,7 @@
+ [-] Work-in-progress + [-] Work-in-progress
+ [X] Complete + [X] Complete
** Planned [6/80] ** Planned [6/83]
+ [0/10] Potential plugins + [0/10] Potential plugins
+ [ ] [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]]: client for MS Language Server Protocol, keep an eye on this + [ ] [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]]: client for MS Language Server Protocol, keep an eye on this
+ [ ] lang/javascript: [[https://github.com/codesuki/add-node-modules-path][add-node-modules-path]] (adds node_modules to ~exec-path~) + [ ] lang/javascript: [[https://github.com/codesuki/add-node-modules-path][add-node-modules-path]] (adds node_modules to ~exec-path~)
@ -89,18 +89,27 @@
+ [ ] rss + [ ] rss
+ [ ] twitter + [ ] twitter
+ [ ] present + [ ] present
+ [ ] completion/ivy: flexible column width for ~+ivy/tasks~
+ [ ] Extend ~evil-escape~ to ~evil-multiedit-insert-state~
+ [ ] ui/doom (nav-flash): don't flash when activating evil-multiedit or in eshell/term buffers
+ [ ] Write ~describe-setting~ for ~def-setting!~ definitions. + [ ] Write ~describe-setting~ for ~def-setting!~ definitions.
+ [ ] lang/org: restore cursor to sane location after prepending/appending new table cells. + [ ] lang/org: fix janky cursor positioning when manipulating table cells
+ [ ] lang/org: don't move cursor when realigning tables when exiting insert state. + [ ] lang/org: don't move cursor when realigning tables
+ [ ] lang/org: typing certain characters and keys while in a table causes the cell to shrink (like smartparens pairs and keys not bound to self-insert-command) + [ ] lang/org: certain characters/keys, when typed in a table, cause the cell to shrink (smartparens pairs & non-self-insert-command, likely)
+ [ ] Fix invisible buffer-info in modeline for terminal Emacs + [ ] Fix invisible buffer-info segment in modeline for terminal Emacs
+ [ ] tools/upload: add ~+upload/open-remote-file~ command to open current file on the remote (with TRAMP) + [ ] tools/upload: add ~+upload/open-remote-file~ command to open current file on the remote (with TRAMP)
+ [ ] Make ~doom-visual-bell~ more flexible by basing it's bg color off a face + [ ] Generalize ~doom-visual-bell~ by basing its background off a face
** 2.0.2 [58/61] ** 2.0.2 [63/66]
+ [ ] Update screenshots + [ ] Update screenshots
+ [ ] send-to-REPL workflow: does it still work? (see ~:repl~ & ~+eval/repl-send-region~) + [ ] send-to-REPL workflow: does it still work? (see ~:repl~ & ~+eval/repl-send-region~)
+ [ ] Fix ~0/0~ displaying in modeline (caused by leftover anzu state) + [ ] Fix ~0/0~ displaying in modeline (caused by leftover anzu state)
+ [X] completion/ivy: restore ag searching (for compressed files)
Now ~:ag~, ~:rg~, ~:agcwd~ and ~:rgcwd~
+ [X] ~add-transient-hook!~: add support for appending
+ [X] lang/org: fix org-checkbox-statistics-(todo|done) not respecting underlying faces
+ [X] Make ~:cleanup~ support a BANG modifier (to span workspaces)
+ [X] Rewrote ~:mv~ and ~:rm~
+ [X] completion/ivy: fix ~+ivy:find-file~ -- loss of functionality with coerced literal searches (better to escape regex rather than pass -F to rg) + [X] completion/ivy: fix ~+ivy:find-file~ -- loss of functionality with coerced literal searches (better to escape regex rather than pass -F to rg)
+ [X] completion/ivy: refactor ~def-counsel-action!~ +into a setting (~def-setting!~)+ + [X] completion/ivy: refactor ~def-counsel-action!~ +into a setting (~def-setting!~)+
Refactored into ~ivy-do-action!~ macro instead Refactored into ~ivy-do-action!~ macro instead

View file

@ -153,6 +153,7 @@ See `doom-real-buffer-p' for what 'real' means."
(let* ((buffer (or buffer (current-buffer))) (let* ((buffer (or buffer (current-buffer)))
(buffer-win (get-buffer-window buffer)) (buffer-win (get-buffer-window buffer))
(only-buffer-window-p (= 1 (length (get-buffer-window-list buffer nil t))))) (only-buffer-window-p (= 1 (length (get-buffer-window-list buffer nil t)))))
;; deal with unsaved buffers
(when (and only-buffer-window-p (when (and only-buffer-window-p
(buffer-file-name buffer) (buffer-file-name buffer)
(buffer-modified-p buffer)) (buffer-modified-p buffer))
@ -161,10 +162,12 @@ See `doom-real-buffer-p' for what 'real' means."
(yes-or-no-p "Buffer is unsaved, save it?")) (yes-or-no-p "Buffer is unsaved, save it?"))
(save-buffer) (save-buffer)
(set-buffer-modified-p nil)))) (set-buffer-modified-p nil))))
;; deal with dedicated windows
(if (window-dedicated-p buffer-win) (if (window-dedicated-p buffer-win)
(unless (window--delete buffer-win t t) (unless (window--delete buffer-win t t)
(split-window buffer-win) (split-window buffer-win)
(window--delete buffer-win t t)) (window--delete buffer-win t t))
;; cycle to a real buffer
(doom--cycle-real-buffers -1) (doom--cycle-real-buffers -1)
(when buffer-win (when buffer-win
(unrecord-window-buffer buffer-win buffer)) (unrecord-window-buffer buffer-win buffer))

View file

@ -18,8 +18,7 @@ current window if omitted."
(declare (indent defun)) (declare (indent defun))
(unless (bufferp buffer) (unless (bufferp buffer)
(error "%s is not a valid buffer" buffer)) (error "%s is not a valid buffer" buffer))
(when (and plist (not (plist-member plist :align))) (setq plist (doom*shackle-always-align plist))
(plist-put plist :align t))
(shackle-display-buffer (shackle-display-buffer
buffer buffer
nil (or plist (shackle-match buffer)))) nil (or plist (shackle-match buffer))))

View file

@ -27,7 +27,8 @@
(defvar-local doom-popup-rules nil (defvar-local doom-popup-rules nil
"The shackle rule that caused this buffer to be recognized as a popup.") "The shackle rule that caused this buffer to be recognized as a popup.")
(defvar doom-popup-window-parameters '(:noesc :modeline :autokill :autoclose) (defvar doom-popup-window-parameters
'(:noesc :modeline :autokill :autoclose)
"A list of window parameters that are set (and cleared) when `doom-popup-mode "A list of window parameters that are set (and cleared) when `doom-popup-mode
is enabled/disabled.'") is enabled/disabled.'")

View file

@ -1,7 +1,7 @@
;;; ui/doom/config.el ;;; ui/doom/config.el
(defvar +doom-theme 'doom-one (defvar +doom-theme 'doom-one
"The color theme currently in use.") "The color theme to use.")
(defvar +doom-font (defvar +doom-font
(font-spec :family "Fira Mono" :size 12) (font-spec :family "Fira Mono" :size 12)