removed emacs files

This commit is contained in:
notnull 2019-01-26 15:55:25 -08:00
commit 22ec588af2
2 changed files with 0 additions and 542 deletions

View File

@ -1,387 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>emacs</title>
<!-- 2019-01-23 Wed 14:51 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.right { margin-left: auto; margin-right: 0px; text-align: right; }
.left { margin-left: 0px; margin-right: auto; text-align: left; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
pre.src-sh:before { content: 'sh'; }
pre.src-bash:before { content: 'sh'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-R:before { content: 'R'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-java:before { content: 'Java'; }
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
th.center { text-align: center; }
td.right { text-align: right; }
td.left { text-align: left; }
td.center { text-align: center; }
dt { font-weight: bold; }
.footpara:nth-child(2) { display: inline; }
.footpara { display: block; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
/*]]>*/-->
</style>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2013 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">emacs</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. emacs org mode</a>
<ul>
<li><a href="#sec-1-1">1.1. Overview</a>
<ul>
<li><a href="#sec-1-1-1">1.1.1. Bullets</a></li>
<li><a href="#sec-1-1-2">1.1.2. TODOs</a></li>
<li><a href="#sec-1-1-3">1.1.3. links</a></li>
<li><a href="#sec-1-1-4">1.1.4. code syntax highlighting and evaluation</a></li>
</ul>
</li>
<li><a href="#sec-1-2">1.2. random notes</a>
<ul>
<li><a href="#sec-1-2-1">1.2.1. useful things overview</a></li>
<li><a href="#sec-1-2-2">1.2.2. Switching between emacs 'buffers' (where different documents are open in the same emacs instance)</a></li>
<li><a href="#sec-1-2-3">1.2.3. making bullets</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<p>
essential keystrokes:
(TAB to open bullets) &lt;&#x2013; do this lol
C-x 1 to return buffer to 1 window
C-g to cancel a command
C-h a to search for commands
tiling window: C-x [1..3]
C-k cut C-y paste
</p>
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> emacs org mode</h2>
<div class="outline-text-2" id="text-1">
</div><div id="outline-container-sec-1-1" class="outline-3">
<h3 id="sec-1-1"><span class="section-number-3">1.1</span> Overview</h3>
<div class="outline-text-3" id="text-1-1">
<p>
So there are two basic things that are useful about org mode:
</p>
<ol class="org-ol">
<li>bullets are collapsible which makes it really easy to organize shit and move it around
collapsible items rule!
</li>
<li>TODO items have a lot of functionality
</li>
</ol>
<p>
so, my goal is actually to take projex<sub>demo</sub>.org and make it something that is formatted in org mode, and the <b>reason</b> for that is that then we can export it using pandoc with clean html (which we can add a loittle styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here: <a href="https://irc.anarchyplanet.org/dox/org.html">https://irc.anarchyplanet.org/dox/org.html</a>
</p>
</div>
<div id="outline-container-sec-1-1-1" class="outline-4">
<h4 id="sec-1-1-1"><span class="section-number-4">1.1.1</span> Bullets</h4>
<div class="outline-text-4" id="text-1-1-1">
<ul class="org-ul">
<li>headings are organized with *
<ul class="org-ul">
<li>M-&lt;enter&gt; to add new heading
</li>
<li>M-&lt;left&gt; or M-&lt;right&gt; to promote / demote heading
</li>
</ul>
</li>
<li>TAB to expand/collapse trees
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1-1-2" class="outline-4">
<h4 id="sec-1-1-2"><span class="section-number-4">1.1.2</span> TODOs</h4>
<div class="outline-text-4" id="text-1-1-2">
<p>
TODOs are actually probably not that relevant for projex because it's more for internal use &#x2026; maybe.
</p>
</div>
<ol class="org-ol"><li><a id="sec-1-1-2-1" name="sec-1-1-2-1"></a><span class="done DONE">DONE</span> demo emacs org mode to data<br /></li>
<li><a id="sec-1-1-2-2" name="sec-1-1-2-2"></a><span class="done DONE">DONE</span> enable line wrap as default<br /></li>
<li><a id="sec-1-1-2-3" name="sec-1-1-2-3"></a><span class="todo TODO">TODO</span> re-write projex in org mode style<br /><div class="outline-text-5" id="text-1-1-2-3">
<ul class="org-ul">
<li>projex<sub>demo</sub>.org is the test run of this.
</li>
<li>C-c C-t to cycle through todo-done
</li>
<li>You can add more options by adding #+TODO: TODO ONHOLD | DONE to the top of the page (requires restart)
</li>
</ul>
</div>
</li></ol>
</div>
<div id="outline-container-sec-1-1-3" class="outline-4">
<h4 id="sec-1-1-3"><span class="section-number-4">1.1.3</span> links</h4>
<div class="outline-text-4" id="text-1-1-3">
<ul class="org-ul">
<li>link structure: [ [link][desc] ] (but without the spaces)
</li>
<li><a href="test.html">file</a> C-c C-o to open at point
this creates a split buffer. C-x o to switch between split buffers, C-x 1 to return the buffer to a single one.
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1-1-4" class="outline-4">
<h4 id="sec-1-1-4"><span class="section-number-4">1.1.4</span> code syntax highlighting and evaluation</h4>
<div class="outline-text-4" id="text-1-1-4">
<p>
emacs provides support for lots of lanauges and you can start an interpreter and run code with C-c C-c (evaluate buffer)
</p>
<p>
You can also do code blocks and tangle / weave for literate programming.
</p>
<p>
My friend always used indent region and it was impressingly fast
</p>
</div>
</div>
</div>
<div id="outline-container-sec-1-2" class="outline-3">
<h3 id="sec-1-2"><span class="section-number-3">1.2</span> random notes</h3>
<div class="outline-text-3" id="text-1-2">
</div><div id="outline-container-sec-1-2-1" class="outline-4">
<h4 id="sec-1-2-1"><span class="section-number-4">1.2.1</span> useful things overview</h4>
<div class="outline-text-4" id="text-1-2-1">
<p>
So there are two basic things that are useful about org mode:
</p>
<ol class="org-ol">
<li>bullets are collapsible which makes it really easy to organize shit and move it around
collapsible items rule!
</li>
<li>TODO items have a lot of functionality
</li>
</ol>
<p>
The goal is to take projex<sub>demo</sub>.org (another file in this directory) and format it into org mode. The <b>reason</b> is that then we can export it using pandoc with clean html (which we can add a loittle styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here: <a href="https://irc.anarchyplanet.org/dox/org.html">https://irc.anarchyplanet.org/dox/org.html</a>
</p>
<p>
(I think it's a good strategy to hit enter like this when we're done typing :) )
</p>
</div>
</div>
<div id="outline-container-sec-1-2-2" class="outline-4">
<h4 id="sec-1-2-2"><span class="section-number-4">1.2.2</span> Switching between emacs 'buffers' (where different documents are open in the same emacs instance)</h4>
<div class="outline-text-4" id="text-1-2-2">
<ul class="org-ul">
<li>to open projex<sub>demo</sub>.org: C-x C-f and then start typing proj and then TAB (for autocomplete)
</li>
<li>use C-x &lt;left&gt; and use C-x &lt;right&gt; to switch between buffers.
</li>
</ul>
</div>
</div>
<div id="outline-container-sec-1-2-3" class="outline-4">
<h4 id="sec-1-2-3"><span class="section-number-4">1.2.3</span> making bullets</h4>
<div class="outline-text-4" id="text-1-2-3">
<p>
So, I guess my first question is about how I make the bullets?
</p>
</div>
<ol class="org-ol"><li><a id="sec-1-2-3-1" name="sec-1-2-3-1"></a>like this<br /><ol class="org-ol"><li><a id="sec-1-2-3-1-1" name="sec-1-2-3-1-1"></a>this is a sub-level<br /><div class="outline-text-6" id="text-1-2-3-1-1">
<p>
Ok I'll give that a shot
</p>
<p>
So to "attach" the bullet to the text under it, do I just add asterisks to the text?
</p>
<p>
like this:
</p>
</div>
</li></ol>
</li>
<li><a id="sec-1-2-3-2" name="sec-1-2-3-2"></a>Bullet<br /><div class="outline-text-5" id="text-1-2-3-2">
<p>
This is the text under it!
</p>
<p>
Damn that's east's easy :)
</p>
<p>
yeah! and, you can do it with all kinds of list items, and it's also especially useful when you have long passages of text that you can just hide by pressing TAB.
</p>
<p>
Perfect :) So, I might try to just "bullet" this conversation.
So I think what I did there makes sense in terms of how I organized that?
</p>
<p>
YEAH! One more thing:
</p>
<p>
to make new bullets you can do ALT-enter (ALT is known as M , so M-&lt;enter&gt;)
</p>
</div>
</li>
<li><a id="sec-1-2-3-3" name="sec-1-2-3-3"></a>bullet1<br /></li>
<li><a id="sec-1-2-3-4" name="sec-1-2-3-4"></a>bullet 3<br /></li>
<li><a id="sec-1-2-3-5" name="sec-1-2-3-5"></a>bullet 2<br /></li>
<li><a id="sec-1-2-3-6" name="sec-1-2-3-6"></a>bullet 4<br /><div class="outline-text-5" id="text-1-2-3-6">
<p>
and then, to change the order, you can use M-&lt;up&gt; and M-&lt;down&gt; &#x2026; to promote you can use M-&lt;left&gt; and M-&lt;right&gt; (but this gets more complicated when you have sub-trees, so we'll worry about that layter beucause that's what I'm having problems with re; my keybindings)
</p>
<p>
Note for noobs: You have to have the cursor under the bullet tomove your text, not the text itself.
</p>
</div>
</li></ol>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="date">Created: 2019-01-23 Wed 14:51</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.5.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>

View File

@ -1,155 +0,0 @@
you just essential keystrokes:
(TAB to open bullets) <-- do this lol
C-x 1 to return buffer to 1 window
C-g to cancel a command
C-h a to search for commands
tiling window: C-x [1..3]
C-k cut C-y paste
* emacs org mode
*** TODO write essential emacs settings file
e.g., saving annoying emacs backups all in one place so they don't clutter directories
** Overview
*** goal
So there are two basic things that are useful about org mode:
1. bullets are collapsible which makes it really easy to organize shit and move it around
collapsible items rule!
2. TODO items have a lot of functionality
so, my goal is actually to take projex_demo.org and make it something that is formatted in org mode, and the *reason* for that is that then we can export it using pandoc with clean html (which we can add a loittle styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here: https://irc.anarchyplanet.org/dox/org.html
*** Bullets
- headings are organized with *
- M-<enter> to add new heading
- M-<left> or M-<right> to promote / demote heading
- TAB to expand/collapse trees
*** TODOs
TODOs are actually probably not that relevant for projex because it's more for internal use ... maybe.
**** DONE demo emacs org mode to data
**** DONE enable line wrap as default
**** TODO re-write projex in org mode style
- projex_demo.org is the test run of this.
- C-c C-t to cycle through todo-done
- You can add more options by adding #+TODO: TODO ONHOLD | DONE to the top of the page (requires restart)
*** links
- link structure: [ [link][desc] ] (but without the spaces)
- [[file:test.org][file]] C-c C-o to open at point
this creates a split buffer. C-x o to switch between split buffers, C-x 1 to return the buffer to a single one.
*** code syntax highlighting and evaluation
emacs provides support for lots of lanauges and you can start an interpreter and run code with C-c C-c (evaluate buffer)
You can also do code blocks and tangle / weave for literate programming.
My friend always used indent region and it was impressingly fast
*** IRC
how can i restart and save session? (keep buffers)
there's M-x revert-buffer or
you can turn auto-revert-mode on so it will reload every time the file changes.
I've never used the second... rarely the first, I always just close :P
so i don't need to save it? it members?
no, you would have to save it. I always just do C-x C-c (closes all buffers) and save them all. I blieve if you try to revert-buffer it will prompt you to save. Do i do this after restarting or before?
C-c s saves all buffers, C-c C-c exits.
M-x package-install circe <enter>
M-x circe <enter>
Can i set a socks proxy?
I am not sure... I don't understand all that v. well.
last year i read an article/list post how outdated emacs' networking is and RMS agreed. i think the thread went viral ..
could be! https://stackoverflow.com/questions/19699294/make-emacs-access-to-https-over-socks-proxy
I was just gonna paste this :P
how do i get into config mode?
do you mean the customize emacs thing?
to set socks-noproxy or socks-server. the config file ..
the config file is at ~/.emacs
you can also change ~/.emacs.d/init.el
Thanks, i changed my mind and prefer to keep my sanity!
re: tor: we should use it for w3m tho, yah?
sure, always. :) does emacs mind if we take aways some sycalls from it?
**** freenode #emacs
you missed this before you came in :P
<notnull> does anyone know if emacs has a fishlim plugin anywhere? I don't see one ...
<technomancy> fish... lim?
<notnull> sry, just fish
<gganley`> limit fish?
<technomancy> fish?
<notnull> :) my mistake, fishlim is a hexchat plugin
<gganley`> fish shell
<gganley`> i bet
<gganley`> notnull: Are you talking about the shell fish?
<notnull> I'm talking about irc encryption
<parsnip> hmm, wonder if there's a cheat way to find non-escaped quotes, in a syntax-propertize-function
<gganley`> oh, never heard of it
<notnull> I'm sry, I was over-estimating how broad this plugin is :)
** random notes
*** useful things overview
So there are two basic things that are useful about org mode:
1. bullets are collapsible which makes it really easy to organize shit and move it around
collapsible items rule!
2. TODO items have a lot of functionality
The goal is to take projex_demo.org (another file in this directory) and format it into org mode. The *reason* is that then we can export it using pandoc with clean html (which we can add a loittle styling etc) .. . once we have a format established, we can loosely require people to add to pads in that format so that chhanges can be git pushed and incorportated into the html. You can see an example of what the raw html looks like here: https://irc.anarchyplanet.org/dox/org.html
(I think it's a good strategy to hit enter like this when we're done typing :) )
*** Switching between emacs 'buffers' (where different documents are open in the same emacs instance)
- to open projex_demo.org: C-x C-f and then start typing proj and then TAB (for autocomplete)
- use C-x <left> and use C-x <right> to switch between buffers.
*** making bullets
So, I guess my first question is about how I make the bullets?
**** like this
***** this is a sub-level
Ok I'll give that a shot
So to "attach" the bullet to the text under it, do I just add asterisks to the text?
like this:
**** Bullet
This is the text under it!
Damn that's east's easy :)
yeah! and, you can do it with all kinds of list items, and it's also especially useful when you have long passages of text that you can just hide by pressing TAB.
Perfect :) So, I might try to just "bullet" this conversation.
So I think what I did there makes sense in terms of how I organized that?
YEAH! One more thing:
to make new bullets you can do ALT-enter (ALT is known as M , so M-<enter>)
**** bullet1
**** bullet 3
**** bullet 2
**** bullet 4
and then, to change the order, you can use M-<up> and M-<down> ... to promote you can use M-<left> and M-<right> (but this gets more complicated when you have sub-trees, so we'll worry about that layter beucause that's what I'm having problems with re; my keybindings)
Note for noobs: You have to have the cursor under the bullet tomove your text, not the text itself.