summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <andrew@andrewyu.org>2022-09-25 18:33:17 +0800
committerAndrew <andrew@andrewyu.org>2022-09-25 18:33:17 +0800
commitb4f4cfa8de8d812c4645267d826d8666b546f715 (patch)
tree643567e1c32a373c393bd6f4cad0a93577eac5e0
parent3a664d50d9641c2e5c957d1ac0b77ac32c69e248 (diff)
downloadwww-b4f4cfa8de8d812c4645267d826d8666b546f715.tar.gz
www-b4f4cfa8de8d812c4645267d826d8666b546f715.zip
index.html: Update current notes.
-rw-r--r--index.html3
-rw-r--r--note/emacs.html24
2 files changed, 26 insertions, 1 deletions
diff --git a/index.html b/index.html
index 48a1693..4cd8214 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,7 @@
<h1>Andrew Yu</h1>
<hr />
<p id="now">
- Student Government election on September 29.
+ CHINESE SUMMATIVE ASSESSMENT AHEAD. STUDENT GOVERNMENT ELECTION ALSO AHEAD.
</p>
<hr />
<p id="about-me">I am Andrew Yu, a 14-year-old student in Shanghai, China, currently studying at YK Pao School. I am interested in fundamental computer science, political philosophy, and (more clinically-oriented) biology.
@@ -39,6 +39,7 @@
<li><a href="https://www.andrewyu.org/note/ask.html">Don't ask to ask, just ask</a></li>
<li><a href="https://www.andrewyu.org/note/social-media.html">Modern Social Media</a></li>
<li><a href="https://www.andrewyu.org/note/their.html">The ``Their'' Pronoun</a></li>
+ <li><a href="https://www.andrewyu.org/note/emacs.html">My Problem with Emacs</a></li>
</ul>
<div id="footer">
<hr />
diff --git a/note/emacs.html b/note/emacs.html
new file mode 100644
index 0000000..c7a21fb
--- /dev/null
+++ b/note/emacs.html
@@ -0,0 +1,24 @@
+<!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">
+ <head>
+ <title>A Few Problems with Emacs</title>
+ <link rel="stylesheet" href="/plain.css" />
+ <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="/">Andrew Yu's Website</a></p>
+ </div>
+ </body>
+</html>