| | | | |
| 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 | ····<!--·2025-02-13·Thu·13:09·--> | 7 | ····<!--·2024-01-12·Fri·06:46·--> |
| 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="#orga626a8f">1.·Overview</a> | 204 | ··············<a·href="#org9d50084">1.·Overview</a> |
| 205 | ··············<ul> | 205 | ··············<ul> |
| 206 | ················<li> | 206 | ················<li> |
| 207 | ··················<a·href="#org4500f23">1.1.·Acting·on·targets</a> | 207 | ··················<a·href="#orgf2cc696">1.1.·Acting·on·targets</a> |
| 208 | ················</li> | 208 | ················</li> |
| 209 | ················<li> | 209 | ················<li> |
| 210 | ··················<a·href="#org8f5d255">1.2.·The·default·action·on·a·target</a> | 210 | ··················<a·href="#orgeb82bee">1.2.·The·default·action·on·a·target</a> |
| 211 | ················</li> | 211 | ················</li> |
| 212 | ················<li> | 212 | ················<li> |
| 213 | ··················<a·href="#org75555cd">1.3.·Working·with·sets·of·possible·targets</a> | 213 | ··················<a·href="#org92b34a0">1.3.·Working·with·sets·of·possible·targets</a> |
| 214 | ··················<ul> | 214 | ··················<ul> |
| 215 | ····················<li> | 215 | ····················<li> |
| 216 | ······················<a·href="#orgfc66216"> | 216 | ······················<a·href="#org41ae2cb"> |
| 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="#org2ea0bb7">1.4.·Switching·to·a·different·command·without·losing·what·you've·typed</a> | 226 | ··················<a·href="#orgb2e2993">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="#org9a27327">2.·Quick·start</a> | 231 | ··············<a·href="#orge9f6c4f">2.·Quick·start</a> |
| 232 | ············</li> | 232 | ············</li> |
| 233 | ············<li> | 233 | ············<li> |
| 234 | ··············<a·href="#orgf2354e0">3.·Advanced·configuration</a> | 234 | ··············<a·href="#orgacc8e72">3.·Advanced·configuration</a> |
| 235 | ··············<ul> | 235 | ··············<ul> |
| 236 | ················<li> | 236 | ················<li> |
| 237 | ··················<a·href="#orgc2ef689">3.1.·Showing·information·about·available·targets·and·actions</a> | 237 | ··················<a·href="#orge41b9ed">3.1.·Showing·information·about·available·targets·and·actions</a> |
| 238 | ················</li> | 238 | ················</li> |
| 239 | ················<li> | 239 | ················<li> |
| 240 | ··················<a·href="#org8ed2710">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> | 240 | ··················<a·href="#org38d1e97">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> |
| 241 | ················</li> | 241 | ················</li> |
| 242 | ················<li> | 242 | ················<li> |
| 243 | ··················<a·href="#org7615ee1">3.3.·Quitting·the·minibuffer·after·an·action</a> | 243 | ··················<a·href="#org2c754c4">3.3.·Quitting·the·minibuffer·after·an·action</a> |
| 244 | ················</li> | 244 | ················</li> |
| 245 | ················<li> | 245 | ················<li> |
| 246 | ··················<a·href="#org51036a3">3.4.·Running·some·setup·after·injecting·the·target</a> | 246 | ··················<a·href="#orge1fb518">3.4.·Running·some·setup·after·injecting·the·target</a> |
| 247 | ················</li> | 247 | ················</li> |
| 248 | ················<li> | 248 | ················<li> |
| 249 | ··················<a·href="#org503f3df">3.5.·Running·hooks·before,·after·or·around·an·action</a> | 249 | ··················<a·href="#orge38a50f">3.5.·Running·hooks·before,·after·or·around·an·action</a> |
| 250 | ················</li> | 250 | ················</li> |
| 251 | ················<li> | 251 | ················<li> |
| 252 | ··················<a·href="#org6cd94dc">3.6.·Creating·your·own·keymaps</a> | 252 | ··················<a·href="#org21481f2">3.6.·Creating·your·own·keymaps</a> |
| 253 | ················</li> | 253 | ················</li> |
| 254 | ················<li> | 254 | ················<li> |
| 255 | ··················<a·href="#orgf745a6f">3.7.·Defining·actions·for·new·categories·of·targets</a> | 255 | ··················<a·href="#orgde27c7a">3.7.·Defining·actions·for·new·categories·of·targets</a> |
| 256 | ··················<ul> | 256 | ··················<ul> |
| 257 | ····················<li> | 257 | ····················<li> |
| 258 | ······················<a·href="#orgdbbbea4">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> | 258 | ······················<a·href="#orgb53d13c">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> |
| 259 | ····················</li> | 259 | ····················</li> |
| 260 | ····················<li> | 260 | ····················<li> |
| 261 | ······················<a·href="#org9f97e99">3.7.2.·New·target·example·in·regular·buffers·-·short·Wikipedia·links</a> | 261 | ······················<a·href="#org69b27e0">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="#org78dce23">4.·How·does·Embark·call·the·actions?</a> | 268 | ··············<a·href="#org13b72b8">4.·How·does·Embark·call·the·actions?</a> |
| 269 | ··············<ul> | 269 | ··············<ul> |
| 270 | ················<li> | 270 | ················<li> |
| 271 | ··················<a·href="#org5c64ba8">4.1.·Non-interactive·functions·as·actions</a> | 271 | ··················<a·href="#org28c0260">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="#orga7f17dd">5.·Embark,·Marginalia·and·Consult</a> | 276 | ··············<a·href="#orge866984">5.·Embark,·Marginalia·and·Consult</a> |
| 277 | ··············<ul> | 277 | ··············<ul> |
| 278 | ················<li> | 278 | ················<li> |
| 279 | ··················<a·href="#orge99b36c">5.1.·Marginalia</a> | 279 | ··················<a·href="#orgce12640">5.1.·Marginalia</a> |
| 280 | ················</li> | 280 | ················</li> |
| 281 | ················<li> | 281 | ················<li> |
| 282 | ··················<a·href="#orgf856ad3">5.2.·Consult</a> | 282 | ··················<a·href="#org9eb8c41">5.2.·Consult</a> |
| 283 | ················</li> | 283 | ················</li> |
| 284 | ··············</ul> | 284 | ··············</ul> |
| 285 | ············</li> | 285 | ············</li> |
| 286 | ············<li> | 286 | ············<li> |
| 287 | ··············<a·href="#org531afa4">6.·Resources</a> | 287 | ··············<a·href="#org9cf2ef9">6.·Resources</a> |
| 288 | ············</li> | 288 | ············</li> |
| 289 | ············<li> | 289 | ············<li> |
| 290 | ··············<a·href="#orgd9915ad">7.·Contributions</a> | 290 | ··············<a·href="#org7a664d2">7.·Contributions</a> |
| 291 | ············</li> | 291 | ············</li> |
| 292 | ············<li> | 292 | ············<li> |
| 293 | ··············<a·href="#org72936f8">8.·Acknowledgments</a> | 293 | ··············<a·href="#org6dbddac">8.·Acknowledgments</a> |
| 294 | ············</li> | 294 | ············</li> |
| 295 | ··········</ul> | 295 | ··········</ul> |
| 296 | ········</div> | 296 | ········</div> |
| 297 | ······</div> | 297 | ······</div> |
| 298 | ······<div·id="outline-container-orga626a8f"·class="outline-2"> | 298 | ······<div·id="outline-container-org9d50084"·class="outline-2"> |
| 299 | ········<h2·id="orga626a8f"> | 299 | ········<h2·id="org9d50084"> |
| 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.
|