You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package displays keyword entries from source code comments and Org files in the Magit status buffer. Activating an item jumps to it in its file. By default, it uses keywords from [[https://github.com/tarsius/hl-todo][hl-todo]], minus a few (like =NOTE=).
6
7
7
-
** Contents
8
+
* Contents
8
9
:PROPERTIES:
9
-
:TOC: siblings
10
+
:TOC: :include siblings :ignore this :depth 0
10
11
:END:
11
12
12
-
- [[#screenshots][Screenshots]]
13
-
- [[#installation][Installation]]
14
-
- [[#usage][Usage]]
15
-
- [[#changelog][Changelog]]
16
-
- [[#credits][Credits]]
13
+
:CONTENTS:
14
+
- [[#installation][Installation]]
15
+
- [[#usage][Usage]]
16
+
- [[#changelog][Changelog]]
17
+
- [[#credits][Credits]]
18
+
:END:
17
19
18
-
** Screenshots
20
+
* Screenshots
21
+
:PROPERTIES:
22
+
:TOC: :ignore (this)
23
+
:END:
19
24
20
25
[[screenshots/matrix.png]]
21
26
@@ -39,12 +44,12 @@ Items specific to the current branch (or =git diff=) can be displayed in a separ
39
44
40
45
[[screenshots/branch-list.png]]
41
46
42
-
** Installation
47
+
* Installation
43
48
:PROPERTIES:
44
-
:TOC: 0
49
+
:TOC: :ignore descendants
45
50
:END:
46
51
47
-
*** External scanner
52
+
** External scanner
48
53
49
54
One of the following external scanners is required:
50
55
@@ -54,11 +59,11 @@ One of the following external scanners is required:
54
59
55
60
Most Linux systems should have the latter two by default, but some non-standard systems may not. For example, on MacOS you may use [[https://brew.sh/][Homebrew]] to install =ripgrep=, or =git= with PCRE support, like: ~brew reinstall --with-pcre2 git~.
56
61
57
-
*** Emacs package
62
+
** Emacs package
58
63
59
64
If you installed from MELPA, you're done!
60
65
61
-
**** Manually
66
+
*** Manually
62
67
63
68
Install these required packages:
64
69
@@ -76,14 +81,21 @@ Then put this file in your =load-path=, and put this in your init file:
Activate =magit-todos-mode=. Then open a Magit status buffer, or run ~magit-todos-list~ to show a dedicated to-do list buffer.
85
97
86
-
*** Key bindings
98
+
** Key bindings
87
99
88
100
*In Magit status buffer:*
89
101
+ @@html:<kbd>@@j T@@html:</kbd>@@ :: Jump to the to-do list. If the section is empty (e.g. when using manual updates), it will scan for items.
@@ -96,7 +108,7 @@ Activate =magit-todos-mode=. Then open a Magit status buffer, or run ~magit-tod
96
108
+ @@html:<kbd>@@RET@@html:</kbd>@@ :: Show item at point, or open dedicated buffer if point is on top heading.
97
109
+ @@html:<kbd>@@SPC@@html:</kbd>@@ :: Peek at the item at point.
98
110
99
-
*** Commands
111
+
** Commands
100
112
101
113
+ =magit-todos-mode= :: Activate =magit-todos-mode=, which automatically inserts the to-do list in Magit status buffers.
102
114
+ =magit-todos-list= :: Display the to-do list in a separate buffer. This also works outside of git repos.
@@ -106,7 +118,7 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
106
118
+ =helm-magit-todos= :: Display the project to-do list with Helm.
107
119
+ =ivy-magit-todos= :: Display the project to-do list with Ivy.
108
120
109
-
*** Tips
121
+
** Tips
110
122
111
123
+ Customize settings in the =magit-todos= group.
112
124
+ Use dir-local variables to set per-repository settings. For example, to exclude files and directories from being scanned for to-dos in a repo:
@@ -117,19 +129,19 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
117
129
5. Now Emacs will remember that setting in that repository. (You may also want to commit the =.dir-locals.el= file to the repo.)
118
130
+ The ~magit-todos-list~ command also works outside of git repos.
119
131
120
-
**** TRAMP
132
+
*** TRAMP
121
133
:PROPERTIES:
122
134
:CUSTOM_ID: TRAMP
123
135
:END:
124
136
125
137
=magit-todos= attempts to work in remote repositories accessed via TRAMP. Note that if TRAMP can't find the scanner configured in =magit-todos-scanner=, you may need to use directory-local variables to either add the correct path to =tramp-remote-path= or choose a different scanner.
126
138
127
-
** Changelog
139
+
* Changelog
128
140
:PROPERTIES:
129
-
:TOC: 0
141
+
:TOC: :ignore descendants
130
142
:END:
131
143
132
-
*** 1.7-pre
144
+
** 1.7-pre
133
145
134
146
*Changed*
135
147
+ Improve behavior when scanner backend exits with an error. (Now an error is signaled and the command's output is shown.)
@@ -139,7 +151,7 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
139
151
+ Updated ~find|grep~ scanner for newer versions of GNU ~find~ that interpret some arguments differently. (Tested on v4.8.0.)
140
152
+ Prevent leading ~./~ in filenames when used with ~rg~ scanner. ([[https://github.com/alphapapa/magit-todos/pull/148][#148]]. Thanks to [[https://github.com/wentasah][Michal Sojka]] for reporting.)
141
153
142
-
*** 1.6
154
+
** 1.6
143
155
144
156
+ Emacs 26.1 or later is now required.
145
157
@@ -165,22 +177,22 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
165
177
+ Define jumper keys using a Transient suffix.
166
178
+ Use new git-testing function in Magit for remote directories. ([[https://github.com/alphapapa/magit-todos/pull/126][#126]]. Thanks to [[https://github.com/maxhollmann][Max Hollmann]].)
167
179
168
-
*** 1.5.3
180
+
** 1.5.3
169
181
170
182
*Fixes*
171
183
+ Remove face from indentation. (Thanks to [[https://github.com/Alexander-Miller][Alexander Miller]].)
172
184
173
-
*** 1.5.2
185
+
** 1.5.2
174
186
175
187
*Fixes*
176
188
+ Use =magit-todos-exclude-globs= in branch todo list.
177
189
178
-
*** 1.5.1
190
+
** 1.5.1
179
191
180
192
*Fixes*
181
193
+ Add insertion function to end of =magit-status-sections-hook=.
182
194
183
-
*** 1.5
195
+
** 1.5
184
196
185
197
*Added*
186
198
+ Support for remote repositories accessed via TRAMP. See [[#TRAMP][usage notes]].
@@ -195,24 +207,24 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
195
207
*Removed*
196
208
+ Option =magit-todos-branch-list-commit-ref=, replaced by option =magit-todos-branch-list-merge-base-ref=.
197
209
198
-
*** 1.4.3
210
+
** 1.4.3
199
211
200
212
*Fixed*
201
213
+ Don't use =--help= option when testing =git grep= command, because it can launch a Web browser on some configurations or platforms (see [[https://github.com/alphapapa/magit-todos/issues/43][#43]]).
202
214
+ Caching when branch diff list is displayed.
203
215
+ Commands =magit-section-forward= / =backward= sometimes skipped sections (see [[https://github.com/alphapapa/magit-todos/issues/66][#66]]).
204
216
205
-
*** 1.4.2
217
+
** 1.4.2
206
218
207
219
*Fixed*
208
220
+ Refreshing =magit-todos-list= buffer. ([[https://github.com/alphapapa/magit-todos/issues/92][#92]]. Thanks to [[https://github.com/filalex77][Oleksii Filonenko]] and [[https://github.com/hlissner][Henrik Lissner]] for reporting.)
209
221
210
-
*** 1.4.1
222
+
** 1.4.1
211
223
212
224
*Fixed*
213
225
+ Compiler warning.
214
226
215
-
*** 1.4
227
+
** 1.4
216
228
217
229
*Added*
218
230
+ Commands =helm-magit-todos= and =ivy-magit-todos=, which display items with Helm and Ivy. (Note that Helm and Ivy are not required, nor does this package depend on them; they are only used if present.)
@@ -226,15 +238,15 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
226
238
*Internal*
227
239
+ Add synchronous mode to scanner functions, which return results directly usable by other code.
228
240
229
-
*** 1.3
241
+
** 1.3
230
242
231
243
*Added*
232
244
+ Branch diff task list. See new options =magit-todos-branch-list= and =magit-todos-branch-list-commit-ref=, and command =magit-todos-branch-list-toggle=, bound to =b= with point on to-do list heading. ([[https://github.com/alphapapa/magit-todos/issues/30][#30]], [[https://github.com/alphapapa/magit-todos/issues/77][#77]], [[https://github.com/alphapapa/magit-todos/pull/82][#82]]. Thanks to [[https://github.com/itamarst][Itamar Turner-Trauring]] and [[https://github.com/arronmabrey][Arron Mabrey]] for the suggestion, and to [[https://github.com/smaret][Sébastien Maret]] for implementing the commit-ref option.)
233
245
234
246
*Internal*
235
247
+ Put newline in section headings. ([[https://github.com/alphapapa/magit-todos/pull/68][#68]]. Thanks to [[https://github.com/vermiculus][Sean Allred]].)
236
248
237
-
*** 1.2
249
+
** 1.2
238
250
239
251
*Added*
240
252
+ Allow ~magit-todos-list~ to work outside git repos.
@@ -251,49 +263,49 @@ Helm and Ivy are also supported. Note that the =helm= and =ivy= packages are no
251
263
*Removed*
252
264
+ Option ~magit-todos-require-colon~, replaced by ~magit-todos-keyword-suffix~.
253
265
254
-
*** 1.1.8
266
+
** 1.1.8
255
267
256
268
*Fixed*
257
269
+ Properly unbind key when mode is disabled. ([[https://github.com/alphapapa/magit-todos/pull/74][#74]]. Thanks to [[https://github.com/akirak][Akira Komamura]].)
258
270
+ Don't show message when key is already bound correctly. ([[https://github.com/alphapapa/magit-todos/pull/75][#75]]. Thanks to [[https://github.com/akirak][Akira Komamura]].)
259
271
260
-
*** 1.1.7
272
+
** 1.1.7
261
273
262
274
*Fixed*
263
275
+ Disable undo in hidden Org fontification buffer.
264
276
+ Expand top-level to-do list in ~magit-todos-list~ buffer.
265
277
266
-
*** 1.1.6
278
+
** 1.1.6
267
279
268
280
*Fixed*
269
281
+ Insert root section in ~magit-todos-list~ command. (Really fixes [[https://github.com/alphapapa/magit-todos/issues/55][#55]]. Thanks to [[https://github.com/tarsius][Jonas Bernoulli]].)
270
282
271
-
*** 1.1.5
283
+
** 1.1.5
272
284
273
285
*Fixed*
274
286
+ Hide process buffers. (Thanks to [[https://github.com/purcell][Steve Purcell]].)
0 commit comments