Last time I talked about how to use AutoHotKey to make sure whenever (especially when using French (Canadian) keyboard layout) I hit Control+the key in the lower right corner which has the label
/, Emacs would see
C-/. Well, on second thought, I probably should just bind
undo. Thus I happily added a line to
bind-keys which is an Emacs package (add-on?) I use. I got this in my init file
(require 'bind-key) (bind-keys ("C-é" . undo))
with irrelevant bindings removed. Then Emacs complained about this.
error: C- must prefix a single character, not Ã©
It had not set up the coding system before reading the init file. Then I read some vague documentation like Non-ASCII Characters in Init Files. A what tag??? My mind couldn't wrap around the concept of tag. I should put
-*-coding: coding-system-*- on the first line of my init file??? I was totally thinking about what to put in the
*'s, as codings are labelled by string like
iso-latin-1-unix for example. lol. That article could do with an example. After more googling, I was finally on the right track. Anyway
-*- is a delimiter.
coding is the tag to which I need to assign a value. Thus I put
on the first line of my init file with the qualm that elisp might not be happy with it. (╯°□°)╯︵ ┻━┻ Right. Elisp was not happy.
Symbol's value as variable is void: -*-coding:
More googling revealed that this should be commented out like this.
;; -*-coding: utf-8-*-
Well done, comments are not ignored by the elisp interpreters. OMG, think of all those years interpreters spied on my comments which contained my dark schemes and my romantic musings. Not only did they laugh at my incompetence at programming, but also at my incompetence at world dominance or relationships. ( ͡° ͜ʖ ͡°)