From 4c2e2eb7cb8a3eba961c2d975de17406d1f4a6d0 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 19 Jun 2019 14:46:35 +0200 Subject: Expand on itches with tex-mode and electric-pair-mode --- personal/itches/emacs/language-support.org | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'personal/itches/emacs/language-support.org') diff --git a/personal/itches/emacs/language-support.org b/personal/itches/emacs/language-support.org index fb847cb..6a4f513 100644 --- a/personal/itches/emacs/language-support.org +++ b/personal/itches/emacs/language-support.org @@ -30,3 +30,14 @@ E.g. ='this $(call) should not be highlighted'=. 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. + + +* TeX +** electric-pair-mode and $inline math$ +e-p-m inserts a closing $ after point, but inserts a new pair instead +of overwriting when pressing $ again. +** AUCTeX +*** electric-pair-mode does not work +**** pressing ="= on active region does not surround it with quotes even with electric-pair-mode +TeX-insert-quote erases the region and inserts =``= instead. +**** pressing =$= inserts a single $ -- cgit v1.2.3