|
|
|
@ -1116,6 +1116,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
;; Move around commands in the Right Way™ |
|
|
|
;; Move around commands in the Right Way™ |
|
|
|
(modify-syntax-entry ?\\ "w" LaTeX-mode-syntax-table) |
|
|
|
(modify-syntax-entry ?\\ "w" LaTeX-mode-syntax-table) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; add fancy quotes to the syntax table |
|
|
|
|
|
|
|
(modify-syntax-entry ?“ "(”" LaTeX-mode-syntax-table) |
|
|
|
|
|
|
|
(modify-syntax-entry ?” ")“" LaTeX-mode-syntax-table) |
|
|
|
|
|
|
|
|
|
|
|
(setq subword-forward-regexp "\\W*\\(\\([\\\\[:upper:]]*\\W?\\)[[:lower:][:digit:]]*\\)") |
|
|
|
(setq subword-forward-regexp "\\W*\\(\\([\\\\[:upper:]]*\\W?\\)[[:lower:][:digit:]]*\\)") |
|
|
|
(setq subword-backward-regexp "\\(\\(\\W\\|[[:lower:][:digit:]]\\)\\([\\\\[:upper:]]+\\W*\\)\\|\\W\\w+\\)"))) |
|
|
|
(setq subword-backward-regexp "\\(\\(\\W\\|[[:lower:][:digit:]]\\)\\([\\\\[:upper:]]+\\W*\\)\\|\\W\\w+\\)"))) |
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
|