On Wednesday, 29 Oct 2014 at 13:24, Rasmus wrote: [...]
> Just out of curiosity, do you actually type \(·\) or have you somehow > remapped $·$ to insert \(·\)? I have been using the following for quite some time: #+begin_src emacs-lisp ;; from Nicolas Richard <theonewiththeevill...@yahoo.fr> ;; Date: Fri, 8 Mar 2013 16:23:02 +0100 ;; Message-ID: <87vc913oh5....@yahoo.fr> (defun yf/org-electric-dollar nil "When called once, insert \\(\\) and leave point in between. When called twice, replace the previously inserted \\(\\) by one $." (interactive) (if (and (looking-at "\\\\)") (looking-back "\\\\(")) (progn (delete-char 2) (delete-char -2) (insert "$")) (insert "\\(\\)") (backward-char 2))) (define-key org-mode-map (kbd "$") 'yf/org-electric-dollar) #+end_src -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf