summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-02-14 09:53:45 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-02-14 14:58:39 +0100
commit2cb5e50ab4b5e0cc45665c187aac9321df854358 (patch)
treebfe1ab3a39b4768ba6cbdc32505f8f19f9727321
parent2da9b9fa1ce3feeaf5f3425d352f038312abb3e1 (diff)
downloaddotfiles-2cb5e50ab4b5e0cc45665c187aac9321df854358.tar.xz
Use some obscure Greek symbol as with-editor lighter
Found with C-x 8 RET EDIT TAB. From the Unicode Standard[1]: > Ancient Greek scribes generally wrote in continuous uppercase > letters without separating letters into words. On occasion, the > scribe added punctuation to indicate the end of a sentence or a > change of speaker or to separate words. Since With-Editor acts "as the $EDITOR of an external process", I like the "change of speaker" idea. For posterity, a cat-and-mouse game I just completed: - notice the " Server" string in the minor mode list - look for "Server" in M-x describe-mode: nothing - find out about minor-mode-alist: > (server-buffer-clients " Server") > server-buffer-clients is a variable defined in ‘server.el’. - visit ‘server.el’ link - notice that I end up in /usr/local/share/emacs/25.1/lisp/ - assume that I am running Emacs master - assume Emacs is dumb and gives priority to /usr/local/ over ~ - visit ~/Downloads/sources/emacs/lisp/server.el manually - spend hours looking for " Server" - find Changelog entries referencing Bug#20201 - see that this has been removed years ago - check Emacs version - well whadya know this actually is 25.1 - oh yeah this is my package-upgrade instance which runs 25.1 to make sure packages are byte-compiled by the oldest Emacs on my system - 🤦 So on the one hand, I spent the better part of this morning reading trivia on incredibly obscure Greek symbols, and debugging Emacs mode-line shenanigans. On the other hand, now I know that Astérix and Obélix are named after Aristarchian symbols. [1]: http://unicode.org/versions/Unicode10.0.0/UnicodeStandard-10.0.pdf § 6.2 General Punctuation - Archaic Punctuation and Editorial Marks p282 Ancient Greek Editorial Marks See also: http://unicode.org/L2/L2003/03324-tlg-editorialbrief.pdf https://en.wikipedia.org/wiki/Obelism https://en.wikipedia.org/wiki/Aristarchian_symbols
-rw-r--r--.emacs1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index 45f15db..16d7df6 100644
--- a/.emacs
+++ b/.emacs
@@ -100,6 +100,7 @@
(delight 'page-break-lines-mode nil "page-break-lines")
(delight 'scroll-lock-mode "📜" "scroll-lock")
(delight 'visual-line-mode "⤸" t)
+(delight 'with-editor-mode "⸎" "with-editor")
;; TODO: narrowing
(defun my/magit-mode-hook ()