dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 2cb5e50ab4b5e0cc45665c187aac9321df854358
parent 2da9b9fa1ce3feeaf5f3425d352f038312abb3e1
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Wed, 14 Feb 2018 09:53:45 +0100

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

Diffstat:
M.emacs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 ()