about summary refs log tree commit diff stats
path: root/test/js/template.html
blob: 33bbdc345925b339e0b25050e21b7b428ca52c42 (plain) (blame)
1
2
3
4
5
6
7
8
<!doctype html>
<title>Test template</title>
<div id=x>Fail</div>
<script src=asserts.js></script>
<script>
assert(true);
document.getElementById("x").textContent = "Success";
</script>
class="p">> <link rel="stylesheet" href="/style.css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> </head> <body> <h1>A Few Problems with Emacs</h1> <p> <a href="https://emacs.org/">Emacs</a> is supposedly a text editor but is more of a integrated computing environment. At its core is an Emacs Lisp interpreter and a text and buffer-oriented set of conventions that Emacs Lisp code follows. The "default"/"standard" build of Emacs contains a World Wide Web browser, newsreader, electronic mail client, Internet Relay Chat client, a few games, and overall a ton of stuff that I do not use, need or want in my environment. Therefore I use a minimal-ish custom build (i.e. simply leaving stuff out during <code>./configure</code>, which makes me feel a bit better. </p> <p id="space-based-alignment"> One problem that I've recently noticed with Emacs is the tendency to use a set amount of spaces, expecting a monospace font, to align items across a buffer. For example, when <code>:tags</code> are used with <code>org-agenda</code>, the agenda page aligns the tags to the right of the page with spaces precalculated from the window size. But when we have double-width unicode characters, for example Chinese characters in the mix, or if we are using a variable-width Latin font, the alignment is completely screwed up. Resizing the window also doesn't update the wrapping and alignment of items inside. Emacs's text buffer-centric design makes it really hard to do otherwise. </p> <p id="core-written-in-c"> ... </p> <div id="footer"> <hr /> <p><a href="/">Runxi Yu's Website</a></p> <p>Unless otherwise specified with the "<span class="copyright">copyright</span>" HTML/CSS class, works hosted on this subdomain (<code>www.andrewyu.org</code>) served with the HTTP(S) protocol is available under <a href="https://www.andrewyu.org/note/pubdom.html">Runxi Yu's Public Domain Dedication</a>.</p> </div> </body> </html>