emacs.d/clones/lisp/www.emacswiki.org/emacs/HowTo.html

139 lines
10 KiB
HTML
Raw Normal View History

2022-10-07 15:47:14 +02:00
<!DOCTYPE html>
<html><head><title>EmacsWiki: How To</title><link rel="alternate" type="application/wiki" title="Edit this page" href="https://www.emacswiki.org/emacs?action=edit;id=HowTo" /><link type="text/css" rel="stylesheet" href="https://www.emacswiki.org/light.css" /><meta name="robots" content="INDEX,FOLLOW" /><link rel="alternate" type="application/rss+xml" title="EmacsWiki" href="https://www.emacswiki.org/emacs?action=rss" /><link rel="alternate" type="application/rss+xml" title="EmacsWiki: HowTo" href="https://www.emacswiki.org/emacs?action=rss;rcidonly=HowTo" />
<link rel="alternate" type="application/rss+xml"
title="Emacs Wiki with page content"
href="https://www.emacswiki.org/full.rss" />
<link rel="alternate" type="application/rss+xml"
title="Emacs Wiki with page content and diff"
href="https://www.emacswiki.org/full-diff.rss" />
<link rel="alternate" type="application/rss+xml"
title="Emacs Wiki including minor differences"
href="https://www.emacswiki.org/minor-edits.rss" />
<link rel="alternate" type="application/rss+xml"
title="Changes for HowTo only"
href="https://www.emacswiki.org/emacs?action=rss;rcidonly=HowTo" /><meta content="width=device-width" name="viewport" />
<script type="text/javascript" src="/outliner-toc.js"></script>
<script type="text/javascript">
function addOnloadEvent(fnc) {
if ( typeof window.addEventListener != "undefined" )
window.addEventListener( "load", fnc, false );
else if ( typeof window.attachEvent != "undefined" ) {
window.attachEvent( "onload", fnc );
}
else {
if ( window.onload != null ) {
var oldOnload = window.onload;
window.onload = function ( e ) {
oldOnload( e );
window[fnc]();
};
}
else
window.onload = fnc;
}
}
// https://stackoverflow.com/questions/280634/endswith-in-javascript
if (typeof String.prototype.endsWith !== 'function') {
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
};
}
var initToc=function() {
var outline = HTML5Outline(document.body);
if (outline.sections.length == 1) {
outline.sections = outline.sections[0].sections;
}
if (outline.sections.length > 1
|| outline.sections.length == 1
&& outline.sections[0].sections.length > 0) {
var toc = document.getElementById('toc');
if (!toc) {
var divs = document.getElementsByTagName('div');
for (var i = 0; i < divs.length; i++) {
if (divs[i].getAttribute('class') == 'toc') {
toc = divs[i];
break;
}
}
}
if (!toc) {
var h2 = document.getElementsByTagName('h2')[0];
if (h2) {
toc = document.createElement('div');
toc.setAttribute('class', 'toc');
h2.parentNode.insertBefore(toc, h2);
}
}
if (toc) {
var html = outline.asHTML(true);
toc.innerHTML = html;
items = toc.getElementsByTagName('a');
for (var i = 0; i < items.length; i++) {
while (items[i].textContent.endsWith('✎')) {
var text = items[i].childNodes[0].nodeValue;
items[i].childNodes[0].nodeValue = text.substring(0, text.length - 1);
}
}
}
}
}
addOnloadEvent(initToc);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body class="default" lang="en"><header><a class="logo" href="https://www.emacswiki.org/emacs/SiteMap"><img alt="[Home]" class="logo" src="https://www.emacswiki.org/images/logo218x38.png" /></a><nav><span class="gotobar bar"><a class="local" href="https://www.emacswiki.org/emacs/SiteMap">SiteMap</a> <a class="local" href="https://www.emacswiki.org/emacs/Search">Search</a> <a class="local" href="https://www.emacswiki.org/emacs/ElispArea">ElispArea</a> <a class="local" href="https://www.emacswiki.org/emacs/HowTo">HowTo</a> <a class="local" href="https://www.emacswiki.org/emacs/Glossary">Glossary</a> <a class="local" href="https://www.emacswiki.org/emacs/RecentChanges">RecentChanges</a> <a class="local" href="https://www.emacswiki.org/emacs/News">News</a> <a class="local" href="https://www.emacswiki.org/emacs/Problems">Problems</a> <a class="local" href="https://www.emacswiki.org/emacs/Suggestions">Suggestions</a> <a href="https://www.emacswiki.org/emacs?action=random" rel="nofollow">Random</a></span><form method="get" action="https://www.emacswiki.org/emacs" enctype="multipart/form-data" accept-charset="utf-8" class="search"><p><label for="search">Search:</label> <input type="text" name="search" size="15" accesskey="f" id="search" /> <label for="searchlang">Language:</label> <input type="text" name="lang" size="5" id="searchlang" /> <input type="submit" name="dosearch" value="Go!" /></p></form></nav><h1><a href="https://www.emacswiki.org/emacs?search=%22HowTo%22" rel="nofollow" title="Click to search for references to this page"><span style="padding-right: 0.5ex;">How</span><span style="padding-right: 0.5ex;">To</span></a></h1></header><div class="wrapper"><div class="content browse" lang="en"><ul><li><a class="local" href="https://www.emacswiki.org/emacs/HowToNavigate">Navigate</a> and <a class="local" href="https://www.emacswiki.org/emacs/HowToSearch">search</a> the wiki.</li><li><a class="local" href="https://www.emacswiki.org/emacs/HowToEdit">Edit</a> the wiki (including how to upload <a class="local" href="https://www.emacswiki.org/emacs/EmacsLisp">EmacsLisp</a> libraries).</li><li>Have a <a class="local anchor" href="https://www.emacswiki.org/emacs/TextFormattingRules#Dialog">conversation</a> - start your text with [new::] on a line and your name and the time will be filled out.</li><li>Use different natural <a class="local" href="https://www.emacswiki.org/emacs/HowLanguagesWork">languages</a> on the wiki.</li><li>Change the <a class="local" href="https://www.emacswiki.org/emacs/CSS">look and feel</a> of the wiki with different CSS stylesheets (e.g. <a class="inter EmacsWiki outside" href="/emacs?action=browse;bootstrap=0;id=HowTo;theme=;css=">Classic</a>, <a class="inter EmacsWiki outside" href="/emacs?action=browse;bootstrap=0;id=HowTo;css=/css/pedia.css">Wikipedia</a>, <a class="inter EmacsWiki outside" href="/emacs?action=browse;bootstrap=0;id=HowTo;css=/css/ruby.css">Ruby</a>, <a class="inter EmacsWiki outside" href="/emacs?action=browse;bootstrap=1;id=HowTo">default</a>, <a class="local" href="https://www.emacswiki.org/emacs/CSS">more...</a>).</li><li><a class="local" href="https://www.emacswiki.org/emacs/WikiDownload">Download</a> all or some of the wiki page database.</li><li>Help with wiki <a class="local" href="https://www.emacswiki.org/emacs/WikiMaintenance">maintenance</a> tasks.</li></ul><p><a class="local" href="https://www.emacswiki.org/emacs/EmacsWiki">EmacsWiki</a> is a collaborative Web site. See <a class="local" href="https://www.emacswiki.org/emacs/WikiIntro">WikiIntro</a>.</p><p>Still need help? Visit <a class="local" href="https://www.emacswiki.org/emacs/WikiQuestions">WikiQuestions</a>, or report a problem at <a class="local" href="https://www.emacswiki.org/emacs/EmacsWikiProblems">EmacsWikiProblems</a>.</p><hr /><p><a class="local" href="https://www.emacswiki.org/emacs/CategoryEmacsWikiSite">CategoryEmacsWikiSite</a></p></div><div class="wrapper close"></div></div><footer><hr /><span class="translation bar"><br /> <
<!-- Creative Commons License -->
<a class="licence" href="https://creativecommons.org/licenses/GPL/2.0/"><img alt="CC-GNU GPL" style="border:none" src="/pics/cc-GPL-a.png" /></a>
<!-- /Creative Commons License -->
</div>
<!--
<rdf:RDF xmlns="http://web.resource.org/cc/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<Work rdf:about="">
<license rdf:resource="https://creativecommons.org/licenses/GPL/2.0/" />
<dc:type rdf:resource="http://purl.org/dc/dcmitype/Software" />
</Work>
<License rdf:about="https://creativecommons.org/licenses/GPL/2.0/">
<permits rdf:resource="http://web.resource.org/cc/Reproduction" />
<permits rdf:resource="http://web.resource.org/cc/Distribution" />
<requires rdf:resource="http://web.resource.org/cc/Notice" />
<permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
<requires rdf:resource="http://web.resource.org/cc/SourceCode" />
</License>
</rdf:RDF>
-->
<p class="legal">
This work is licensed to you under version 2 of the
<a href="https://www.gnu.org/">GNU</a> <a href="/GPL">General Public License</a>.
Alternatively, you may choose to receive this work under any other
license that grants the right to use, copy, modify, and/or distribute
the work, as long as that license imposes the restriction that
derivative works have to grant the same rights and impose the same
restriction. For example, you may choose to receive this work under
the
<a href="https://www.gnu.org/">GNU</a>
<a href="/FDL">Free Documentation License</a>, the
<a href="https://creativecommons.org/">CreativeCommons</a>
<a href="https://creativecommons.org/licenses/sa/1.0/">ShareAlike</a>
License, the XEmacs manual license, or
<a href="/OLD">similar licenses</a>.
</p>
<p class="legal" style="padding-top: 0.5em">Please note our <a href="/emacs/Privacy">Privacy Statement</a>.</p>
</footer>
</body>
</html>