Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Typo #74

Merged
merged 1 commit into from
May 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,28 @@ Activate =magit-todos-mode=. Then open a Magit status buffer, or run ~magit-tod
:TOC: 0
:END:

*** 1.2-pre

*Added*
+ Allow ~magit-todos-list~ to work outside git repos.
+ Option ~magit-todos-keyword-suffix~ replaces ~magit-todos-require-colon~, allowing for common and custom suffixes after item keywords (e.g. to match items like =TODO(user):=). (Fixes [[https://github.com/alphapapa/magit-todos/issues/56][#56]]. Thanks to [[https://github.com/thiderman][Lowe Thiderman]] for suggesting.)
+ Optionally group and sort by item suffixes (e.g. handy when suffixes contain usernames).
+ Bind @@html:<kbd>@@RET@@html:</kbd>@@ on top-level =TODOs= section heading to ~magit-todos-list~ command.

*Fixed*
+ Don't fontify section item counts. (Thanks to [[https://github.com/m-cat][Marcin Swieczkowski]].)

*Worked Around*
+ Issue in =async= regarding deleted buffers/processes. This is not an ideal solution, but it solves the problem for now.

*Removed*
+ Option ~magit-todos-require-colon~, replaced by ~magit-todos-keyword-suffix~.

*** 1.1.8

*Fixed*
+ Properly unbind key when mode is disabled. ([[https://github.com/alphapapa/magit-todos/pull/74][#74]]. Thanks to [[https://github.com/akirak][Akira Komamura]].)

*** 1.1.7

*Fixed*
Expand Down
4 changes: 2 additions & 2 deletions magit-todos.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; Author: Adam Porter <[email protected]>
;; URL: http://github.com/alphapapa/magit-todos
;; Version: 1.1.7
;; Version: 1.1.8-pre
;; Package-Requires: ((emacs "25.2") (async "1.9.2") (dash "2.13.0") (f "0.17.2") (hl-todo "1.9.0") (magit "2.13.0") (pcre2el "1.8") (s "1.12.0"))
;; Keywords: magit, vc

Expand Down Expand Up @@ -339,7 +339,7 @@ used."
'append)
(add-hook 'magit-status-mode-hook #'magit-todos--add-to-status-buffer-kill-hook 'append))
;; Disable mode
(when (equal (lookup-key magit-status-mode-map "jT") #'magit-jump-to-todos)
(when (equal (lookup-key magit-status-mode-map "jT") #'magit-todos-jump-to-todos)
(define-key magit-status-mode-map "jT" nil))
(remove-hook 'magit-status-sections-hook #'magit-todos--insert-todos)
(remove-hook 'magit-status-mode-hook #'magit-todos--add-to-status-buffer-kill-hook)))
Expand Down