add option to disable snippets for accents #36

Open
opened 2022-07-26 13:07:22 +00:00 by dahtah · 2 comments
dahtah commented 2022-07-26 13:07:22 +00:00 (Migrated from github.com)

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 )
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 ) ```
ymarco commented 2022-07-26 22:41:42 +00:00 (Migrated from github.com)

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)

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)
dahtah commented 2022-07-27 12:39:09 +00:00 (Migrated from github.com)

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

Sure, letting the user modify the prefix key is an even better solution!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tec/LaTeX-auto-activating-snippets#36
No description provided.