LaTeX-auto-activating-snippets icon indicating copy to clipboard operation
LaTeX-auto-activating-snippets copied to clipboard

add option to disable snippets for accents

Open dahtah opened this issue 2 years ago • 2 comments

laas-mode is great but the default behaviour that substitutes things like 'e is very disruptive in my experience, especially when writing in French. It'd be great if there was an option to disable it. In the meanwhile, a workaround is to redefine

(defun laas-latex-accent-cond ()
  nil )

dahtah avatar Jul 26 '22 13:07 dahtah

Whoops. The accents were mostly imported from cdlatex, and I didn't think of languages other than English.

You can set (setq laas-accent-snippets nil) before the package loads to disable them.

Would it be useful to change the accent prefix from ' to something else? I can make that a setting. Currently it's hard to change from user code (you can't just move the keymap subtree from ' to something else since aas makes sure that the (original) snippet key is present before expanding)

ymarco avatar Jul 26 '22 22:07 ymarco

Sure, letting the user modify the prefix key is an even better solution!

dahtah avatar Jul 27 '22 12:07 dahtah