| | | |
Offset 1, 14 lines modified | Offset 1, 14 lines modified |
1 | <?xml·version="1.0"·encoding="utf-8"?> | 1 | <?xml·version="1.0"·encoding="utf-8"?> |
2 | <!DOCTYPE·html | 2 | <!DOCTYPE·html |
3 | ··PUBLIC·'-//W3C//DTD·XHTML·1.0·Strict//EN' | 3 | ··PUBLIC·'-//W3C//DTD·XHTML·1.0·Strict//EN' |
4 | ··'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> | 4 | ··'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
5 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en"·xml:lang="en"> | 5 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en"·xml:lang="en"> |
6 | ··<head> | 6 | ··<head> |
7 | ····<!--·2024-01-13·Sat·21:21·--> | 7 | ····<!--·2024-01-13·Sat·21:27·--> |
8 | ····<meta·http-equiv="Content-Type"·content="text/html;charset=utf-8"/> | 8 | ····<meta·http-equiv="Content-Type"·content="text/html;charset=utf-8"/> |
9 | ····<meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 9 | ····<meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
10 | ····<title>Embark:·Emacs·Mini-Buffer·Actions·Rooted·in·Keymaps</title> | 10 | ····<title>Embark:·Emacs·Mini-Buffer·Actions·Rooted·in·Keymaps</title> |
11 | ····<meta·name="author"·content="Omar·AntolÃn·Camarena"/> | 11 | ····<meta·name="author"·content="Omar·AntolÃn·Camarena"/> |
12 | ····<meta·name="generator"·content="Org·Mode"/> | 12 | ····<meta·name="generator"·content="Org·Mode"/> |
13 | ····<style>#content·{·max-width:·60em;·margin:·auto;·} | 13 | ····<style>#content·{·max-width:·60em;·margin:·auto;·} |
14 | ··.title··{·text-align:·center; | 14 | ··.title··{·text-align:·center; |
Offset 197, 110 lines modified | Offset 197, 110 lines modified |
197 | ····<div·id="content"·class="content"> | 197 | ····<div·id="content"·class="content"> |
198 | ······<h1·class="title">Embark:·Emacs·Mini-Buffer·Actions·Rooted·in·Keymaps</h1> | 198 | ······<h1·class="title">Embark:·Emacs·Mini-Buffer·Actions·Rooted·in·Keymaps</h1> |
199 | ······<div·id="table-of-contents"·role="doc-toc"> | 199 | ······<div·id="table-of-contents"·role="doc-toc"> |
200 | ········<h2>Table·of·Contents</h2> | 200 | ········<h2>Table·of·Contents</h2> |
201 | ········<div·id="text-table-of-contents"·role="doc-toc"> | 201 | ········<div·id="text-table-of-contents"·role="doc-toc"> |
202 | ··········<ul> | 202 | ··········<ul> |
203 | ············<li> | 203 | ············<li> |
204 | ··············<a·href="#org5e52d50">1.·Overview</a> | 204 | ··············<a·href="#orgfe41240">1.·Overview</a> |
205 | ··············<ul> | 205 | ··············<ul> |
206 | ················<li> | 206 | ················<li> |
207 | ··················<a·href="#orgef40174">1.1.·Acting·on·targets</a> | 207 | ··················<a·href="#org6f1f447">1.1.·Acting·on·targets</a> |
208 | ················</li> | 208 | ················</li> |
209 | ················<li> | 209 | ················<li> |
210 | ··················<a·href="#org681d3f6">1.2.·The·default·action·on·a·target</a> | 210 | ··················<a·href="#org37c3887">1.2.·The·default·action·on·a·target</a> |
211 | ················</li> | 211 | ················</li> |
212 | ················<li> | 212 | ················<li> |
213 | ··················<a·href="#org652a728">1.3.·Working·with·sets·of·possible·targets</a> | 213 | ··················<a·href="#org3e2aa2f">1.3.·Working·with·sets·of·possible·targets</a> |
214 | ··················<ul> | 214 | ··················<ul> |
215 | ····················<li> | 215 | ····················<li> |
216 | ······················<a·href="#org4a442d3"> | 216 | ······················<a·href="#org55cc444"> |
217 | ························1.3.1. | 217 | ························1.3.1. |
218 | ························<code>embark-live</code> | 218 | ························<code>embark-live</code> |
219 | ························a·live-updating·variant·of | 219 | ························a·live-updating·variant·of |
220 | ························<code>embark-collect</code> | 220 | ························<code>embark-collect</code> |
221 | ······················</a> | 221 | ······················</a> |
222 | ····················</li> | 222 | ····················</li> |
223 | ··················</ul> | 223 | ··················</ul> |
224 | ················</li> | 224 | ················</li> |
225 | ················<li> | 225 | ················<li> |
226 | ··················<a·href="#org88a7f1d">1.4.·Switching·to·a·different·command·without·losing·what·you've·typed</a> | 226 | ··················<a·href="#org2c73412">1.4.·Switching·to·a·different·command·without·losing·what·you've·typed</a> |
227 | ················</li> | 227 | ················</li> |
228 | ··············</ul> | 228 | ··············</ul> |
229 | ············</li> | 229 | ············</li> |
230 | ············<li> | 230 | ············<li> |
231 | ··············<a·href="#org8dc973e">2.·Quick·start</a> | 231 | ··············<a·href="#orgb97da87">2.·Quick·start</a> |
232 | ············</li> | 232 | ············</li> |
233 | ············<li> | 233 | ············<li> |
234 | ··············<a·href="#orgcb77e4e">3.·Advanced·configuration</a> | 234 | ··············<a·href="#orgd6a0c4f">3.·Advanced·configuration</a> |
235 | ··············<ul> | 235 | ··············<ul> |
236 | ················<li> | 236 | ················<li> |
237 | ··················<a·href="#org9d2609a">3.1.·Showing·information·about·available·targets·and·actions</a> | 237 | ··················<a·href="#orgbce7425">3.1.·Showing·information·about·available·targets·and·actions</a> |
238 | ················</li> | 238 | ················</li> |
239 | ················<li> | 239 | ················<li> |
240 | ··················<a·href="#org7f7dbb6">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> | 240 | ··················<a·href="#orgaa3bca0">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> |
241 | ················</li> | 241 | ················</li> |
242 | ················<li> | 242 | ················<li> |
243 | ··················<a·href="#orgb6f4274">3.3.·Quitting·the·minibuffer·after·an·action</a> | 243 | ··················<a·href="#org5e29047">3.3.·Quitting·the·minibuffer·after·an·action</a> |
244 | ················</li> | 244 | ················</li> |
245 | ················<li> | 245 | ················<li> |
246 | ··················<a·href="#orgbaf4195">3.4.·Running·some·setup·after·injecting·the·target</a> | 246 | ··················<a·href="#orgf8dcaa8">3.4.·Running·some·setup·after·injecting·the·target</a> |
247 | ················</li> | 247 | ················</li> |
248 | ················<li> | 248 | ················<li> |
249 | ··················<a·href="#org80851fe">3.5.·Running·hooks·before,·after·or·around·an·action</a> | 249 | ··················<a·href="#org2f29b6d">3.5.·Running·hooks·before,·after·or·around·an·action</a> |
250 | ················</li> | 250 | ················</li> |
251 | ················<li> | 251 | ················<li> |
252 | ··················<a·href="#org720e2c7">3.6.·Creating·your·own·keymaps</a> | 252 | ··················<a·href="#orgc7b9e05">3.6.·Creating·your·own·keymaps</a> |
253 | ················</li> | 253 | ················</li> |
254 | ················<li> | 254 | ················<li> |
255 | ··················<a·href="#orgb25a3e6">3.7.·Defining·actions·for·new·categories·of·targets</a> | 255 | ··················<a·href="#orge2169eb">3.7.·Defining·actions·for·new·categories·of·targets</a> |
256 | ··················<ul> | 256 | ··················<ul> |
257 | ····················<li> | 257 | ····················<li> |
258 | ······················<a·href="#org07de663">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> | 258 | ······················<a·href="#org934121c">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> |
259 | ····················</li> | 259 | ····················</li> |
260 | ····················<li> | 260 | ····················<li> |
261 | ······················<a·href="#org33b7fc3">3.7.2.·New·target·example·in·regular·buffers·-·short·Wikipedia·links</a> | 261 | ······················<a·href="#org665b693">3.7.2.·New·target·example·in·regular·buffers·-·short·Wikipedia·links</a> |
262 | ····················</li> | 262 | ····················</li> |
263 | ··················</ul> | 263 | ··················</ul> |
264 | ················</li> | 264 | ················</li> |
265 | ··············</ul> | 265 | ··············</ul> |
266 | ············</li> | 266 | ············</li> |
267 | ············<li> | 267 | ············<li> |
268 | ··············<a·href="#orgd0bd450">4.·How·does·Embark·call·the·actions?</a> | 268 | ··············<a·href="#orgfc5ba06">4.·How·does·Embark·call·the·actions?</a> |
269 | ··············<ul> | 269 | ··············<ul> |
270 | ················<li> | 270 | ················<li> |
271 | ··················<a·href="#org6848772">4.1.·Non-interactive·functions·as·actions</a> | 271 | ··················<a·href="#org6849bdf">4.1.·Non-interactive·functions·as·actions</a> |
272 | ················</li> | 272 | ················</li> |
273 | ··············</ul> | 273 | ··············</ul> |
274 | ············</li> | 274 | ············</li> |
275 | ············<li> | 275 | ············<li> |
276 | ··············<a·href="#org46ac36f">5.·Embark,·Marginalia·and·Consult</a> | 276 | ··············<a·href="#orgbfe149f">5.·Embark,·Marginalia·and·Consult</a> |
277 | ··············<ul> | 277 | ··············<ul> |
278 | ················<li> | 278 | ················<li> |
279 | ··················<a·href="#org9658c21">5.1.·Marginalia</a> | 279 | ··················<a·href="#org279d9ee">5.1.·Marginalia</a> |
280 | ················</li> | 280 | ················</li> |
281 | ················<li> | 281 | ················<li> |
282 | ··················<a·href="#org6f0cc27">5.2.·Consult</a> | 282 | ··················<a·href="#orgfe69f0c">5.2.·Consult</a> |
283 | ················</li> | 283 | ················</li> |
284 | ··············</ul> | 284 | ··············</ul> |
285 | ············</li> | 285 | ············</li> |
286 | ············<li> | 286 | ············<li> |
287 | ··············<a·href="#org0acdcda">6.·Resources</a> | 287 | ··············<a·href="#org8529b16">6.·Resources</a> |
288 | ············</li> | 288 | ············</li> |
289 | ············<li> | 289 | ············<li> |
290 | ··············<a·href="#orgccd1490">7.·Contributions</a> | 290 | ··············<a·href="#org5431fb7">7.·Contributions</a> |
291 | ············</li> | 291 | ············</li> |
292 | ············<li> | 292 | ············<li> |
293 | ··············<a·href="#orgdac37ca">8.·Acknowledgments</a> | 293 | ··············<a·href="#org2bc2d92">8.·Acknowledgments</a> |
294 | ············</li> | 294 | ············</li> |
295 | ··········</ul> | 295 | ··········</ul> |
296 | ········</div> | 296 | ········</div> |
297 | ······</div> | 297 | ······</div> |
298 | ······<div·id="outline-container-org5e52d50"·class="outline-2"> | 298 | ······<div·id="outline-container-orgfe41240"·class="outline-2"> |
299 | ········<h2·id="org5e52d50"> | 299 | ········<h2·id="orgfe41240"> |
300 | ··········<span·class="section-number-2">1.</span> | 300 | ··········<span·class="section-number-2">1.</span> |
301 | ··········Overview | 301 | ··········Overview |
302 | ········</h2> | 302 | ········</h2> |
303 | ········<div·class="outline-text-2"·id="text-1"> | 303 | ········<div·class="outline-text-2"·id="text-1"> |
304 | ··········<p> | 304 | ··········<p> |
305 | ············Embark·makes·it·easy·to·choose·a·command·to·run·based·on·what·is·near | 305 | ············Embark·makes·it·easy·to·choose·a·command·to·run·based·on·what·is·near |
306 | point,·both·during·a·minibuffer·completion·session·(in·a·way·familiar | 306 | point,·both·during·a·minibuffer·completion·session·(in·a·way·familiar |
Offset 319, 16 lines modified | Offset 319, 16 lines modified |
319 | sentences;·and·it·is·easy·to·add·more·actions·and·more·target·types. | 319 | sentences;·and·it·is·easy·to·add·more·actions·and·more·target·types. |
Max diff block lines reached; 19385/26691 bytes (72.63%) of diff not shown.
|