| | | |
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-22·Sat·19:19·--> | 7 | ····<!--·2024-01-21·Sun·12:58·--> |
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="#org4621e5f">1.·Overview</a> | 204 | ··············<a·href="#org9e282dc">1.·Overview</a> |
205 | ··············<ul> | 205 | ··············<ul> |
206 | ················<li> | 206 | ················<li> |
207 | ··················<a·href="#org4100b91">1.1.·Acting·on·targets</a> | 207 | ··················<a·href="#orge23b004">1.1.·Acting·on·targets</a> |
208 | ················</li> | 208 | ················</li> |
209 | ················<li> | 209 | ················<li> |
210 | ··················<a·href="#org556fe85">1.2.·The·default·action·on·a·target</a> | 210 | ··················<a·href="#org7bfd959">1.2.·The·default·action·on·a·target</a> |
211 | ················</li> | 211 | ················</li> |
212 | ················<li> | 212 | ················<li> |
213 | ··················<a·href="#org9714ba2">1.3.·Working·with·sets·of·possible·targets</a> | 213 | ··················<a·href="#orgead17b0">1.3.·Working·with·sets·of·possible·targets</a> |
214 | ··················<ul> | 214 | ··················<ul> |
215 | ····················<li> | 215 | ····················<li> |
216 | ······················<a·href="#orgef0dce7"> | 216 | ······················<a·href="#org1ea79a2"> |
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="#org16003dd">1.4.·Switching·to·a·different·command·without·losing·what·you've·typed</a> | 226 | ··················<a·href="#org369073e">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="#org4c8a30e">2.·Quick·start</a> | 231 | ··············<a·href="#org265b2e2">2.·Quick·start</a> |
232 | ············</li> | 232 | ············</li> |
233 | ············<li> | 233 | ············<li> |
234 | ··············<a·href="#org9d4d465">3.·Advanced·configuration</a> | 234 | ··············<a·href="#org6ef3fc0">3.·Advanced·configuration</a> |
235 | ··············<ul> | 235 | ··············<ul> |
236 | ················<li> | 236 | ················<li> |
237 | ··················<a·href="#org8a8c35c">3.1.·Showing·information·about·available·targets·and·actions</a> | 237 | ··················<a·href="#org3a23f52">3.1.·Showing·information·about·available·targets·and·actions</a> |
238 | ················</li> | 238 | ················</li> |
239 | ················<li> | 239 | ················<li> |
240 | ··················<a·href="#orgbeb2d5f">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> | 240 | ··················<a·href="#org5f33b2e">3.2.·Selecting·commands·via·completions·instead·of·key·bindings</a> |
241 | ················</li> | 241 | ················</li> |
242 | ················<li> | 242 | ················<li> |
243 | ··················<a·href="#orga654ae4">3.3.·Quitting·the·minibuffer·after·an·action</a> | 243 | ··················<a·href="#org575d8e3">3.3.·Quitting·the·minibuffer·after·an·action</a> |
244 | ················</li> | 244 | ················</li> |
245 | ················<li> | 245 | ················<li> |
246 | ··················<a·href="#orgd3c4309">3.4.·Running·some·setup·after·injecting·the·target</a> | 246 | ··················<a·href="#org72be3e2">3.4.·Running·some·setup·after·injecting·the·target</a> |
247 | ················</li> | 247 | ················</li> |
248 | ················<li> | 248 | ················<li> |
249 | ··················<a·href="#org77aa780">3.5.·Running·hooks·before,·after·or·around·an·action</a> | 249 | ··················<a·href="#orga06db2c">3.5.·Running·hooks·before,·after·or·around·an·action</a> |
250 | ················</li> | 250 | ················</li> |
251 | ················<li> | 251 | ················<li> |
252 | ··················<a·href="#orgb7701cf">3.6.·Creating·your·own·keymaps</a> | 252 | ··················<a·href="#org1c141b0">3.6.·Creating·your·own·keymaps</a> |
253 | ················</li> | 253 | ················</li> |
254 | ················<li> | 254 | ················<li> |
255 | ··················<a·href="#org887861f">3.7.·Defining·actions·for·new·categories·of·targets</a> | 255 | ··················<a·href="#org831589c">3.7.·Defining·actions·for·new·categories·of·targets</a> |
256 | ··················<ul> | 256 | ··················<ul> |
257 | ····················<li> | 257 | ····················<li> |
258 | ······················<a·href="#orgd7e685e">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> | 258 | ······················<a·href="#orge596ad9">3.7.1.·New·minibuffer·target·example·-·tab-bar·tabs</a> |
259 | ····················</li> | 259 | ····················</li> |
260 | ····················<li> | 260 | ····················<li> |
261 | ······················<a·href="#orgbf1bc0a">3.7.2.·New·target·example·in·regular·buffers·-·short·Wikipedia·links</a> | 261 | ······················<a·href="#org87c14c8">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="#org4ef4162">4.·How·does·Embark·call·the·actions?</a> | 268 | ··············<a·href="#org154e372">4.·How·does·Embark·call·the·actions?</a> |
269 | ··············<ul> | 269 | ··············<ul> |
270 | ················<li> | 270 | ················<li> |
271 | ··················<a·href="#org3ac9287">4.1.·Non-interactive·functions·as·actions</a> | 271 | ··················<a·href="#org85807b0">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="#org3e7e45d">5.·Embark,·Marginalia·and·Consult</a> | 276 | ··············<a·href="#org3ef307c">5.·Embark,·Marginalia·and·Consult</a> |
277 | ··············<ul> | 277 | ··············<ul> |
278 | ················<li> | 278 | ················<li> |
279 | ··················<a·href="#org6d9f178">5.1.·Marginalia</a> | 279 | ··················<a·href="#org139b562">5.1.·Marginalia</a> |
280 | ················</li> | 280 | ················</li> |
281 | ················<li> | 281 | ················<li> |
282 | ··················<a·href="#org8fffdde">5.2.·Consult</a> | 282 | ··················<a·href="#org4791ba8">5.2.·Consult</a> |
283 | ················</li> | 283 | ················</li> |
284 | ··············</ul> | 284 | ··············</ul> |
285 | ············</li> | 285 | ············</li> |
286 | ············<li> | 286 | ············<li> |
287 | ··············<a·href="#org3c2349c">6.·Resources</a> | 287 | ··············<a·href="#org49ae0d0">6.·Resources</a> |
288 | ············</li> | 288 | ············</li> |
289 | ············<li> | 289 | ············<li> |
290 | ··············<a·href="#org2c2ce3f">7.·Contributions</a> | 290 | ··············<a·href="#org06c5785">7.·Contributions</a> |
291 | ············</li> | 291 | ············</li> |
292 | ············<li> | 292 | ············<li> |
293 | ··············<a·href="#orgca155ba">8.·Acknowledgments</a> | 293 | ··············<a·href="#org3a65fad">8.·Acknowledgments</a> |
294 | ············</li> | 294 | ············</li> |
295 | ··········</ul> | 295 | ··········</ul> |
296 | ········</div> | 296 | ········</div> |
297 | ······</div> | 297 | ······</div> |
298 | ······<div·id="outline-container-org4621e5f"·class="outline-2"> | 298 | ······<div·id="outline-container-org9e282dc"·class="outline-2"> |
299 | ········<h2·id="org4621e5f"> | 299 | ········<h2·id="org9e282dc"> |
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.
|