summaryrefslogtreecommitdiff
path: root/personal/itches/emacs/language-support.org
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-06-19 11:45:52 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-06-19 11:50:27 +0200
commit4262383ef4e4221545cafc81c59c7f71c79c12f1 (patch)
tree911fbb8adf9d48a2f99eb0af10c09b73d3d2afc0 /personal/itches/emacs/language-support.org
parentd9864752543e0c173ef431c4a6f63f1f4a8ba1b4 (diff)
downloadmemory-leaks-4262383ef4e4221545cafc81c59c7f71c79c12f1.tar.xz
Port some itches to Org files
Also add examples and roadmap for some of them.
Diffstat (limited to 'personal/itches/emacs/language-support.org')
-rw-r--r--personal/itches/emacs/language-support.org32
1 files changed, 32 insertions, 0 deletions
diff --git a/personal/itches/emacs/language-support.org b/personal/itches/emacs/language-support.org
new file mode 100644
index 0000000..fb847cb
--- /dev/null
+++ b/personal/itches/emacs/language-support.org
@@ -0,0 +1,32 @@
+* Python
+** Fix builtin/keyword fontification for Python 3
+E.g. =print= became a builtin.
+*** TODO add fontification tests
+*** TODO have dedicated font-lock styles for Python 2, 3 and "mixed"
+Default to "mixed" (rely on tests to ensure user-visible change).
+**** TODO create font-lock styles
+**** TODO create variable to choose style
+Users could customize it or set it wiht directory-local variables.
+*** TODO add heuristic to pick the "right" style
+** Fontify f-strings
+E.g. =f'an {expression} that should be highlighted'=.
+
+
+* Shell scripts
+** Fix builtin/keyword fontification
+- =continue= and =break= are /builtins/.
+** Fontify variables within strings
+E.g. ="an ${expression} that should be highlighted"=.
+** Do not highlight single-quoted command substitutions
+E.g. ='this $(call) should not be highlighted'=.
+
+
+* Makefile
+** Recognize [[http://austingroupbugs.net/view.php?id=330][POSIX "immediate-expansion"]] operator ~::=~
+
+
+* Assembly
+** =C-o= inserts a tab despite =indent-tabs-mode= being nil
+This seems to come from the mode setting =fill-prefix=. The mode also
+does not adhere to the "~RET~ = smart newline, ~C-j~ = dumb linefeed"
+convention for no good reason AFAICT.