forked from colonelpanic/dotfiles
[Emacs] Update github pages index file
This commit is contained in:
parent
d177f3bbcd
commit
433ea2cf36
97
index.html
97
index.html
@ -3,7 +3,7 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2016-10-29 Sat 12:56 -->
|
<!-- 2016-11-02 Wed 18:05 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title></title>
|
<title></title>
|
||||||
@ -321,9 +321,11 @@ for the JavaScript code in this tag.
|
|||||||
<li><a href="#discovermymajor">6.32. discover-my-major</a></li>
|
<li><a href="#discovermymajor">6.32. discover-my-major</a></li>
|
||||||
<li><a href="#framesonlymode">6.33. frames-only-mode</a></li>
|
<li><a href="#framesonlymode">6.33. frames-only-mode</a></li>
|
||||||
<li><a href="#refine">6.34. refine</a></li>
|
<li><a href="#refine">6.34. refine</a></li>
|
||||||
<li><a href="#winner">6.35. winner</a></li>
|
<li><a href="#elget">6.35. el-get</a></li>
|
||||||
<li><a href="#eyebrowse">6.36. eyebrowse</a></li>
|
<li><a href="#winner">6.36. winner</a></li>
|
||||||
<li><a href="#fillcolumnindicator">6.37. fill-column-indicator</a></li>
|
<li><a href="#eyebrowse">6.37. eyebrowse</a></li>
|
||||||
|
<li><a href="#tiling">6.38. tiling</a></li>
|
||||||
|
<li><a href="#fillcolumnindicator">6.39. fill-column-indicator</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#keybindings">7. Keybindings</a>
|
<li><a href="#keybindings">7. Keybindings</a>
|
||||||
@ -439,8 +441,9 @@ for the JavaScript code in this tag.
|
|||||||
<li><a href="#overseer">12.1.3.7. overseer</a></li>
|
<li><a href="#overseer">12.1.3.7. overseer</a></li>
|
||||||
<li><a href="#misc1">12.1.3.8. Misc</a></li>
|
<li><a href="#misc1">12.1.3.8. Misc</a></li>
|
||||||
<li><a href="#showresultofevallastsexpinline">12.1.3.9. Show result of eval-last-sexp inline</a></li>
|
<li><a href="#showresultofevallastsexpinline">12.1.3.9. Show result of eval-last-sexp inline</a></li>
|
||||||
<li><a href="#inithook">12.1.3.10. Init hook</a></li>
|
<li><a href="#reevalutedefvarswhenrunningevallastsexp">12.1.3.10. Reevalute defvars when running eval-last-sexp</a></li>
|
||||||
<li><a href="#keybinds">12.1.3.11. Keybinds</a></li>
|
<li><a href="#inithook">12.1.3.11. Init hook</a></li>
|
||||||
|
<li><a href="#keybinds">12.1.3.12. Keybinds</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#clojure">12.1.4. clojure</a>
|
<li><a href="#clojure">12.1.4. clojure</a>
|
||||||
@ -2818,11 +2821,21 @@ proced is an top like utility that runs inside of emacs. The following sets auto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-winner" class="outline-3">
|
<div id="outline-container-elget" class="outline-3">
|
||||||
<h3 id="winner"><span class="section-number-3">6.35</span> winner</h3>
|
<h3 id="elget"><span class="section-number-3">6.35</span> el-get</h3>
|
||||||
<div class="outline-text-3" id="text-6-35">
|
<div class="outline-text-3" id="text-6-35">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">el-get</span><span style="color: #e91e63;">)</span>
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="outline-container-winner" class="outline-3">
|
||||||
|
<h3 id="winner"><span class="section-number-3">6.36</span> winner</h3>
|
||||||
|
<div class="outline-text-3" id="text-6-36">
|
||||||
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">winner</span>
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">winner</span>
|
||||||
<span style="color: #ff8A65;">:after</span> hydra
|
<span style="color: #ff8A65;">:after</span> hydra
|
||||||
<span style="color: #ff8A65;">:demand</span> t
|
<span style="color: #ff8A65;">:demand</span> t
|
||||||
@ -2841,8 +2854,8 @@ proced is an top like utility that runs inside of emacs. The following sets auto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-eyebrowse" class="outline-3">
|
<div id="outline-container-eyebrowse" class="outline-3">
|
||||||
<h3 id="eyebrowse"><span class="section-number-3">6.36</span> eyebrowse</h3>
|
<h3 id="eyebrowse"><span class="section-number-3">6.37</span> eyebrowse</h3>
|
||||||
<div class="outline-text-3" id="text-6-36">
|
<div class="outline-text-3" id="text-6-37">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">eyebrowse</span>
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">eyebrowse</span>
|
||||||
@ -2853,9 +2866,23 @@ proced is an top like utility that runs inside of emacs. The following sets auto
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="outline-container-tiling" class="outline-3">
|
||||||
|
<h3 id="tiling"><span class="section-number-3">6.38</span> tiling</h3>
|
||||||
|
<div class="outline-text-3" id="text-6-38">
|
||||||
|
<div class="org-src-container">
|
||||||
|
|
||||||
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">el-get-bundle</span> tiling
|
||||||
|
<span style="color: #ff8A65;">:url</span> <span style="color: #9ccc65;">"https://raw.githubusercontent.com/lgfang/elisp/master/tiling.el"</span><span style="color: #e91e63;">)</span>
|
||||||
|
|
||||||
|
<span style="color: #e91e63;">(</span><span style="color: #fff59d;">use-package</span> <span style="color: #8bc34a;">tiling</span>
|
||||||
|
<span style="color: #ff8A65;">:ensure</span> nil<span style="color: #e91e63;">)</span>
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div id="outline-container-fillcolumnindicator" class="outline-3">
|
<div id="outline-container-fillcolumnindicator" class="outline-3">
|
||||||
<h3 id="fillcolumnindicator"><span class="section-number-3">6.37</span> fill-column-indicator</h3>
|
<h3 id="fillcolumnindicator"><span class="section-number-3">6.39</span> fill-column-indicator</h3>
|
||||||
<div class="outline-text-3" id="text-6-37">
|
<div class="outline-text-3" id="text-6-39">
|
||||||
<p>
|
<p>
|
||||||
This interferes with too many other packages. See
|
This interferes with too many other packages. See
|
||||||
<a href="https://github.com/alpaker/Fill-Column-Indicator/issues/21">https://github.com/alpaker/Fill-Column-Indicator/issues/21</a> for more details
|
<a href="https://github.com/alpaker/Fill-Column-Indicator/issues/21">https://github.com/alpaker/Fill-Column-Indicator/issues/21</a> for more details
|
||||||
@ -3487,6 +3514,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
<span style="color: #ff8A65;">:demand</span> t
|
<span style="color: #ff8A65;">:demand</span> t
|
||||||
<span style="color: #ff8A65;">:diminish</span> smartparens-mode
|
<span style="color: #ff8A65;">:diminish</span> smartparens-mode
|
||||||
<span style="color: #ff8A65;">:bind</span> <span style="color: #2196F3;">(</span><span style="color: #ff8A65;">:map</span> smartparens-mode-map
|
<span style="color: #ff8A65;">:bind</span> <span style="color: #2196F3;">(</span><span style="color: #ff8A65;">:map</span> smartparens-mode-map
|
||||||
|
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"H-z"</span> . sp-kill-symbol<span style="color: #EF6C00;">)</span>
|
||||||
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-)"</span> . sp-forward-slurp-sexp<span style="color: #EF6C00;">)</span>
|
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-)"</span> . sp-forward-slurp-sexp<span style="color: #EF6C00;">)</span>
|
||||||
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-}"</span> . sp-forward-barf-sexp<span style="color: #EF6C00;">)</span>
|
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-}"</span> . sp-forward-barf-sexp<span style="color: #EF6C00;">)</span>
|
||||||
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-("</span> . sp-backward-slurp-sexp<span style="color: #EF6C00;">)</span>
|
<span style="color: #EF6C00;">(</span><span style="color: #9ccc65;">"C-("</span> . sp-backward-slurp-sexp<span style="color: #EF6C00;">)</span>
|
||||||
@ -4320,9 +4348,44 @@ Taken from <a href="http://endlessparentheses.com/eval-result-overlays-in-emacs-
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-inithook" class="outline-5">
|
<div id="outline-container-reevalutedefvarswhenrunningevallastsexp" class="outline-5">
|
||||||
<h5 id="inithook"><span class="section-number-5">12.1.3.10</span> Init hook</h5>
|
<h5 id="reevalutedefvarswhenrunningevallastsexp"><span class="section-number-5">12.1.3.10</span> Reevalute defvars when running eval-last-sexp</h5>
|
||||||
<div class="outline-text-5" id="text-12-1-3-10">
|
<div class="outline-text-5" id="text-12-1-3-10">
|
||||||
|
<p>
|
||||||
|
What follows is a function that checks to see if what precedes point is a defvar
|
||||||
|
and reevaluates it as a setq if it is
|
||||||
|
</p>
|
||||||
|
<div class="org-src-container">
|
||||||
|
|
||||||
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">defun</span> <span style="color: #84ffff;">imalison:defvar-at-point</span> <span style="color: #2196F3;">()</span>
|
||||||
|
<span style="color: #2196F3;">(</span><span style="color: #fff59d;">let*</span> <span style="color: #EF6C00;">(</span><span style="color: #B388FF;">(</span>preceding-sexp <span style="color: #76ff03;">(</span>elisp--preceding-sexp<span style="color: #76ff03;">)</span><span style="color: #B388FF;">)</span><span style="color: #EF6C00;">)</span>
|
||||||
|
<span style="color: #EF6C00;">(</span><span style="color: #fff59d;">when</span> <span style="color: #B388FF;">(</span><span style="color: #fff59d;">and</span> <span style="color: #76ff03;">(</span>listp preceding-sexp<span style="color: #76ff03;">)</span> <span style="color: #76ff03;">(</span>equal <span style="color: #26A69A;">(</span>car preceding-sexp<span style="color: #26A69A;">)</span> 'defvar<span style="color: #76ff03;">)</span><span style="color: #B388FF;">)</span>
|
||||||
|
preceding-sexp<span style="color: #EF6C00;">)</span><span style="color: #2196F3;">)</span><span style="color: #e91e63;">)</span>
|
||||||
|
|
||||||
|
<span style="color: #e91e63;">(</span><span style="color: #fff59d;">defun</span> <span style="color: #84ffff;">imalison:maybe-eval-defvar-as-setq</span> <span style="color: #2196F3;">()</span>
|
||||||
|
<span style="color: #2196F3;">(</span><span style="color: #fff59d;">interactive</span><span style="color: #2196F3;">)</span>
|
||||||
|
<span style="color: #2196F3;">(</span><span style="color: #fff59d;">let</span> <span style="color: #EF6C00;">(</span><span style="color: #B388FF;">(</span>the-defvar <span style="color: #76ff03;">(</span>imalison:defvar-at-point<span style="color: #76ff03;">)</span><span style="color: #B388FF;">)</span><span style="color: #EF6C00;">)</span>
|
||||||
|
<span style="color: #EF6C00;">(</span><span style="color: #fff59d;">when</span> the-defvar
|
||||||
|
<span style="color: #B388FF;">(</span>eval `<span style="color: #76ff03;">(</span><span style="color: #fff59d;">setq</span> ,@<span style="color: #26A69A;">(</span>cdr the-defvar<span style="color: #26A69A;">)</span><span style="color: #76ff03;">)</span><span style="color: #B388FF;">)</span><span style="color: #EF6C00;">)</span><span style="color: #2196F3;">)</span><span style="color: #e91e63;">)</span>
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
Now we add advice to eval-last-sexp so that it has this behavior.
|
||||||
|
</p>
|
||||||
|
<div class="org-src-container">
|
||||||
|
|
||||||
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">defun</span> <span style="color: #84ffff;">imalison:maybe-setq-instead</span> <span style="color: #2196F3;">(</span>fn <span style="color: #84ffff;">&rest</span> args<span style="color: #2196F3;">)</span>
|
||||||
|
<span style="color: #2196F3;">(</span><span style="color: #fff59d;">or</span> <span style="color: #EF6C00;">(</span>imalison:maybe-eval-defvar-as-setq<span style="color: #EF6C00;">)</span>
|
||||||
|
<span style="color: #EF6C00;">(</span>apply fn args<span style="color: #EF6C00;">)</span><span style="color: #2196F3;">)</span><span style="color: #e91e63;">)</span>
|
||||||
|
|
||||||
|
<span style="color: #e91e63;">(</span>advice-add 'eval-last-sexp <span style="color: #ff8A65;">:around</span> 'imalison:maybe-setq-instead<span style="color: #e91e63;">)</span>
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="outline-container-inithook" class="outline-5">
|
||||||
|
<h5 id="inithook"><span class="section-number-5">12.1.3.11</span> Init hook</h5>
|
||||||
|
<div class="outline-text-5" id="text-12-1-3-11">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">defvar</span> <span style="color: #ffcc80;">imalison:check-parens</span> nil<span style="color: #e91e63;">)</span>
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">defvar</span> <span style="color: #ffcc80;">imalison:check-parens</span> nil<span style="color: #e91e63;">)</span>
|
||||||
@ -4341,8 +4404,8 @@ Taken from <a href="http://endlessparentheses.com/eval-result-overlays-in-emacs-
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-keybinds" class="outline-5">
|
<div id="outline-container-keybinds" class="outline-5">
|
||||||
<h5 id="keybinds"><span class="section-number-5">12.1.3.11</span> Keybinds</h5>
|
<h5 id="keybinds"><span class="section-number-5">12.1.3.12</span> Keybinds</h5>
|
||||||
<div class="outline-text-5" id="text-12-1-3-11">
|
<div class="outline-text-5" id="text-12-1-3-12">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
|
|
||||||
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">emit-compose</span> imalison:copy-eval-last-sexp
|
<pre class="src src-emacs-lisp"><span style="color: #e91e63;">(</span><span style="color: #fff59d;">emit-compose</span> imalison:copy-eval-last-sexp
|
||||||
@ -7171,7 +7234,7 @@ load-theme hook (See the heading below).
|
|||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: Ivan Malison</p>
|
<p class="author">Author: Ivan Malison</p>
|
||||||
<p class="date">Created: 2016-10-29 Sat 12:56</p>
|
<p class="date">Created: 2016-11-02 Wed 18:05</p>
|
||||||
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user